Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-dlpi.c1029 union DL_primitives *dlp; local
1051 dlp = MAKE_DL_PRIMITIVES(ctl.buf);
1052 switch (dlp->dl_primitive) {
1064 switch (dlp->error_ack.dl_errno) {
1068 *uerror = dlp->error_ack.dl_unix_errno;
1071 what, pcap_strerror(dlp->error_ack.dl_unix_errno));
1072 if (dlp->error_ack.dl_unix_errno == EPERM ||
1073 dlp->error_ack.dl_unix_errno == EACCES)
1079 what, dlstrerror(dlp->error_ack.dl_errno));
1080 if (dlp->error_ack.dl_errno == DL_BADPPA)
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c527 struct sockaddr_dl *dlp; in wpa_driver_wired_multi() local
528 dlp = (struct sockaddr_dl *) &ifr.ifr_addr; in wpa_driver_wired_multi()
529 dlp->sdl_len = sizeof(struct sockaddr_dl); in wpa_driver_wired_multi()
530 dlp->sdl_family = AF_LINK; in wpa_driver_wired_multi()
531 dlp->sdl_index = 0; in wpa_driver_wired_multi()
532 dlp->sdl_nlen = 0; in wpa_driver_wired_multi()
533 dlp->sdl_alen = ETH_ALEN; in wpa_driver_wired_multi()
534 dlp->sdl_slen = 0; in wpa_driver_wired_multi()
535 os_memcpy(LLADDR(dlp), addr, ETH_ALEN); in wpa_driver_wired_multi()
Ddriver_macsec_qca.c229 struct sockaddr_dl *dlp; in macsec_qca_multi() local
230 dlp = (struct sockaddr_dl *) &ifr.ifr_addr; in macsec_qca_multi()
231 dlp->sdl_len = sizeof(struct sockaddr_dl); in macsec_qca_multi()
232 dlp->sdl_family = AF_LINK; in macsec_qca_multi()
233 dlp->sdl_index = 0; in macsec_qca_multi()
234 dlp->sdl_nlen = 0; in macsec_qca_multi()
235 dlp->sdl_alen = ETH_ALEN; in macsec_qca_multi()
236 dlp->sdl_slen = 0; in macsec_qca_multi()
237 os_memcpy(LLADDR(dlp), addr, ETH_ALEN); in macsec_qca_multi()