Searched refs:PF_PACKET (Results 1 – 18 of 18) sorted by relevance
/external/dhcpcd/ |
D | lpf.c | 83 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/ |
D | l2_packet_linux.c | 109 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/ |
D | socket.h | 144 #define PF_PACKET 17 /* Packet family. */ macro 176 #define AF_PACKET PF_PACKET
|
/external/libpcap/ |
D | pcap-linux.c | 129 #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()
|
D | CHANGES | 81 PF_PACKET sockets. 158 kernels, uses PF_PACKET sockets and supports kernel packet
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 210 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()
|
D | driver_hostap.c | 230 drv->sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in hostap_init_sockets()
|
D | driver_nl80211.c | 3669 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/ |
D | socket.h | 220 #define PF_PACKET AF_PACKET macro
|
/external/iputils/ |
D | rarpd.c | 612 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main() 627 pset[1].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
|
D | arping.c | 1010 s = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 295 if ((fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) { in PPPoEDevnameHook()
|
D | if.c | 435 domain = PF_PACKET; in openInterface()
|
/external/iproute2/ip/ |
D | iplink.c | 602 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/ |
D | iapp.c | 469 iapp->packet_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in iapp_init()
|
/external/strace/ |
D | net.c | 195 #ifdef PF_PACKET 196 { PF_PACKET, "PF_PACKET" },
|
/external/iproute2/misc/ |
D | arpd.c | 760 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ChangeLog | 1123 PF_PACKET in order to prepare for network devices that do not use
|