Home
last modified time | relevance | path

Searched refs:PF_PACKET (Results 1 – 18 of 18) sorted by relevance

/external/dhcpcd/
Dlpf.c83 if ((s = socket(PF_PACKET, SOCK_DGRAM, htons(protocol))) == -1) in open_socket()
87 su.sll.sll_family = PF_PACKET; in open_socket()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c109 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
129 ll.sll_family = PF_PACKET; in l2_packet_init()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h144 #define PF_PACKET 17 /* Packet family. */ macro
176 #define AF_PACKET PF_PACKET
/external/libpcap/
Dpcap-linux.c129 #ifdef PF_PACKET
1406 socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)) in live_open_new()
1407 : socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)); in live_open_new()
1473 sock_fd = socket(PF_PACKET, SOCK_DGRAM, in live_open_new()
DCHANGES81 PF_PACKET sockets.
158 kernels, uses PF_PACKET sockets and supports kernel packet
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c210 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_PAE)); in wired_init_sockets()
552 drv->pf_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in wpa_driver_wired_init()
Ddriver_hostap.c230 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in hostap_init_sockets()
Ddriver_nl80211.c3669 drv->eapol_tx_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in wpa_driver_nl80211_init()
7248 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
8929 drv->eapol_sock = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_PAE)); in i802_init()
/external/kernel-headers/original/linux/
Dsocket.h220 #define PF_PACKET AF_PACKET macro
/external/iputils/
Drarpd.c612 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
627 pset[1].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
Darping.c1010 s = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
/external/ppp/pppd/plugins/rp-pppoe/
Dplugin.c295 if ((fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) { in PPPoEDevnameHook()
Dif.c435 domain = PF_PACKET; in openInterface()
/external/iproute2/ip/
Diplink.c602 fd = socket(PF_PACKET, SOCK_DGRAM, 0); in get_ctl_fd()
712 s = socket(PF_PACKET, SOCK_DGRAM, 0); in get_address()
/external/wpa_supplicant_8/src/ap/
Diapp.c469 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in iapp_init()
/external/strace/
Dnet.c195 #ifdef PF_PACKET
196 { PF_PACKET, "PF_PACKET" },
/external/iproute2/misc/
Darpd.c760 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
/external/wpa_supplicant_8/wpa_supplicant/
DChangeLog1123 PF_PACKET in order to prepare for network devices that do not use