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

/linux-4.4.14/tools/testing/selftests/net/
H A Dpsock_fanout.c256 static int test_datapath(uint16_t typeflags, int port_off, test_datapath() argument
280 pair_udp_open(fds_udp[1], PORT_BASE + port_off); test_datapath()
334 int port_off = 2, tries = 5, ret; main() local
340 ret = test_datapath(PACKET_FANOUT_HASH, port_off, main()
344 ret = test_datapath(PACKET_FANOUT_HASH, ++port_off, main()
349 port_off, expect_hash_rb[0], expect_hash_rb[1]); main()
351 port_off, expect_lb[0], expect_lb[1]); main()
353 port_off, expect_rb[0], expect_rb[1]); main()
356 port_off, expect_bpf[0], expect_bpf[1]); main()
358 port_off, expect_bpf[0], expect_bpf[1]); main()
361 ret |= test_datapath(PACKET_FANOUT_CPU, port_off, main()
365 ret |= test_datapath(PACKET_FANOUT_CPU, port_off, main()

Completed in 52 milliseconds