Searched refs:prefsrc (Results 1 – 2 of 2) sorted by relevance
400 struct in_addr prefsrc; in if_copyrt() local417 prefsrc.s_addr = INADDR_ANY; in if_copyrt()431 memcpy(&prefsrc.s_addr, RTA_DATA(rta), in if_copyrt()432 sizeof(prefsrc.s_addr)); in if_copyrt()446 if (rt->iface == NULL && prefsrc.s_addr != INADDR_ANY) { in if_copyrt()452 if ((ap = ipv4_findaddr(ctx, &prefsrc))) in if_copyrt()
146 inet_prefix prefsrc; in filter_nlmsg() local234 memset(&prefsrc, 0, sizeof(prefsrc)); in filter_nlmsg()235 prefsrc.family = r->rtm_family; in filter_nlmsg()237 memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8); in filter_nlmsg()254 if (filter.rprefsrc.family && inet_addr_match(&prefsrc, &filter.rprefsrc, filter.rprefsrc.bitlen)) in filter_nlmsg()