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

123

/freebsd-11.0-release/lib/libc/net/
H A Dif_nameindex.c49 * unsigned int if_index;
59 * an if_index of 0 and an if_name of NULL. The function returns a NULL
125 ifni2->if_index =
136 ifni2->if_index = 0;
/freebsd-11.0-release/sys/netinet6/
H A Dscope6.c108 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index;
109 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index;
177 idlist->s6id_list[i] != ifp->if_index) {
267 ifp->if_index;
269 ifp->if_index;
416 zoneid = ifp->if_index;
483 return (ifp->if_index);
H A Dnd6.h120 u_short if_index; member in struct:in6_drlist::__anon12772
129 u_short if_index; member in struct:in6_defrouter
143 u_short if_index; member in struct:in6_oprlist::__anon12773
160 u_short if_index; member in struct:in6_prlist::__anon12774
176 u_short if_index; member in struct:in6_prefix
H A Dsend.c284 sendsrc.send_ifidx = ifp->if_index;
H A Dnd6.c187 gw.sdl_index = ifp->if_index;
1169 if (V_nd6_defifindex == ifp->if_index)
1321 V_nd6_defifindex == ifp->if_index) {
2618 d.if_index = dr->ifp->if_index;
2663 p.if_index = pr->ndpr_ifp->if_index;
/freebsd-11.0-release/sys/net/
H A Drtsock.c690 rtm->rtm_index = saved_nrt->rt_ifp->if_index;
829 rtm->rtm_index = ifp->if_index;
835 rtm->rtm_index = ifp->if_index;
1277 ifm->ifm_index = ifp->if_index;
1315 ifam->ifam_index = ifp->if_index;
1361 rtm->rtm_index = ifp->if_index;
1406 ifmam->ifmam_index = ifp->if_index;
1424 ifan->ifan_index = ifp->if_index;
1559 rtm->rtm_index = rt->rt_ifp->if_index;
1584 ifm32->ifm_index = ifp->if_index;
[all...]
H A Dif_debug.c63 IF_DB_PRINTF("%u", if_index);
H A Dif_mib.c72 CTLFLAG_VNET | CTLFLAG_RD, &VNET_NAME(if_index), 0,
H A Dif_epair.c727 eaddr[3] = (ifp->if_index >> 8) & 0xff;
728 eaddr[4] = ifp->if_index & 0xff;
810 netisr_get_cpuid(sca->ifp->if_index % netisr_get_cpucount());
812 netisr_get_cpuid(scb->ifp->if_index % netisr_get_cpucount());
837 eaddr[3] = (ifp->if_index >> 8) & 0xff;
838 eaddr[4] = ifp->if_index & 0xff;
H A Dif_var.h199 u_short if_index; /* numeric abbreviation for this if */ member in struct:ifnet
200 short if_index_reserved; /* spare space to grow if_index */
522 VNET_DECLARE(int, if_index);
527 #define V_if_index VNET(if_index)
H A Dif.c201 VNET_DEFINE(int, if_index);
216 * if_index, if_indexlim, and ifindex_table) are protected by an sxlock and
300 /* Catch if_index overflow. */
455 ifp->if_index = idx;
486 ifnet_setbyindex(ifp->if_index, ifp);
532 KASSERT(ifp == ifnet_byindex_locked(ifp->if_index),
535 ifindex_free_locked(ifp->if_index);
675 if (ifp->if_index == 0 || ifp != ifnet_byindex(ifp->if_index))
732 sdl->sdl_index = ifp->if_index;
[all...]
/freebsd-11.0-release/sys/netinet/
H A Dsctp_bsd_addr.c258 ifn->if_index,
343 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname,
348 ifa->ifa_ifp->if_index,
H A Dif_atm.c127 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
250 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
/freebsd-11.0-release/sys/netpfil/ipfw/
H A Dip_fw_iface.c116 handle_ifattach(ch, iif, ifp->if_index);
118 handle_ifdetach(ch, iif, ifp->if_index);
193 ifindex = ifp->if_index;
/freebsd-11.0-release/contrib/wpa/src/ap/
H A Dvlan_init.c195 int if_index; local
204 if_index = if_nametoindex(if_name);
206 if (if_index == 0) {
215 args[1] = if_index;
246 int if_index; local
255 if_index = if_nametoindex(if_name);
257 if (if_index == 0) {
266 args[1] = if_index;
/freebsd-11.0-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_l2t.c312 int hash = arp_hash(e->addr, e->ifp->if_index, d);
333 int hash = arp_hash(addr, ifp->if_index, d);
378 int hash = arp_hash(addr, ifp->if_index, d);
/freebsd-11.0-release/sys/dev/usb/gadget/
H A Dg_modem.c166 .if_index = 0,
178 .if_index = 1,
190 .if_index = 1,
H A Dg_audio.c171 .if_index = 1,
183 .if_index = 1,
195 .if_index = 2,
207 .if_index = 2,
/freebsd-11.0-release/usr.sbin/rtsold/
H A Dprobe.c131 if (ifindex != p->if_index)
/freebsd-11.0-release/sys/dev/usb/net/
H A Dif_cdce.c132 .if_index = 0,
145 .if_index = 0,
158 .if_index = 1,
170 .if_index = 1,
186 .if_index = 0,
199 .if_index = 0,
212 .if_index = 1,
224 .if_index = 1,
/freebsd-11.0-release/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c289 .if_index = 0,
299 .if_index = 0,
309 .if_index = 0,
319 .if_index = 0,
334 .if_index = 1,
345 .if_index = 1,
356 .if_index = 1,
367 .if_index = 1,
/freebsd-11.0-release/sys/netgraph/bluetooth/drivers/ubtbcmfw/
H A Dubtbcmfw.c133 .if_index = UBTBCMFW_IFACE_IDX,
144 .if_index = UBTBCMFW_IFACE_IDX,
/freebsd-11.0-release/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.c366 hash = l2_hash(d, sa, ifp->if_index);
420 hash = l2_hash(d, sa, ifp->if_index);
/freebsd-11.0-release/sys/dev/usb/serial/
H A Dumodem.c221 .if_index = 0,
232 .if_index = 0,
243 .if_index = 1,
254 .if_index = 1,
/freebsd-11.0-release/usr.sbin/arp/
H A Darp.c609 for (p = ifnameindex; p && ifnameindex->if_index &&
611 if (p->if_index == sdl->sdl_index) {

Completed in 371 milliseconds

123