Searched refs:port_off (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/tools/testing/selftests/net/ |
D | psock_fanout.c | 207 static int test_datapath(uint16_t typeflags, int port_off, in test_datapath() argument 225 pair_udp_open(fds_udp[1], PORT_BASE + port_off); in test_datapath() 278 int port_off = 2, tries = 5, ret; in main() local 284 ret = test_datapath(PACKET_FANOUT_HASH, port_off, in main() 288 ret = test_datapath(PACKET_FANOUT_HASH, ++port_off, in main() 293 port_off, expect_hash_rb[0], expect_hash_rb[1]); in main() 295 port_off, expect_lb[0], expect_lb[1]); in main() 297 port_off, expect_rb[0], expect_rb[1]); in main() 300 ret |= test_datapath(PACKET_FANOUT_CPU, port_off, in main() 304 ret |= test_datapath(PACKET_FANOUT_CPU, port_off, in main()
|