/macosx-10.10/bootp-298/bootplib/ |
H A D | arp.h | 54 int if_index); 55 int arp_delete(int s, struct in_addr iaddr, int if_index); 56 int arp_flush(int s, int all, int if_index);
|
H A D | arp.c | 446 route_get(int s, route_msg * msg_p, struct in_addr iaddr, int if_index) argument 456 if (if_index != 0) { 457 rtm->rtm_index = if_index; 501 arp_get(int s, route_msg * msg_p, struct in_addr iaddr, int if_index) argument 508 ret = route_get(s, msg_p, iaddr, if_index); 543 arp_delete(int s, struct in_addr iaddr, int if_index) argument 549 ret = arp_get(s, &msg, iaddr, if_index); 567 arp_flush(int s, int all, int if_index) argument 605 && (if_index != 0 && if_index ! [all...] |
/macosx-10.10/bootp-298/IPConfiguration.bproj/ |
H A D | IPv6Socket.h | 52 int if_index,
|
H A D | rtutil.h | 48 flush_routes(int if_index, const struct in_addr ip,
|
H A D | ifutil.h | 94 inet6_get_prefix_length(const struct in6_addr * addr, int if_index); 130 inet6_addrlist_copy(inet6_addrlist_t * addr_list_p, int if_index);
|
H A D | bootp_session.c | 377 int if_index = 0; local 395 if_index = if_link_index(client->if_p); 396 if (if_index != 0) { 397 bootp_client_bind_socket_to_if(client, if_index); 405 if (if_index != 0) { 411 IP_LIST(&dest_ip), if_index, str); 430 if (if_index != 0) {
|
H A D | ifutil.c | 689 inet6_get_prefix_length(const struct in6_addr * addr, int if_index) argument 721 if (if_index != 0 && if_index != scan->if_index) { 855 get_if_info(int if_index, int af, int * ret_len_p) argument 866 mib[5] = if_index; 888 inet6_addrlist_copy(inet6_addrlist_t * addr_list_p, int if_index) argument 904 buf = get_if_info(if_index, AF_INET6, &buf_len); 1201 int if_index; local 1207 if_index [all...] |
H A D | IPv6Socket.c | 247 int if_index, 257 return (IPv6SocketSend(sockfd, if_index, &sin6_allnodes, 246 ICMPv6SocketSendNeighborAdvertisement(int sockfd, int if_index, const void * link_addr, int link_addr_length, const struct in6_addr * target_ipaddr) argument
|
H A D | rtutil.c | 220 flush_routes(int if_index, const struct in_addr ip, argument 242 (void)arp_flush(s, FALSE, if_index);
|
/macosx-10.10/Libinfo-459/gen.subproj/ |
H A D | if_nameindex.c | 46 * unsigned int if_index; 56 * an if_index of 0 and an if_name of NULL. The function returns a NULL 122 ifni2->if_index = 133 ifni2->if_index = 0;
|
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/ |
H A D | scope6.c | 106 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; 107 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; 229 if (if_index < zoneid) 287 if (if_index < zoneid) 328 ifp->if_index; 330 ifp->if_index;
|
H A D | nd6.h | 242 u_short if_index; member in struct:in6_drlist::__anon14780 254 u_short if_index; member in struct:in6_drlist_32::__anon14781 265 u_short if_index __attribute__((aligned(8))); member in struct:in6_drlist_64::__anon14782 284 u_short if_index; member in struct:in6_defrouter 294 u_short if_index; member in struct:in6_defrouter_32 303 u_short if_index __attribute__((aligned(8))); member in struct:in6_defrouter_64 317 u_short if_index; member in struct:in6_prlist::__anon14783 334 u_short if_index; member in struct:in6_prlist_32::__anon14784 350 u_short if_index; member in struct:in6_prlist_64::__anon14785 368 u_short if_index; member in struct:in6_prefix 384 u_short if_index; member in struct:in6_prefix_32 399 u_short if_index; member in struct:in6_prefix_64 709 u_int32_t if_index; member in struct:nd6_ra_prefix [all...] |
H A D | nd6.c | 443 VERIFY(ifp != NULL && ifp->if_index < nd_ifinfo_indexlim); 444 ndi = &nd_ifinfo[ifp->if_index]; 462 * We have some arrays that should be indexed by if_index. 463 * since if_index will grow dynamically, they should grow too. 467 if (nd_ifinfo == NULL || if_index >= newlim) { 473 if (nd_ifinfo == NULL || if_index >= newlim) { 477 while (if_index >= newlim) 502 ndi = &nd_ifinfo[ifp->if_index]; 539 if (ifp->if_index >= nd_ifinfo_indexlim || 540 !nd_ifinfo[ifp->if_index] [all...] |
H A D | in6_src.c | 689 ((ifscope <= if_index) ? ifindex2ifnet[ifscope] : NULL); 769 scope = rt_ifp->if_index; 838 ifscope = ifa->ifa_ifp->if_index; 1049 if (!(ifp->if_flags & IFF_LOOPBACK) && ifp->if_index != 1240 if (ifp && ifp->if_index < nd_ifinfo_indexlim) { 1242 struct nd_ifinfo *ndi = &nd_ifinfo[ifp->if_index]; 1869 in6->s6_addr16[1] = htons(ifp->if_index); 1873 * against if_index (ifnet_head_lock not needed since 1874 * if_index is an ever-increasing integer.) 1876 if (if_index < scopei [all...] |
/macosx-10.10/network_cmds-457/rtsol.tproj/ |
H A D | probe.c | 153 for(i = 0; dr.defrouter[i].if_index && i < PRLSTSIZ; i++) { 154 if (ifindex && dr.defrouter[i].if_index == ifindex) { 166 dr.defrouter[i].if_index);
|
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | SCNetworkReachability.c | 352 if (r1->if_index != r2->if_index) { 380 // requested if_index and if_name. 381 dst->if_index = requested_if_index; 807 unsigned int if_index, 837 if (if_index != 0) { 839 info->rtm->rtm_index = if_index; 999 unsigned int if_index, 1007 if ((if_index != 0) && 1008 (if_indextoname(if_index, 806 route_get(const struct sockaddr *address, unsigned int if_index, route_info *info) argument 997 log_address(const char *str, const struct sockaddr *sa, unsigned int if_index, const char *log_prefix) argument 1025 checkAddress_route(const struct sockaddr *address, unsigned int if_index, char *if_name, struct ifreq *ifr, ReachabilityInfo *reach_info, route_info *info, int *sc_status, const char *log_prefix) argument 1196 checkAddress(ReachabilityStoreInfoRef store_info, const struct sockaddr *address, unsigned int if_index, ReachabilityInfo *reach_info, const char *log_prefix) argument 2454 check_matching_resolvers(ReachabilityStoreInfoRef store_info, dns_config_t *dns_config, const char *fqdn, unsigned int if_index, SCNetworkReachabilityFlags *flags, Boolean *haveDNS, uint32_t *resolver_if_index, int *dns_config_index, const char *log_prefix) argument 2538 get_default_resolver(dns_config_t *dns_config, unsigned int if_index) argument 2713 _SC_R_updateResolverReachability(ReachabilityStoreInfoRef store_info, SCNetworkReachabilityFlags *flags, Boolean *haveDNS, const char *nodename, unsigned int if_index, uint32_t *resolver_if_index, int *dns_config_index, const char *log_prefix ) argument 4903 int if_index = -1; local [all...] |
H A D | SCNetworkReachabilityInternal.h | 79 unsigned int if_index; member in struct:__anon7176 107 unsigned int if_index; member in struct:__anon7177 244 #define REACH_TARGET_IF_INDEX "if_index" // int64 276 #define REACH_STATUS_IF_INDEX "if_index" // uint64
|
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | if_mib.c | 99 &if_index, 0, "Number of configured interfaces"); 219 if (name[0] <= 0 || name[0] > if_index ||
|
H A D | multicast_list.c | 114 target_sdl.sdl_index = target_ifp->if_index;
|
H A D | rtsock.c | 549 rtm->rtm_index = ifp->if_index; 555 rtm->rtm_index = ifp->if_index; 889 rt->rt_ifp->if_index); 1227 ifm->ifm_index = ifp->if_index; 1291 ifam->ifam_index = ifp->if_index; 1310 rtm->rtm_index = ifp->if_index; 1357 ifmam->ifmam_index = ifp->if_index; 1471 rtm->rtm_index = rt->rt_ifp->if_index; 1487 rtm->rtm_index = rt->rt_ifp->if_index; 1536 ertm->rtm_index = rt->rt_ifp->if_index; [all...] |
/macosx-10.10/configd-699.1.5/dnsinfo/ |
H A D | dnsinfo.h | 73 DNS_VAR(uint32_t, if_index);
|
H A D | dnsinfo_internal.h | 82 if (resolver->if_index != 0) { 86 if_name = if_indextoname(resolver->if_index, buf); 87 SCPrint(TRUE, stdout, CFSTR(" if_index : %d (%s)\n"), 88 resolver->if_index,
|
H A D | dnsinfo_create.c | 375 _dns_resolver_set_if_index(dns_create_resolver_t *_resolver, uint32_t if_index) argument 379 resolver->resolver.if_index = htonl(if_index); 451 if (resolver->resolver.if_index != 0) { 454 if (if_indextoname(ntohl(resolver->resolver.if_index), if_name) != NULL) {
|
H A D | dnsinfo_create.h | 98 uint32_t if_index) __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_4_0);
|
H A D | dnsinfo_flatfile.c | 389 unsigned int if_index; local 391 if_index = if_nametoindex(word); 392 if (if_index > 0) { 393 _dns_resolver_set_if_index(&res, if_index);
|