Home
last modified time | relevance | path

Searched refs:if_index (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd-10-stable/sys/netinet6/
Dscope6.c109 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; in scope6_ifattach()
110 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; in scope6_ifattach()
184 idlist->s6id_list[i] != ifp->if_index) { in scope6_set()
312 ifp->if_index; in scope6_setdefault()
314 ifp->if_index; in scope6_setdefault()
461 zoneid = ifp->if_index; in in6_setscope()
Dnd6.h123 u_short if_index; member
132 u_short if_index; member
146 u_short if_index; member
163 u_short if_index; member
179 u_short if_index; member
Dnd6.c887 if (V_nd6_defifindex == ifp->if_index) in nd6_purge()
1029 V_nd6_defifindex == ifp->if_index) { in nd6_is_new_addr_neighbor()
2269 d.if_index = dr->ifp->if_index; in nd6_sysctl_drlist()
2312 p.if_index = pr->ndpr_ifp->if_index; in nd6_sysctl_prlist()
/freebsd-10-stable/lib/libc/net/
Dif_nameindex.c125 ifni2->if_index = in if_nameindex()
136 ifni2->if_index = 0; in if_nameindex()
/freebsd-10-stable/contrib/wpa/src/ap/
Dvlan_init.c116 int if_index; in br_delif() local
125 if_index = if_nametoindex(if_name); in br_delif()
127 if (if_index == 0) { in br_delif()
136 args[1] = if_index; in br_delif()
167 int if_index; in br_addif() local
176 if_index = if_nametoindex(if_name); in br_addif()
178 if (if_index == 0) { in br_addif()
187 args[1] = if_index; in br_addif()
/freebsd-10-stable/sys/net/
Drtsock.c679 rtm->rtm_index = saved_nrt->rt_ifp->if_index; in route_output()
822 rtm->rtm_index = ifp->if_index; in route_output()
828 rtm->rtm_index = ifp->if_index; in route_output()
911 rtm->rtm_index = rt->rt_ifp->if_index; in route_output()
1313 ifm->ifm_index = ifp->if_index; in rt_ifmsg()
1349 ifam->ifam_index = ifp->if_index; in rtsock_addrmsg()
1394 rtm->rtm_index = ifp->if_index; in rtsock_routemsg()
1439 ifmam->ifmam_index = ifp->if_index; in rt_newmaddrmsg()
1457 ifan->ifan_index = ifp->if_index; in rt_makeifannouncemsg()
1589 rtm->rtm_index = rt->rt_ifp->if_index; in sysctl_dumpentry()
[all …]
Dif_epair.c725 eaddr[3] = (ifp->if_index >> 8) & 0xff; in epair_clone_create()
726 eaddr[4] = ifp->if_index & 0xff; in epair_clone_create()
808 netisr_get_cpuid(sca->ifp->if_index % netisr_get_cpucount()); in epair_clone_create()
810 netisr_get_cpuid(scb->ifp->if_index % netisr_get_cpucount()); in epair_clone_create()
835 eaddr[3] = (ifp->if_index >> 8) & 0xff; in epair_clone_create()
836 eaddr[4] = ifp->if_index & 0xff; in epair_clone_create()
Dif.c197 VNET_DEFINE(int, if_index);
454 ifp->if_index = idx; in if_alloc()
479 ifnet_setbyindex(ifp->if_index, ifp); in if_alloc()
521 KASSERT(ifp == ifnet_byindex_locked(ifp->if_index), in if_free()
524 ifindex_free_locked(ifp->if_index); in if_free()
664 if (ifp->if_index == 0 || ifp != ifnet_byindex(ifp->if_index)) in if_attach_internal()
720 sdl->sdl_index = ifp->if_index; in if_attach_internal()
776 sdl->sdl_index = ifp->if_index; in if_attach_internal()
1083 ifindex_free_locked(ifp->if_index); in if_vmove()
1103 ifp->if_index = idx; in if_vmove()
[all …]
Dif_debug.c63 IF_DB_PRINTF("%u", if_index); in if_show_ifnet()
Dif_mib.c70 &VNET_NAME(if_index), 0,
Dif_var.h170 u_short if_index; /* numeric abbreviation for this if */ member
941 VNET_DECLARE(int, if_index);
947 #define V_if_index VNET(if_index)
/freebsd-10-stable/sys/dev/usb/gadget/
Dg_audio.c171 .if_index = 1,
183 .if_index = 1,
195 .if_index = 2,
207 .if_index = 2,
Dg_modem.c166 .if_index = 0,
178 .if_index = 1,
190 .if_index = 1,
/freebsd-10-stable/sys/ofed/include/linux/
Dnetdevice.h59 dev_get_by_index(struct vnet *vnet, int if_index) in dev_get_by_index() argument
64 retval = ifnet_byindex_ref(if_index); in dev_get_by_index()
/freebsd-10-stable/sys/netinet/
Dsctp_bsd_addr.c258 ifn->if_index, in sctp_init_ifns_for_vrf()
343 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname, in sctp_addr_change()
348 ifa->ifa_ifp->if_index, in sctp_addr_change()
Dif_atm.c126 SDL(gate)->sdl_index = rt->rt_ifp->if_index; in atm_rtrequest()
249 SDL(gate)->sdl_index = rt->rt_ifp->if_index; in atm_rtrequest()
/freebsd-10-stable/sys/netgraph/bluetooth/drivers/ubt/
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-10-stable/sys/dev/usb/net/
Dif_cdce.c127 .if_index = 0,
140 .if_index = 0,
153 .if_index = 1,
165 .if_index = 1,
181 .if_index = 0,
194 .if_index = 0,
207 .if_index = 1,
219 .if_index = 1,
/freebsd-10-stable/sys/dev/cxgb/ulp/tom/
Dcxgb_l2t.c312 int hash = arp_hash(e->addr, e->ifp->if_index, d); in alloc_l2e()
333 int hash = arp_hash(addr, ifp->if_index, d); in t3_l2t_get()
378 int hash = arp_hash(addr, ifp->if_index, d); in t3_l2_update()
/freebsd-10-stable/sys/netgraph/bluetooth/drivers/ubtbcmfw/
Dubtbcmfw.c133 .if_index = UBTBCMFW_IFACE_IDX,
144 .if_index = UBTBCMFW_IFACE_IDX,
/freebsd-10-stable/sys/dev/usb/serial/
Dumodem.c218 .if_index = 0,
229 .if_index = 0,
240 .if_index = 1,
251 .if_index = 1,
Duplcom.c212 .if_index = 0,
222 .if_index = 0,
232 .if_index = 1,
/freebsd-10-stable/sys/dev/cxgbe/tom/
Dt4_tom_l2t.c366 hash = l2_hash(d, sa, ifp->if_index); in t4_l2t_get()
420 hash = l2_hash(d, sa, ifp->if_index); in t4_l2_update()
/freebsd-10-stable/usr.sbin/rtsold/
Dprobe.c138 if (ifindex != p->if_index) in defrouter_probe()
/freebsd-10-stable/usr.bin/netstat/
Dmroute6.c177 "reg0" : if_indextoname(ifnet.if_index, ifname)); in mroute6pr()

1234