/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_wired.c | 123 struct sockaddr_dl *dlp; local 124 dlp = (struct sockaddr_dl *) &ifr.ifr_addr; 125 dlp->sdl_len = sizeof(struct sockaddr_dl); 126 dlp->sdl_family = AF_LINK; 127 dlp->sdl_index = 0; 128 dlp->sdl_nlen = 0; 129 dlp->sdl_alen = ETH_ALEN; 130 dlp->sdl_slen = 0; 131 os_memcpy(LLADDR(dlp), addr, ETH_ALEN);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 83 void expecting(int prim, union DL_primitives *dlp); 713 union DL_primitives *dlp; local 727 dlp = (union DL_primitives*) buf; 747 dl_abssaplen = ABS(dlp->info_ack.dl_sap_length); 748 dl_saplen = dlp->info_ack.dl_sap_length; 749 if (ETHERADDRL != (dlp->info_ack.dl_addr_length - dl_abssaplen)) 754 memcpy(hwaddr, (u_char*)((char*)(dlp) + (int)(dlp->info_ack.dl_addr_offset)), ETHERADDRL); 808 union DL_primitives *dlp; local 811 dlp = (union DL_primitives*) buf 835 union DL_primitives *dlp; local 909 union DL_primitives *dlp; local 941 union DL_primitives *dlp; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_wired.c | 486 struct sockaddr_dl *dlp; local 487 dlp = (struct sockaddr_dl *) &ifr.ifr_addr; 488 dlp->sdl_len = sizeof(struct sockaddr_dl); 489 dlp->sdl_family = AF_LINK; 490 dlp->sdl_index = 0; 491 dlp->sdl_nlen = 0; 492 dlp->sdl_alen = ETH_ALEN; 493 dlp->sdl_slen = 0; 494 os_memcpy(LLADDR(dlp), addr, ETH_ALEN);
|
/external/libpcap/ |
pcap-dlpi.c | 1143 union DL_primitives *dlp; local 1165 dlp = (union DL_primitives *) ctl.buf; 1166 switch (dlp->dl_primitive) { 1178 switch (dlp->error_ack.dl_errno) { 1182 *uerror = dlp->error_ack.dl_unix_errno; 1185 what, pcap_strerror(dlp->error_ack.dl_unix_errno)); 1190 what, dlstrerror(dlp->error_ack.dl_errno)); 1198 what, dlprim(dlp->dl_primitive)); 1498 union DL_primitives *dlp; local 1624 dl_hp_ppa_ack_t *dlp; local [all...] |
/system/core/toolbox/ |
newfs_msdos.c | 831 struct disklabel *lp, dlp; local 851 dlp.d_secsize = 512; 852 dlp.d_nsectors = 63; 853 dlp.d_ntracks = 255; 854 dlp.d_secperunit = ms / dlp.d_secsize; 855 lp = &dlp; 857 dlp.d_secsize = 128 << type.secsize; 858 dlp.d_nsectors = type.sectrac; 859 dlp.d_ntracks = type.heads [all...] |