/external/linux-kselftest/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 335 if (domain != PF_PACKET && domain != PF_RDS) in do_setup_tx() 497 if (domain == PF_PACKET) { in do_tx() 524 if (domain == PF_PACKET || protocol == IPPROTO_RAW) { in do_tx() 578 if (domain == PF_PACKET) in do_setup_rx() 681 if (cfg_cork && (domain == PF_PACKET || type != SOCK_DGRAM)) in do_test() 795 do_test(PF_PACKET, SOCK_RAW, 0); in main() 797 do_test(PF_PACKET, SOCK_DGRAM, 0); in main()
|
D | txring_overwrite.c | 79 fdr = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); in setup_rx() 92 fdt = socket(PF_PACKET, SOCK_RAW, 0); in setup_tx()
|
D | psock_snd.c | 223 fd = socket(PF_PACKET, cfg_use_dgram ? SOCK_DGRAM : SOCK_RAW, 0); in do_tx() 295 fd = socket(PF_PACKET, SOCK_RAW, 0); in setup_sniffer()
|
D | psock_tpacket.c | 104 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() 382 .sll_family = PF_PACKET, in walk_tx() 399 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_tx() 736 ring->ll.sll_family = PF_PACKET; in bind_ring()
|
D | psock_fanout.c | 66 fd = socket(PF_PACKET, SOCK_RAW, 0); in sock_fanout_open()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 292 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init() 312 ll.sll_family = PF_PACKET; in l2_packet_init() 385 l2->fd_br_rx = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init_bridge() 395 ll.sll_family = PF_PACKET; in l2_packet_init_bridge()
|
/external/python/cpython2/Lib/plat-atheos/ |
D | IN.py | 403 PF_PACKET = 17 variable 430 AF_PACKET = PF_PACKET 719 PF_PACKET = 17 variable 746 AF_PACKET = PF_PACKET
|
/external/bcc/examples/networking/http_filter/ |
D | http-parse-simple.py | 79 sock = socket.fromfd(socket_fd,socket.PF_PACKET,socket.SOCK_RAW,socket.IPPROTO_IP)
|
D | http-parse-complete.py | 132 sock = socket.fromfd(socket_fd,socket.PF_PACKET,socket.SOCK_RAW,socket.IPPROTO_IP)
|
/external/ltp/testcases/network/packet/ |
D | fanout01.c | 76 fd = SAFE_SOCKET(AF_PACKET, SOCK_RAW, PF_PACKET); in run()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 58 sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in get_intf_index_from_name()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 112 domain = PF_PACKET; in openInterface()
|
D | plugin.c | 323 if ((fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) { in PPPoEDevnameHook()
|
D | pppoe-discovery.c | 117 domain = PF_PACKET; in openInterface()
|
/external/python/cpython2/Lib/plat-linux2/ |
D | IN.py | 379 PF_PACKET = 17 variable 409 AF_PACKET = PF_PACKET
|
/external/bcc/examples/networking/vlan_filter/ |
D | data-plane-tracing.py | 89 sock = socket.fromfd(socket_fd,socket.PF_PACKET,socket.SOCK_RAW,socket.IPPROTO_IP)
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 229 if ((sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) in open_socket() 241 lla.sll_family = PF_PACKET; in open_socket()
|
/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()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired_common.c | 228 common->pf_sock = socket(PF_PACKET, SOCK_DGRAM, 0); in driver_wired_init_common()
|
D | driver_wired.c | 176 drv->common.sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_PAE)); in wired_init_sockets()
|
D | driver_nl80211_monitor.c | 407 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
|
/external/libwebsockets/lib/core-net/ |
D | adopt.c | 502 sock.sockfd = socket(wsi->pf_packet ? PF_PACKET : in lws_create_adopt_udp2()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 416 fd = socket(cfg_use_pf_packet ? PF_PACKET : family, in do_test()
|
/external/iproute2/ip/ |
D | iplink.c | 1062 fd = socket(PF_PACKET, SOCK_DGRAM, 0); in get_ctl_fd() 1171 s = socket(PF_PACKET, SOCK_DGRAM, 0); in get_address()
|
/external/iproute2/misc/ |
D | arpd.c | 759 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
|