Searched refs:PF_PACKET (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/net/ |
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 | msg_zerocopy.c | 337 if (domain != PF_PACKET && domain != PF_RDS) in do_setup_tx() 500 if (domain == PF_PACKET) { in do_tx() 527 if (domain == PF_PACKET || protocol == IPPROTO_RAW) { in do_tx() 584 if (domain == PF_PACKET) in do_setup_rx() 687 if (cfg_cork && (domain == PF_PACKET || type != SOCK_DGRAM)) in do_test() 804 do_test(PF_PACKET, SOCK_RAW, 0); in main() 806 do_test(PF_PACKET, SOCK_DGRAM, 0); in main()
|
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 | 103 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() 380 .sll_family = PF_PACKET, in walk_tx() 397 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_tx() 734 ring->ll.sll_family = PF_PACKET; in bind_ring()
|
D | csum.c | 378 fd = socket(PF_PACKET, SOCK_RAW, 0); in open_packet() 550 fd = socket(PF_PACKET, SOCK_DGRAM, 0); in recv_prepare_packet()
|
D | psock_fanout.c | 70 fd = socket(PF_PACKET, SOCK_RAW, 0); in sock_fanout_open()
|
D | toeplitz.c | 346 fd = socket(PF_PACKET, SOCK_DGRAM, 0); in create_ring()
|
D | gro.c | 809 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender() 912 rxfd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_NONE)); in gro_receiver()
|
D | txtimestamp.c | 515 fd = socket(cfg_use_pf_packet ? PF_PACKET : family, in do_test()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 265 #define PF_PACKET AF_PACKET macro
|