Searched refs:ifindex (Results 1 - 25 of 70) sorted by relevance

123

/macosx-10.10.1/ruby-106/ruby/test/socket/
H A Dtest_ancdata.rb13 ifindex = 0
16 ancdata = Socket::AncillaryData.ip_pktinfo(addr, ifindex, spec_dst)
24 assert_equal(ifindex, ancdata.ip_pktinfo[1])
32 ancdata2 = Socket::AncillaryData.ip_pktinfo(addr, ifindex)
38 ifindex = 0
40 ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex)
48 assert_equal(ifindex, ancdata.ipv6_pktinfo[1])
50 assert_equal(ifindex, ancdata.ipv6_pktinfo_ifindex)
/macosx-10.10.1/bootp-298/IPConfiguration.bproj/
H A DIPv6Socket.h44 IPv6SocketSend(int sockfd, int ifindex, const struct sockaddr_in6 * dest,
/macosx-10.10.1/Libinfo-459/gen.subproj/
H A Dif_indextoname.c45 * char *if_indextoname(unsigned int ifindex, char *ifname);
59 if_indextoname(unsigned int ifindex, char *ifname) argument
70 ifindex == ((struct sockaddr_dl*)ifa->ifa_addr)->sdl_index)
/macosx-10.10.1/network_cmds-457/rtsol.tproj/
H A Dprobe.c92 static void sendprobe __P((struct in6_addr *addr, int ifindex));
135 defrouter_probe(int ifindex) argument
154 if (ifindex && dr.defrouter[i].if_index == ifindex) {
176 sendprobe(struct in6_addr *addr, int ifindex) argument
199 pi->ipi6_ifindex = ifindex;
214 if_indextoname(ifindex, (char *)ifnamebuf));
218 if_indextoname(ifindex, (char *)ifnamebuf), strerror(errno));
H A Drtsold.h67 struct ifinfo *find_ifinfo __P((int ifindex));
89 extern void defrouter_probe __P((int ifindex));
H A Drtsol.c230 int ifindex = 0; local
250 ifindex = pi->ipi6_ifindex;
258 if (ifindex == 0) {
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/
H A DPosixCompat.h42 if_indextoname( unsigned ifindex, char * ifname );
H A DPosixCompat.c53 if_indextoname( unsigned ifindex, char * ifname ) argument
69 name = if_indextoname_funcptr(ifindex, ifname);
/macosx-10.10.1/network_cmds-457/mtest.tproj/
H A Dmtest.c152 __ifindex_to_primary_ip(const uint32_t ifindex, struct in_addr *pina) argument
160 assert(ifindex != 0);
163 if (if_indextoname(ifindex, ifname) == NULL)
274 * Return the ifindex of ifname, or 0 if any parse element failed.
282 uint32_t ifindex; local
291 ifindex = if_nametoindex(str2);
292 if (ifindex == 0)
323 ifindex = 0;
327 ifindex = 0;
334 return (ifindex);
362 uint32_t fmode, ifindex; local
[all...]
/macosx-10.10.1/Libc-1044.1.2/net/FreeBSD/
H A Dsourcefilter.c95 int ifindex; local
101 ifindex = 0;
106 * supplied IPv4 address. We should really use the ifindex
130 ifindex = psu->sdl.sdl_index;
134 assert(ifindex != 0);
138 return (ifindex);
158 uint32_t ifindex; local
170 ifindex = __inaddr_to_index(interface.s_addr);
171 if (ifindex == 0) {
197 err = setsourcefilter(s, ifindex, (struc
227 uint32_t ifindex, onumsrc; local
[all...]
/macosx-10.10.1/network_cmds-457/rtadvd.tproj/
H A Drtadvd.c366 int n, type, ifindex = 0, plen; local
414 ifindex = get_rtm_ifindex(next);
418 ifindex = get_ifam_ifindex(next);
421 ifindex = get_ifm_ifindex(next);
429 if_indextoname(ifindex, ifname));
434 if ((rai = if_indextorainfo(ifindex)) == NULL) {
440 if_indextoname(ifindex, ifname));
444 oldifflags = iflist[ifindex]->ifm_flags;
449 iflist[ifindex]->ifm_flags =
450 if_getflags(ifindex, iflis
587 int ifindex = 0; local
[all...]
H A Dif.c183 if_getflags(int ifindex, int oifflags) argument
194 if_indextoname(ifindex, ifr.ifr_name);
256 get_next_msg(char *buf, char *lim, int ifindex, size_t *lenp, int filter) argument
295 if (ifindex && SDL(gw)->sdl_index != ifindex)
322 if (ifindex && ifam->ifam_index != ifindex)
H A Drrenum.c140 struct in6_rrenumreq *irr, int ifindex)
205 if ((rai = if_indextorainfo(ifindex)) == NULL)
243 int ifindex = 0; local
264 while (if_indextoname(++ifindex, irr.irr_name)) {
270 (iflist[ifindex]->ifm_flags & IFF_UP) == 0)
273 do_use_prefix(len, rpm, &irr, ifindex);
139 do_use_prefix(int len, struct rr_pco_match *rpm, struct in6_rrenumreq *irr, int ifindex) argument
H A Drtadvd.h128 int ifindex; member in struct:rainfo
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dntstat.h130 u_int32_t ifindex; member in struct:nstat_route_add_param
161 u_int32_t ifindex; member in struct:nstat_tcp_descriptor
203 u_int32_t ifindex; member in struct:nstat_udp_descriptor
247 u_int32_t ifindex; member in struct:nstat_route_descriptor
254 u_int32_t ifindex; member in struct:nstat_ifnet_add_param
264 u_int32_t ifindex; member in struct:nstat_ifnet_descriptor
485 void nstat_ifnet_threshold_reached(unsigned int ifindex);
H A Dif_llreach.c627 uint32_t ifindex; variable
641 ifindex = name[0];
643 if (ifindex <= 0 || ifindex > (u_int)if_index) {
644 printf("%s: ifindex %u out of range\n", __func__, ifindex);
649 ifp = ifindex2ifnet[ifindex];
652 printf("%s: no ifp for ifindex %u\n", __func__, ifindex);
/macosx-10.10.1/network_cmds-457/pktapctl/
H A Dpktapctl.c41 unsigned int ifindex = 0; variable
99 ifindex = if_nametoindex(ifname);
100 if (ifindex == 0)
/macosx-10.10.1/configd-699.1.5/Plugins/IPMonitor/
H A Dip_plugin.c285 my_if_indextoname2(IFIndex ifindex, char ifname[IFNAMSIZ]) argument
287 if (ifindex == 0) {
290 if (my_if_indextoname(ifindex, ifname) == NULL) {
291 snprintf(ifname, IFNAMSIZ, "[%d]", ifindex);
359 IFIndex ifindex; \
1394 int index_cmp = a->ifindex - b->ifindex;
1399 else if ((a->ifindex == 0 || b->ifindex == 0)
1604 && scan->ifindex
1618 IFIndex ifindex = 0; local
1832 RouteListLookup(RouteListInfoRef info, RouteListRef routes, const void * address, int n_bits, IFIndex ifindex, RouteLookupFlags lookup_flags) argument
2115 IFIndex ifindex; local
2625 IFIndex ifindex; member in struct:__anon6801
2679 IFIndex ifindex; local
2751 IFIndex ifindex; local
3028 in6_addr_scope_linklocal(struct in6_addr * addr, IFIndex ifindex) argument
3157 IFIndex ifindex; member in struct:__anon6802
3208 IFIndex ifindex; local
3260 IFIndex ifindex; local
3944 IFIndex ifindex = 0; local
5413 set_ipv6_default_interface(IFIndex ifindex) argument
[all...]
/macosx-10.10.1/libpcap-48/libpcap/
H A Dpcap-can-linux.c79 int ifindex; /* interface index of device we're bound to */ member in struct:pcap_can
183 handlep->ifindex = ifr.ifr_ifindex;
197 addr.can_ifindex = handlep->ifindex;
201 handlep->ifindex, errno, strerror(errno));
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Din_mcast.c1467 unsigned int ifindex = 0; local
1499 ifp = ip_multicast_if(&mreqs.imr_interface, &ifindex);
1881 unsigned int ifindex; local
1930 ifindex = 0;
1932 ifindex = imo->imo_multicast_ifp->if_index;
1936 error = sooptcopyout(sopt, &ifindex, sizeof (ifindex));
2009 unsigned int ifindex = 0; local
2018 ifp = ip_multicast_if(&new_ina, &ifindex);
2388 unsigned int ifindex local
2624 unsigned int ifindex = 0; local
2916 unsigned int ifindex; local
3120 uint32_t fmode, ifindex; variable
3214 unsigned int ifindex; local
[all...]
/macosx-10.10.1/network_cmds-457/netstat.tproj/
H A Dmcast.c303 uint32_t ifindex = 0; local
306 ifindex = if_nametoindex(interface);
334 if (ifindex != 0 && thisifindex != ifindex)
587 inm_print_sources_sysctl(uint32_t ifindex, struct in_addr gina) argument
610 mib[5] = ifindex;
705 * a.b.c.d.e.ifindex.g[0].g[1].g[2].g[3]
710 in6m_print_sources_sysctl(uint32_t ifindex, struct in6_addr *pgroup) argument
736 mib[5] = ifindex;
H A Dif.c282 unsigned int ifindex = 0; local
290 ifindex = if_nametoindex(interface);
370 if (interface != 0 && if2m->ifm_index != ifindex)
460 if (interface != 0 && ifam->ifam_index != ifindex)
1164 unsigned int ifindex = 0; local
1168 ifindex = if_nametoindex(interface);
1169 if (ifindex == 0) {
1208 else if (interface != 0 && if2m->ifm_index != ifindex)
1217 llreach_sysctl(uint32_t ifindex) argument
1236 mib[5] = ifindex;
1346 unsigned int ifindex; local
2061 unsigned int ifindex; local
[all...]
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOSX/
H A Dhelper.h69 extern int mDNSSetLocalAddressCacheEntry(int ifindex, int family, const v6addr_t ip, const ethaddr_t eth);
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/unix/
H A Dinterfaceiter.c189 int ifindex, prefix, flag3, flag4; local
203 address, &ifindex, &prefix, &flag3, &flag4, name);
229 (isc_uint32_t)ifindex);
/macosx-10.10.1/ntp-92/lib/isc/unix/
H A Dinterfaceiter.c189 int ifindex, prefix, flag3, flag4; local
203 address, &ifindex, &prefix, &flag3, &flag4, name);
229 (isc_uint32_t)ifindex);

Completed in 224 milliseconds

123