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

/linux-4.4.14/tools/testing/selftests/net/
H A Dpsock_fanout.c262 int fds[2], fds_udp[2][2], ret; test_datapath() local
279 pair_udp_open(fds_udp[0], PORT_BASE); test_datapath()
280 pair_udp_open(fds_udp[1], PORT_BASE + port_off); test_datapath()
284 pair_udp_send(fds_udp[0], 15); test_datapath()
285 pair_udp_send_char(fds_udp[1], 5, DATA_CHAR_1); test_datapath()
289 pair_udp_send_char(fds_udp[0], 15, DATA_CHAR_1); test_datapath()
298 if (close(fds_udp[1][1]) || close(fds_udp[1][0]) || test_datapath()
299 close(fds_udp[0][1]) || close(fds_udp[0][0]) || test_datapath()

Completed in 54 milliseconds