Home
last modified time | relevance | path

Searched refs:port_off (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dpsock_fanout.c408 static int test_datapath(uint16_t typeflags, int port_off, in test_datapath() argument
418 (uint16_t)(PORT_BASE + port_off)); in test_datapath()
434 pair_udp_open(fds_udp[1], PORT_BASE + port_off); in test_datapath()
489 int port_off = 2, tries = 20, ret; in main() local
499 ret = test_datapath(PACKET_FANOUT_HASH, port_off, in main()
503 ret = test_datapath(PACKET_FANOUT_HASH, ++port_off, in main()
512 port_off, expect_hash_rb[0], expect_hash_rb[1]); in main()
514 port_off, expect_lb[0], expect_lb[1]); in main()
516 port_off, expect_rb[0], expect_rb[1]); in main()
519 port_off, expect_bpf[0], expect_bpf[1]); in main()
[all …]
/linux/tools/testing/selftests/net/tcp_ao/
H A Dbench-lookups.c292 static void bench_connect_client(size_t port_off, struct bench_tests *bt, in bench_connect_client() argument
319 measure_call(con, connect_client, sk, (void *)&port_off); in bench_connect_client()