/external/libppp/src/ |
arp.c | 172 struct sockaddr_dl sdl; member in struct:__anon10721 182 if (!arp_EtherAddr(addr, &dls.sdl, 1)) { 189 memcpy(arpreq.arp_ha.sa_data, LLADDR(&dls.sdl), dls.sdl.sdl_alen);
|
ipv6cp.c | 120 struct sockaddr_dl *sdl; local 144 sdl = (struct sockaddr_dl *)ifa->ifa_addr; 145 if (sdl->sdl_alen < 6) 148 switch(sdl->sdl_type) { 158 cp = (char *)(sdl->sdl_data + sdl->sdl_nlen);
|
/external/dhcpcd/ |
if-bsd.c | 198 struct sockaddr_dl sdl; member in union:sockunion 256 su.sdl.sdl_len = sizeof(struct sockaddr_dl); 257 link_addr(rt->iface->name, &su.sdl); 325 struct sockaddr_dl sdl; local 424 memcpy(&sdl, rti_info[RTAX_IFA], 426 hwaddr = xmalloc(sdl.sdl_alen); 427 memcpy(hwaddr, LLADDR(&sdl), 428 sdl.sdl_alen); 430 sdl.sdl_alen);
|
net.c | 342 const struct sockaddr_dl *sdl; local 439 sdl = (const struct sockaddr_dl *)(void *)ifa->ifa_addr; 448 iflr.prefixlen = sdl->sdl_alen * NBBY; 457 sdl_type = sdl->sdl_type; 458 switch(sdl->sdl_type) { 474 ifp->hwlen = sdl->sdl_alen; 478 memcpy(ifp->hwaddr, CLLADDR(sdl), ifp->hwlen);
|
/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/wpa_supplicant_8/src/wps/ |
wps_upnp.c | 854 struct sockaddr_dl *sdl; local 869 sdl = (struct sockaddr_dl *)(ifm + 1); 873 if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 || 874 os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0) 876 os_memcpy(ea, LLADDR(sdl), sdl->sdl_alen); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/ |
SDL_main.cpp | 3 Symbian OS services for SDL 650 RThread sdl; local 651 if(sdl.Open(gEpocEnv->iId) == KErrNone) 653 if(sdl.ExitType() == EExitPending) 657 sdl.Close(); 806 CSDL* sdl = new (ELeave) CSDL(); local 808 gEpocEnv->iSdl = sdl; 810 return sdl;
|