Searched refs:PF_INET (Results 1 – 15 of 15) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 125 case PF_INET: in util_printaddr() 312 case PF_INET: in build_packet() 336 case PF_INET: in build_packet() 355 cfg_l3_inner == PF_INET ? IPPROTO_IPIP in build_packet() 364 cfg_l3_inner == PF_INET ? ETH_P_IP in build_packet() 370 case PF_INET: in build_packet() 372 cfg_l3_outer == PF_INET ? IPPROTO_IPIP in build_packet() 381 cfg_l3_outer == PF_INET ? IPPROTO_IPIP in build_packet() 410 if (cfg_l3_extra == PF_INET) in setup_tx() 420 if (cfg_l3_outer == PF_INET) in setup_tx() [all …]
|
/tools/testing/selftests/net/ |
D | psock_lib.h | 79 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open() 80 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
|
D | txtimestamp.c | 499 if (family == PF_INET) in do_test() 542 if (family == PF_INET) { in do_test() 585 if (family == PF_INET) in do_test() 591 fill_header_udp(buf + off, family == PF_INET); in do_test() 610 } else if (family == PF_INET) { in do_test() 866 family == PF_INET ? "INET" : "INET6", in do_main() 911 do_listen(PF_INET, &daddr, sizeof(daddr)); in main() 912 do_main(PF_INET); in main()
|
D | gro.c | 109 if (proto == PF_INET) in setup_sock_filter() 116 if (proto == PF_INET) in setup_sock_filter() 189 } else if (proto == PF_INET) { in tcp_checksum() 236 } else if (proto == PF_INET) { in fill_networklayer() 388 if (proto == PF_INET) { in recompute_packet() 651 if (proto == PF_INET) { in send_changed_tos() 672 if (proto == PF_INET) { in send_changed_ECN() 863 if (proto == PF_INET) { in gro_sender() 890 int offset = proto == PF_INET ? 20 : 0; in gro_sender() 983 if (proto == PF_INET) { in gro_receiver() [all …]
|
D | tcp_inq.c | 42 case PF_INET: in setup_loopback_addr() 111 family = PF_INET; in main()
|
D | msg_zerocopy.c | 250 PF_INET : PF_INET6)); in do_sendmsg_corked() 301 case PF_INET: in setup_sockaddr() 497 uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6; in do_tx() 524 if (cfg_family == PF_INET) in do_tx() 633 if (cfg_family == PF_INET && type == SOCK_RAW) { in do_flush_datagram() 716 cfg_family = PF_INET; in parse_opts()
|
D | udpgso_bench_tx.c | 122 case PF_INET: in setup_sockaddr() 448 cfg_family = PF_INET; in parse_opts() 535 if (cfg_family == PF_INET) in parse_opts() 678 set_pmtu_discover(fd, cfg_family == PF_INET); in main()
|
D | so_txtime.c | 327 addr->sa_family == PF_INET ? '4' : '6', in do_test_tx() 369 case PF_INET: in setup_sockaddr() 446 domain = PF_INET; in parse_opts()
|
D | udpgso_bench_rx.c | 67 case PF_INET: in setup_sockaddr() 300 cfg_family = PF_INET; in parse_opts()
|
D | tcp_mmap.c | 288 case PF_INET: in setup_sockaddr() 385 cfg_family = PF_INET; in main()
|
D | psock_snd.c | 257 fd = socket(PF_INET, SOCK_DGRAM, 0); in setup_rx()
|
D | timestamping.c | 383 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
|
D | nettest.c | 346 sd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); in get_ifidx() 1272 sd = socket(PF_INET, SOCK_DGRAM, 0); in msock_init()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 236 #define PF_INET AF_INET macro
|
/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 429 sk = socket(PF_INET, SOCK_DGRAM, 0); in ifup()
|