Home
last modified time | relevance | path

Searched refs:pf_sock (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c57 int pf_sock; member
571 drv->pf_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in wpa_driver_wired_init()
572 if (drv->pf_sock < 0) in wpa_driver_wired_init()
575 drv->pf_sock = -1; in wpa_driver_wired_init()
584 if (wired_multicast_membership(drv->pf_sock, in wpa_driver_wired_init()
634 wired_multicast_membership(drv->pf_sock, in wpa_driver_wired_deinit()
663 if (drv->pf_sock != -1) in wpa_driver_wired_deinit()
664 close(drv->pf_sock); in wpa_driver_wired_deinit()
Ddriver_macsec_qca.c63 int pf_sock; member
328 drv->pf_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in macsec_qca_init()
329 if (drv->pf_sock < 0) in macsec_qca_init()
332 drv->pf_sock = -1; in macsec_qca_init()
341 if (macsec_qca_multicast_membership(drv->pf_sock, in macsec_qca_init()
392 macsec_qca_multicast_membership(drv->pf_sock, in macsec_qca_deinit()
422 if (drv->pf_sock != -1) in macsec_qca_deinit()
423 close(drv->pf_sock); in macsec_qca_deinit()