Return to ip_input.c CVS log | Up to [cvs.NetBSD.org] / src / sys / netinet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.335, 2016/07/06 08:42:34 | version 1.336, 2016/07/07 09:32:02 | ||
---|---|---|---|
|
|
||
struct in_ifaddr *ia = NULL; | struct in_ifaddr *ia = NULL; | ||
struct ifaddr *ifa; | struct ifaddr *ifa; | ||
IFADDR_FOREACH(ifa, ifp) { | IFADDR_READER_FOREACH(ifa, ifp) { | ||
if (ifa->ifa_addr->sa_family != AF_INET) | if (ifa->ifa_addr->sa_family != AF_INET) | ||
continue; | continue; | ||
ia = ifatoia(ifa); | ia = ifatoia(ifa); |