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

1234

/freebsd-11-stable/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-stable/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;
487 return (ifp->if_index);
H A Dnd6.h120 u_short if_index; member in struct:in6_drlist::__anon8203
129 u_short if_index; member in struct:in6_defrouter
143 u_short if_index; member in struct:in6_oprlist::__anon8204
160 u_short if_index; member in struct:in6_prlist::__anon8205
176 u_short if_index; member in struct:in6_prefix
H A Dsend.c284 sendsrc.send_ifidx = ifp->if_index;
H A Dip6_fastfwd.c283 dst.sin6_addr.s6_addr16[1] = htons(nh.nh_ifp->if_index & 0xffff);
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dnetdevice.h61 dev_get_by_index(struct vnet *vnet, int if_index) argument
66 retval = ifnet_byindex_ref(if_index);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dvlan_full.c138 int if_index; local
150 if_index = if_nametoindex(if_name);
152 if (if_index == 0) {
161 args[1] = if_index;
193 int if_index; local
210 if_index = if_nametoindex(if_name);
212 if (if_index == 0) {
221 args[1] = if_index;
/freebsd-11-stable/sys/net/
H A Drtsock.c698 rtm->rtm_index = saved_nrt->rt_ifp->if_index;
837 rtm->rtm_index = ifp->if_index;
843 rtm->rtm_index = ifp->if_index;
1298 ifm->ifm_index = ifp->if_index;
1336 ifam->ifam_index = ifp->if_index;
1382 rtm->rtm_index = ifp->if_index;
1427 ifmam->ifmam_index = ifp->if_index;
1445 ifan->ifan_index = ifp->if_index;
1584 rtm->rtm_index = rt->rt_ifp->if_index;
1608 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.c716 eaddr[3] = (ifp->if_index >> 8) & 0xff;
717 eaddr[4] = ifp->if_index & 0xff;
807 netisr_get_cpuid(sca->ifp->if_index);
809 netisr_get_cpuid(scb->ifp->if_index);
834 eaddr[3] = (ifp->if_index >> 8) & 0xff;
835 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 */
535 VNET_DECLARE(int, if_index);
540 #define V_if_index VNET(if_index)
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_iface.c117 handle_ifattach(ch, iif, ifp->if_index);
119 handle_ifdetach(ch, iif, ifp->if_index);
194 ifindex = ifp->if_index;
/freebsd-11-stable/sys/netinet/
H A Dsctp_bsd_addr.c255 ifn->if_index,
342 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname,
347 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-stable/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-stable/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-stable/usr.sbin/rtsold/
H A Dprobe.c131 if (ifindex != p->if_index)
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/ubtbcmfw/
H A Dubtbcmfw.c133 .if_index = UBTBCMFW_IFACE_IDX,
144 .if_index = UBTBCMFW_IFACE_IDX,
/freebsd-11-stable/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-stable/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-stable/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-stable/sys/ofed/drivers/infiniband/core/
H A Dib_addr.c149 dev_addr->bound_dev_if = dev->if_index;
165 dev_addr->bound_dev_if = dev->if_index;
657 if (addr->bound_dev_if == dev->if_index)
885 dev_addr.bound_dev_if = dev->if_index;
/freebsd-11-stable/sys/dev/usb/serial/
H A Dumodem.c235 .if_index = 0,
246 .if_index = 0,
257 .if_index = 1,
268 .if_index = 1,

Completed in 181 milliseconds

1234