Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/net/getnameinfo.c
Show First 20 Lines • Show All 475 Lines • ▼ Show 20 Lines | getnameinfo_link(const struct afd *afd, | ||||
* IFT_BRIDGE (net/if_bridge.h> | * IFT_BRIDGE (net/if_bridge.h> | ||||
*/ | */ | ||||
/* | /* | ||||
* The following use IPv4 addresses as link-layer addresses: | * The following use IPv4 addresses as link-layer addresses: | ||||
* IFT_OTHER (net/if_gre.c) | * IFT_OTHER (net/if_gre.c) | ||||
* IFT_OTHER (netinet/ip_ipip.c) | * IFT_OTHER (netinet/ip_ipip.c) | ||||
*/ | */ | ||||
/* default below is believed correct for all these. */ | /* default below is believed correct for all these. */ | ||||
case IFT_ARCNET: | |||||
case IFT_ETHER: | case IFT_ETHER: | ||||
case IFT_FDDI: | case IFT_FDDI: | ||||
case IFT_HIPPI: | case IFT_HIPPI: | ||||
case IFT_ISO88025: | case IFT_ISO88025: | ||||
default: | default: | ||||
return hexname((u_int8_t *)LLADDR(sdl), (size_t)sdl->sdl_alen, | return hexname((u_int8_t *)LLADDR(sdl), (size_t)sdl->sdl_alen, | ||||
host, hostlen); | host, hostlen); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |