/src/sys/compat/netinet6/ |
nd6.h | 84 u_short if_index; member in struct:in6_drlist::__anon7a8102080208 98 u_short if_index; member in struct:in6_oprlist::__anon7a8102080308 114 u_short if_index; member in struct:in6_prlist::__anon7a8102080408
|
/src/lib/libc/net/ |
if_nameindex.c | 57 * unsigned int if_index; 67 * an if_index of 0 and an if_name of NULL. The function returns a NULL 132 ifni2->if_index = 144 ifni2->if_index = 0;
|
/src/sys/compat/common/ |
rtsock_70.c | 84 ifam.ifam_index = ifp->if_index; 108 ifam->ifam_index = ifa->ifa_ifp->if_index;
|
rtsock_14.c | 112 oifm.ifm_index = ifp->if_index; 151 ifm->ifm_index = ifp->if_index;
|
rtsock_50.c | 89 oifm.ifm_index = ifp->if_index; 128 ifm->ifm_index = ifp->if_index;
|
/src/usr.sbin/ifmcstat/ |
ifmcstat.c | 104 print_inet6_mcast(ifps[i].if_index, ifps[i].if_name); 105 print_ether_mcast(ifps[i].if_index);
|
/src/sys/net/ |
rtsock.c | 169 sockaddr_dl_init(&u.sdl, sizeof(u.ss), ifp->if_index, ifp->if_type, 222 rtm->rtm_index = rt->rt_ifp->if_index; 241 ifm->ifm_index = ifp->if_index; 262 ifam->ifam_index = ifa->ifa_ifp->if_index; 311 if (w->w_arg && w->w_arg != ifp->if_index)
|
if.c | 190 static u_int if_index = 1; variable in typeref:typename:u_int 497 sockaddr_dl_init(sdl, socksize, ifp->if_index, ifp->if_type, 652 ifp->if_index = if_index; 654 if_index++; 657 while (if_byindex(ifp->if_index)) { 661 * of if_index or if_index itself is compared 666 if (++if_index == 0) { 667 if_index = 1 [all...] |
rtsock_shared.c | 543 * nrt->rt_ifp->if_index may not be correct 579 a = sockaddr_dl_init(sdl, sizeof(*sdl), ifp->if_index, ifp->if_type, 625 rtm->rtm_index = ifp->if_index; 1440 ifm.ifm_index = ifp->if_index; 1526 ifam.ifam_index = ifp->if_index; 1549 rtm.rtm_index = ifp->if_index; 1597 ifan.ifan_index = ifp->if_index;
|
if.h | 301 if_index_t if_index; /* :: numeric abbreviation for this if */ member in struct:ifnet 395 * During an ifnet's lifetime, it has only one if_index, but 396 * an if_index is not sufficient to identify an ifnet 398 * given if_index. Let us tell different ifnets at the same 399 * if_index apart by their if_index_gen, a unique number that each ifnet 401 * pair (if_index, if_index_gen) as a weak reference to an ifnet. 404 * at if_index: if two ifnets' index 1197 return ifp != NULL ? ifp->if_index : 0; 1279 unsigned int if_index; /* 1, 2, ... */ member in struct:if_nameindex
|
if_llatbl.c | 97 if (sockaddr_dl_init(&sdl, sizeof(sdl), ifp->if_index, ifp->if_type, 113 rtm->rtm_index = ifp->if_index;
|
if_srt.c | 518 in6_setzoneid(&scr->dst.sin6.sin6_addr, ifp->if_index);
|
/src/sys/net80211/ |
ieee80211_netbsd.c | 272 ieee80211_node_walkfirst(struct ieee80211_node_walk *nw, u_short if_index) 276 nw->nw_ifindex = if_index; 279 if (if_index != 0 && nw->nw_ic->ic_ifp->if_index != if_index) 422 cur_ifindex = ic->ic_ifp->if_index;
|
/src/sys/netinet6/ |
scope6.c | 80 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; 81 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index;
|
ip6_mroute.c | 662 ifp->if_index = mifcp->mif6c_mifi; 1042 ifp->if_index); 1382 ifp->if_index, mifi, 1384 mif6table[mifi].m6_ifp->if_index : -1);
|
ip6_input.c | 285 /*XXX*/ IP6_STATINC(IP6_STAT_M2M + lo0ifp->if_index); 286 else if (rcvif->if_index < M2MMAX) 287 IP6_STATINC(IP6_STAT_M2M + rcvif->if_index);
|
in6_src.c | 708 rt->rt_ifp->if_index != opts->ip6po_pktinfo->ipi6_ifindex) { 762 *retifp = if_get_byindex(rt->rt_ifp->if_index, psref);
|
/src/usr.bin/netstat/ |
mroute6.c | 194 "reg0" : if_indextoname(ifnet.if_index, ifname));
|
/src/sys/netcan/ |
can_pcb.c | 235 scan->can_ifindex = canp->canp_ifp->if_index; 359 int ifindex = canp->canp_ifp ? canp->canp_ifp->if_index : 0;
|
/src/usr.sbin/altq/altqstat/ |
quip_client.c | 308 u_int if_index; local in function:quip_selectinterface 323 if (sscanf(cp, "%x %63s", &if_index, interface) != 2)
|
/src/sys/net/agr/ |
ieee8023ad_lacp.c | 191 info->lip_portid.lpi_portno = htobe16(port->port_ifp->if_index); 680 * XXX this isn't really unique as if_index is 16 bit. 683 /* bit 0..14: (some bits of) if_index of this port */ 684 key = lp->lp_agrport->port_ifp->if_index; 695 /* bit 5..14: (some bits of) if_index of agr device */ 696 key |= 0x7fe0 & ((lp->lp_agrport->port_agrifp->if_index) << 5);
|
/src/sys/dev/pci/cxgb/ |
cxgb_l2t.c | 351 int ifidx = neigh->rt_ifp->if_index; 432 int ifidx = neigh->rt_ifp->if_index;
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_sdvo.c | 1004 unsigned int if_index, u8 tx_rate, 1007 u8 set_buf_index[2] = { if_index, 0 }; 1020 if_index, length, hbuf_size); 1042 unsigned int if_index, 1045 u8 set_buf_index[2] = { if_index, 0 }; 1054 if (av_split < if_index) 1074 if_index, length, hbuf_size);
|
/src/sys/external/bsd/ipf/netinet/ |
ip_fil_netbsd.c | 1455 dst6->sin6_addr.s6_addr16[1] = htons(ifp->if_index); 1489 mtu = nd_ifinfo[ifp->if_index].linkmtu; 1495 mtu = ife->nd_ifinfo[ifp->if_index].linkmtu;
|
/src/sys/netinet/ |
if_arp.c | 303 * index (if_index) fields are prepared. 332 ifp->if_index, ifp->if_type, NULL, namelen, NULL, addrlen); 442 satosdl(gate)->sdl_index = ifp->if_index; 972 ifp->if_index, ifp->if_type,
|