Home
last modified time | relevance | path

Searched refs:sdl (Results 1 – 3 of 3) sorted by relevance

/hostap-3.6.0/src/l2_packet/
Dl2_packet_freebsd.c191 struct sockaddr_dl *sdl; in eth_get()
206 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
210 if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 || in eth_get()
211 os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0) in eth_get()
213 os_memcpy(ea, LLADDR(sdl), sdl->sdl_alen); in eth_get()
/hostap-3.6.0/src/wps/
Dwps_upnp.c873 struct sockaddr_dl *sdl; in eth_get() local
888 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
892 if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 || in eth_get()
893 os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0) in eth_get()
895 os_memcpy(ea, LLADDR(sdl), sdl->sdl_alen); in eth_get()
/hostap-3.6.0/src/drivers/
Ddriver_bsd.c628 struct sockaddr_dl *sdl; in bsd_route_overflow() local
648 sdl = (struct sockaddr_dl *) (void *) ifa->ifa_addr; in bsd_route_overflow()
651 (drv->ifindex != sdl->sdl_index || drv->if_removed)) { in bsd_route_overflow()
655 drv->ifindex = sdl->sdl_index; in bsd_route_overflow()
664 (drv = bsd_get_drvindex(global, sdl->sdl_index)) != NULL) { in bsd_route_overflow()
684 sdl = (struct sockaddr_dl *) (void *) ifa->ifa_addr; in bsd_route_overflow()