/bionic/libc/netbsd/net/ |
getnameinfo.c | 432 const struct sockaddr_dl *sdl = local 440 if (sdl->sdl_nlen == 0 && sdl->sdl_alen == 0 && sdl->sdl_slen == 0) { 441 n = snprintf(host, hostlen, "link#%u", sdl->sdl_index); 449 switch (sdl->sdl_type) { 452 if (sdl->sdl_alen < 2) 454 if (CLLADDR(sdl)[1] == 0) 455 n = snprintf(host, hostlen, "%u", CLLADDR(sdl)[0]); 458 CLLADDR(sdl)[1], CLLADDR(sdl)[0]) [all...] |
/external/wpa_supplicant/ |
l2_packet_freebsd.c | 164 struct sockaddr_dl *sdl; local 179 sdl = (struct sockaddr_dl *)(ifm + 1); 183 if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 || 184 os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0) 186 os_memcpy(ea, LLADDR(sdl), sdl->sdl_alen);
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_freebsd.c | 167 struct sockaddr_dl *sdl; local 182 sdl = (struct sockaddr_dl *)(ifm + 1); 186 if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 || 187 os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0) 189 os_memcpy(ea, LLADDR(sdl), sdl->sdl_alen);
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp.c | 882 struct sockaddr_dl *sdl; local 897 sdl = (struct sockaddr_dl *)(ifm + 1); 901 if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 || 902 os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0) 904 os_memcpy(ea, LLADDR(sdl), sdl->sdl_alen); [all...] |
/external/qemu/distrib/sdl-1.2.12/ |
android-configure.sh | 3 # this script is used to rebuild SDL from sources in the current 110 # we can build SDL with Cygwin, so enable it 150 # BUILD_CFLAGS are used to build SDL, but SDL_CFLAGS are used 470 ### Build the final sdl-config script from the template 505 cat sdl-config.in | sed -f $TMPC > objs/sdl-config 506 chmod +x objs/sdl-config 529 copy_or_autodetect sdl-config generate_sdl_config
|
/external/dhcpcd/ |
if-bsd.c | 112 struct sockaddr_dl sdl; member in union:sockunion 172 su.sdl.sdl_len = sizeof(struct sockaddr_dl); 173 link_addr(iface->name, &su.sdl);
|
net.c | 198 struct sockaddr_dl *sdl; local 247 sdl = xmalloc(ifr->ifr_addr.sa_len); 248 memcpy(sdl, &ifr->ifr_addr, ifr->ifr_addr.sa_len); 249 *hwlen = sdl->sdl_alen; 250 memcpy(hwaddr, LLADDR(sdl), *hwlen); 251 free(sdl);
|
/development/build/tools/ |
make_windows_sdk.sh | 122 chmod +x prebuilt/windows/sdl/bin/sdl-config
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 150 const struct sockaddr_dl *sdl; local 170 sdl = (const struct sockaddr_dl *) &ifr->ifr_addr; 171 if ((sdl->sdl_type == IFT_ETHER) && 172 (sdl->sdl_alen == ETH_ALEN) && 180 memcpy(hwaddr, LLADDR(sdl), ETH_ALEN);
|
/external/qemu/ |
android-configure.sh | 49 --sdl-config=*) SDL_CONFIG=$optarg 85 echo " --sdl-config=FILE use specific sdl-config script [$SDL_CONFIG]" 174 ### SDL Probe 184 # quick hack, remove the -D_GNU_SOURCE=1 of some SDL Cflags 188 log "SDL-probe : SDL_CFLAGS = $SDL_CFLAGS" 189 log "SDL-probe : SDL_LIBS = $SDL_LIBS" 202 #include <SDL.h> 211 echo "You provided an explicit sdl-config script, but the corresponding library" 217 log "SDL-probe : static linking ok [all...] |