/src/lib/libc/net/ |
if_indextoname.c | 86 (void *)ifa->ifa_addr)->sdl_index)
|
if_indextoname.c | 86 (void *)ifa->ifa_addr)->sdl_index)
|
if_nameindex.c | 134 (void *)ifa->ifa_addr)->sdl_index;
|
if_nametoindex.c | 102 (void *)ifa->ifa_addr)->sdl_index;
|
if_nameindex.c | 134 (void *)ifa->ifa_addr)->sdl_index;
|
if_nametoindex.c | 102 (void *)ifa->ifa_addr)->sdl_index;
|
/src/sys/net/ |
dl_print.c | 97 return snprintf(buf, len, "link#%hu", sdl->sdl_index); 108 int ll = snprintf(buf + l, clip(len, l), "]:%hu", sdl->sdl_index);
|
dl_print.c | 97 return snprintf(buf, len, "link#%hu", sdl->sdl_index); 108 int ll = snprintf(buf + l, clip(len, l), "]:%hu", sdl->sdl_index);
|
if_dl.h | 84 uint16_t sdl_index; /* if != 0, system given index for interface */ member in struct:sockaddr_dl
|
if_dl.h | 84 uint16_t sdl_index; /* if != 0, system given index for interface */ member in struct:sockaddr_dl
|
if_llatbl.c | 632 struct rt_addrinfo *info, int sdl_index) 647 if (sdl_index != 0) 648 ifp = if_get_byindex(sdl_index, &psref); 650 ifp = if_get_byindex(dl->sdl_index, &psref); 653 log(LOG_INFO, "%s: invalid ifp (sdl_index %d)\n", 654 __func__, sdl_index != 0 ? sdl_index : dl->sdl_index);
|
if_llatbl.c | 632 struct rt_addrinfo *info, int sdl_index) 647 if (sdl_index != 0) 648 ifp = if_get_byindex(sdl_index, &psref); 650 ifp = if_get_byindex(dl->sdl_index, &psref); 653 log(LOG_INFO, "%s: invalid ifp (sdl_index %d)\n", 654 __func__, sdl_index != 0 ? sdl_index : dl->sdl_index);
|
rtsock_shared.c | 534 route_get_sdl_index(struct rt_addrinfo *info, int *sdl_index) 546 *sdl_index = satosdl(nrt->rt_gateway)->sdl_index; 765 * Old arp binaries don't set the sdl_index 768 int sdl_index = sdlp->sdl_index; local in function:COMPATNAME 769 if (sdl_index == 0) { 770 error = route_get_sdl_index(&info, &sdl_index); 787 &sdl_index); 793 rtm->rtm_rmx.rmx_expire, &info, sdl_index); [all...] |
rtsock_shared.c | 534 route_get_sdl_index(struct rt_addrinfo *info, int *sdl_index) 546 *sdl_index = satosdl(nrt->rt_gateway)->sdl_index; 765 * Old arp binaries don't set the sdl_index 768 int sdl_index = sdlp->sdl_index; local in function:COMPATNAME 769 if (sdl_index == 0) { 770 error = route_get_sdl_index(&info, &sdl_index); 787 &sdl_index); 793 rtm->rtm_rmx.rmx_expire, &info, sdl_index); [all...] |
/src/tests/sys/net/ |
t_print.c | 148 sdl.sdl_index = (uint16_t)i; 161 sdl.sdl_index = (uint16_t)i;
|
t_print.c | 148 sdl.sdl_index = (uint16_t)i; 161 sdl.sdl_index = (uint16_t)i;
|
/src/usr.sbin/rarpd/ |
mkarp.c | 201 sdl_m.sdl_index = sdl->sdl_index;
|
mkarp.c | 201 sdl_m.sdl_index = sdl->sdl_index;
|
/src/usr.sbin/rtadvd/ |
if.c | 237 if (ifindex && SDL(gw)->sdl_index != ifindex) 307 return SDL(rti_info[RTAX_GATEWAY])->sdl_index;
|
if.c | 237 if (ifindex && SDL(gw)->sdl_index != ifindex) 307 return SDL(rti_info[RTAX_GATEWAY])->sdl_index;
|
/src/lib/libutil/ |
sockaddr_snprintf.c | 126 return snprintf(str, len, "sdl_len=%u, sdl_family=%u, sdl_index=%u, " 129 SALEN(sdl), sdl->sdl_family, sdl->sdl_index, 204 sdl->sdl_index);
|
sockaddr_snprintf.c | 126 return snprintf(str, len, "sdl_len=%u, sdl_family=%u, sdl_index=%u, " 129 SALEN(sdl), sdl->sdl_family, sdl->sdl_index, 204 sdl->sdl_index);
|
/src/usr.sbin/arp/ |
arp.c | 359 sdl_m.sdl_index = sdl->sdl_index; 489 if (sdl->sdl_index) { 490 if (getifname(sdl->sdl_index, ifname, sizeof(ifname)) == 0) 505 if (sdl->sdl_index == 0) 797 if (sdl && sdl->sdl_index == ifindex) {
|
arp.c | 359 sdl_m.sdl_index = sdl->sdl_index; 489 if (sdl->sdl_index) { 490 if (getifname(sdl->sdl_index, ifname, sizeof(ifname)) == 0) 505 if (sdl->sdl_index == 0) 797 if (sdl && sdl->sdl_index == ifindex) {
|
/src/usr.sbin/ndp/ |
ndp.c | 358 sdl_m.sdl_index = sdl->sdl_index; 545 mysin->sin6_scope_id = sdl->sdl_index; 571 ifname = if_indextoname((unsigned int)sdl->sdl_index, ifix_buf); 584 (unsigned int)sdl->sdl_index, 1);
|