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

123

/freebsd-13-stable/lib/libc/net/
H A Dif_nameindex.c51 * unsigned int if_index;
61 * an if_index of 0 and an if_name of NULL. The function returns a NULL
127 ifni2->if_index =
138 ifni2->if_index = 0;
/freebsd-13-stable/sys/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;
175 idlist->s6id_list[i] != ifp->if_index) {
266 ifp->if_index;
268 ifp->if_index;
415 zoneid = ifp->if_index;
479 return (ifp->if_index);
510 return (ifp->if_index);
H A Dnd6.h125 u_short if_index; member in struct:in6_defrouter
138 u_short if_index; member in struct:in6_prefix
H A Dsend.c303 sendsrc.send_ifidx = ifp->if_index;
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dnetdevice.h61 dev_get_by_index(struct vnet *vnet, int if_index) argument
68 retval = ifnet_byindex_ref(if_index);
/freebsd-13-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-13-stable/sys/netinet/
H A Dsctp_bsd_addr.c253 ifn->if_index,
340 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname,
344 ifa->ifa_ifp->if_index,
/freebsd-13-stable/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-13-stable/sys/net/
H A Dif_debug.c65 IF_DB_PRINTF("%u", if_index);
H A Dif_mib.c73 CTLFLAG_VNET | CTLFLAG_RD, &VNET_NAME(if_index), 0,
H A Drtsock.c968 rtm->rtm_index = ifp->if_index;
974 rtm->rtm_index = ifp->if_index;
1129 rtm->rtm_index = nh->nh_ifp->if_index;
1912 ifm->ifm_index = ifp->if_index;
1950 ifam->ifam_index = ifp->if_index;
2024 rtm->rtm_index = info->rti_ifp->if_index;
2071 ifmam->ifmam_index = ifp->if_index;
2089 ifan->ifan_index = ifp->if_index;
2277 rtm->rtm_index = nh->nh_ifp->if_index;
2301 ifm32->ifm_index = ifp->if_index;
[all...]
H A Dif_var.h303 u_short if_index; /* numeric abbreviation for this if */ member in struct:ifnet
304 short if_index_reserved; /* spare space to grow if_index */
625 VNET_DECLARE(int, if_index);
630 #define V_if_index VNET(if_index)
H A Dif_epair.c816 netisr_get_cpuid(sca->ifp->if_index);
818 netisr_get_cpuid(scb->ifp->if_index);
855 if (ifp->if_index > next_index)
856 next_index = ifp->if_index;
H A Dif.c296 VNET_DEFINE(int, if_index);
311 * if_index, if_indexlim, and ifindex_table) are protected by an sxlock.
385 /* Catch if_index overflow. */
617 ifp->if_index = idx;
651 ifnet_setbyindex(ifp->if_index, ifp);
722 KASSERT(ifp == ifnet_byindex(ifp->if_index),
725 ifindex_free_locked(ifp->if_index);
865 if (ifp->if_index == 0 || ifp != ifnet_byindex(ifp->if_index))
922 sdl->sdl_index = ifp->if_index;
[all...]
/freebsd-13-stable/sys/dev/usb/gadget/
H A Dg_modem.c168 .if_index = 0,
180 .if_index = 1,
192 .if_index = 1,
H A Dg_audio.c173 .if_index = 1,
185 .if_index = 1,
197 .if_index = 2,
209 .if_index = 2,
/freebsd-13-stable/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt.c292 .if_index = 0,
302 .if_index = 0,
312 .if_index = 0,
322 .if_index = 0,
337 .if_index = 1,
348 .if_index = 1,
359 .if_index = 1,
370 .if_index = 1,
/freebsd-13-stable/sys/netgraph/bluetooth/drivers/ubtbcmfw/
H A Dubtbcmfw.c135 .if_index = UBTBCMFW_IFACE_IDX,
146 .if_index = UBTBCMFW_IFACE_IDX,
/freebsd-13-stable/sys/dev/usb/net/
H A Dif_cdce.c134 .if_index = 0,
147 .if_index = 0,
160 .if_index = 1,
172 .if_index = 1,
187 .if_index = 0,
200 .if_index = 0,
213 .if_index = 1,
225 .if_index = 1,
/freebsd-13-stable/sys/net/route/
H A Dnhop_ctl.c210 sdl->sdl_index = ifp->if_index;
834 pnhe->ifindex = nh->nh_ifp->if_index;
835 pnhe->aifindex = nh->nh_aifp->if_index;
H A Dnhop.c218 ifindex = nh->nh_ifp->if_index & 0xFFFF;
/freebsd-13-stable/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.c376 hash = l2_hash(d, sa, ifp->if_index);
425 hash = l2_hash(d, sa, ifp->if_index);
/freebsd-13-stable/sys/dev/usb/serial/
H A Dumodem.c236 .if_index = 0,
247 .if_index = 0,
258 .if_index = 1,
269 .if_index = 1,
/freebsd-13-stable/usr.sbin/rtsold/
H A Dcap_sendmsg.c160 if (ifindex != p->if_index)
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
H A Dib_addr.c152 dev_addr->bound_dev_if = dev->if_index;
168 dev_addr->bound_dev_if = dev->if_index;
643 if (addr->bound_dev_if == dev->if_index)
870 dev_addr.bound_dev_if = dev->if_index;

Completed in 513 milliseconds

123