Searched refs:if_index (Results 1 - 25 of 105) sorted by relevance

12345

/macosx-10.10/bootp-298/bootplib/
H A Darp.h54 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 Darp.c446 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 DIPv6Socket.h52 int if_index,
H A Drtutil.h48 flush_routes(int if_index, const struct in_addr ip,
H A Difutil.h94 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 Dbootp_session.c377 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 Difutil.c689 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 DIPv6Socket.c247 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 Drtutil.c220 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 Dif_nameindex.c46 * 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 Dscope6.c106 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 Dnd6.h242 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 Dnd6.c443 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 Din6_src.c689 ((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 Dprobe.c153 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 DSCNetworkReachability.c352 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 DSCNetworkReachabilityInternal.h79 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 Dif_mib.c99 &if_index, 0, "Number of configured interfaces");
219 if (name[0] <= 0 || name[0] > if_index ||
H A Dmulticast_list.c114 target_sdl.sdl_index = target_ifp->if_index;
H A Drtsock.c549 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 Ddnsinfo.h73 DNS_VAR(uint32_t, if_index);
H A Ddnsinfo_internal.h82 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 Ddnsinfo_create.c375 _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 Ddnsinfo_create.h98 uint32_t if_index) __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_4_0);
H A Ddnsinfo_flatfile.c389 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);

Completed in 290 milliseconds

12345