Home
last modified time | relevance | path

Searched refs:PF_INET (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_flow_dissector.c125 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/
Dpsock_lib.h79 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()
Dtxtimestamp.c499 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()
Dgro.c109 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 …]
Dtcp_inq.c42 case PF_INET: in setup_loopback_addr()
111 family = PF_INET; in main()
Dmsg_zerocopy.c250 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()
Dudpgso_bench_tx.c122 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()
Dso_txtime.c327 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()
Dudpgso_bench_rx.c67 case PF_INET: in setup_sockaddr()
300 cfg_family = PF_INET; in parse_opts()
Dtcp_mmap.c288 case PF_INET: in setup_sockaddr()
385 cfg_family = PF_INET; in main()
Dpsock_snd.c257 fd = socket(PF_INET, SOCK_DGRAM, 0); in setup_rx()
Dtimestamping.c383 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
Dnettest.c346 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/
Dsocket.h236 #define PF_INET AF_INET macro
/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c429 sk = socket(PF_INET, SOCK_DGRAM, 0); in ifup()