Searched refs:ifap (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.10.1/configd-699.1.5/Plugins/KernelEventMonitor/
H A Dev_ipv6.h39 void interface_update_ipv6 (struct ifaddrs *ifap, const char *if_name);
H A Dev_ipv4.h40 void ipv4_interface_update(struct ifaddrs *ifap, const char *if_name);
H A Dev_ipv4.c132 ipv4_interface_update(struct ifaddrs *ifap, const char *if_name) argument
152 if (!ifap) {
157 ifap = ifap_temp;
160 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
H A Deventmon.c641 struct ifaddrs *ifap = NULL; local
655 if (getifaddrs(&ifap) == -1) {
664 for (scan = ifap; scan != NULL; scan = scan->ifa_next) {
677 ipv4_interface_update(ifap, NULL);
683 interface_update_ipv6(ifap, NULL);
685 freeifaddrs(ifap);
H A Dev_ipv6.c248 interface_update_ipv6(struct ifaddrs *ifap, const char *if_name) argument
269 if (!ifap) {
274 ifap = ifap_temp;
277 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/racoon/
H A Dgrabmyaddr.c156 struct ifaddrs *ifa0, *ifap; local
171 for (ifap = ifa0; ifap; ifap = ifap->ifa_next) {
173 if (ifap->ifa_addr->sa_family != AF_INET
175 && ifap->ifa_addr->sa_family != AF_INET6
180 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) {
183 ifap
[all...]
/macosx-10.10.1/libpcap-48/libpcap/
H A Dfad-getad.c155 struct ifaddrs *ifap, *ifa; local
175 if (getifaddrs(&ifap) != 0) {
180 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) {
278 freeifaddrs(ifap);
/macosx-10.10.1/ppp-786.1.1/Helpers/vpnd/
H A Dsys_MacOSX.c211 struct ifaddrs *ifap = NULL; local
215 if (getifaddrs(&ifap) == 0) {
217 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
227 for (ifa1 = ifap; ifa1; ifa1 = ifa1->ifa_next) {
246 freeifaddrs(ifap);
259 struct ifaddrs *ifap = NULL; local
262 if (getifaddrs(&ifap) == 0) {
264 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
278 freeifaddrs(ifap);
/macosx-10.10.1/bootp-298/bootplib/
H A Dinterfaces.c106 count_ifaddrs(const struct ifaddrs * ifap) argument
110 for (count = 0; ifap != NULL && ifap->ifa_addr != NULL;
111 ifap = ifap->ifa_next) {
121 struct ifaddrs * ifap = NULL; local
148 for (ifap = addrs; ifap != NULL; ifap = ifap
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dgetifaddrs.c502 rk_getifaddrs(struct ifaddrs **ifap) argument
521 if (ifap)
522 *ifap = NULL;
564 if (ifap != NULL)
565 *ifap = (ifdata != NULL) ? ifa : NULL;
840 if (ifap != NULL)
841 *ifap = NULL;
870 getifaddrs2(struct ifaddrs **ifap, argument
998 *ifap = start;
1012 getlifaddrs2(struct ifaddrs **ifap, argument
1179 rk_getifaddrs(struct ifaddrs **ifap) argument
[all...]
/macosx-10.10.1/network_cmds-457/rtsol.tproj/
H A Dif.c363 struct ifaddrs *ifap, *ifa; local
373 if (getifaddrs(&ifap) != 0) {
379 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
398 freeifaddrs(ifap);
403 freeifaddrs(ifap);
H A Drtsold.c743 struct ifaddrs *ifap, *ifa, *target;
745 if (getifaddrs(&ifap) != 0)
750 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
786 freeifaddrs(ifap);
/macosx-10.10.1/network_cmds-457/netstat.tproj/
H A Dmcast.c295 struct ifaddrs *ifap, *ifa; local
309 ifap = NULL;
314 if (getifaddrs(&ifap) != 0) {
361 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
535 if (ifap != NULL)
536 freeifaddrs(ifap);
/macosx-10.10.1/network_cmds-457/rtadvd.tproj/
H A Dif.c141 struct ifaddrs *ifap, *ifa; local
145 if (getifaddrs(&ifap) < 0)
147 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
155 freeifaddrs(ifap);
H A Dconfig.c780 struct ifaddrs *ifap, *ifa; local
786 if (getifaddrs(&ifap) < 0) {
793 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
862 freeifaddrs(ifap);
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dinet_addr_local.c164 struct ifaddrs *ifap, *ifa; local
167 if (getifaddrs(&ifap) < 0)
183 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
228 freeifaddrs(ifap);
/macosx-10.10.1/network_cmds-457/ifconfig.tproj/
H A Daf_inet6.c190 struct ifaddrs *ifap, *ifa; local
200 if (getifaddrs(&ifap) != 0)
202 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
217 freeifaddrs(ifap);
H A Difconfig.c186 struct ifaddrs *ifap, *ifa; local
321 if (getifaddrs(&ifap) != 0)
325 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
371 freeifaddrs(ifap);
/macosx-10.10.1/ppp-786.1.1/Controller/
H A Dnat_port_mapping.c163 struct ifaddrs *ifap = NULL; local
167 if (getifaddrs(&ifap) == 0) {
169 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
192 freeifaddrs(ifap);
/macosx-10.10.1/Libinfo-459/lookup.subproj/
H A Dsi_getaddrinfo.c78 struct ifaddrs *ifa, *ifap; local
109 for (ifap = ifa; ifap != NULL; ifap = ifap->ifa_next)
111 if (ifap->ifa_addr == NULL) continue;
112 if ((ifap->ifa_flags & IFF_UP) == 0) continue;
114 if (ifap->ifa_addr->sa_family == AF_INET)
118 else if (ifap->ifa_addr->sa_family == AF_INET6)
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DBridgeConfiguration.c395 struct ifaddrs *ifap; local
400 if (getifaddrs(&ifap) == -1) {
414 for (ifp = ifap; ifp != NULL; ifp = ifp->ifa_next) {
494 freeifaddrs(ifap);
H A DVLANConfiguration.c346 struct ifaddrs *ifap; local
351 if (getifaddrs(&ifap) == -1) {
365 for (ifp = ifap; ifp != NULL; ifp = ifp->ifa_next) {
429 freeifaddrs(ifap);
/macosx-10.10.1/network_cmds-457/route.tproj/
H A Droute.c895 struct ifaddrs *ifap, *ifa; local
898 if (getifaddrs(&ifap))
901 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
920 freeifaddrs(ifap);
/macosx-10.10.1/ppp-786.1.1/Drivers/PPTP/PPTP-plugin/
H A Dmain.c364 struct ifaddrs *ifap = NULL; local
403 if (getifaddrs(&ifap) == 0) {
405 for (ifa = ifap; ifa && !found ; ifa = ifa->ifa_next) {
412 freeifaddrs(ifap);
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dnd6_rtr.c2995 struct ifaddr **ifap = NULL; local
3213 err = ifnet_get_address_list_family_internal(NULL, &ifap, AF_INET6, 0,
3215 if (err != 0 || ifap == NULL) {
3220 for (i = 0; ifap[i]; i++) {
3221 ifa = ifatoia6(ifap[i]);
3224 (ifap[i]->ifa_debug & IFD_ATTACHED) == 0) {
3254 for (i = 0; ifap[i]; i++) {
3255 ifa = ifatoia6(ifap[i]);
3258 (ifap[i]->ifa_debug & IFD_ATTACHED) == 0) {
3290 for (i = 0; ifap[
[all...]

Completed in 310 milliseconds

12