Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dpsock_fanout.c414 int fds[2], fds_udp[2][2], ret; in test_datapath() local
433 pair_udp_open(fds_udp[0], PORT_BASE); in test_datapath()
434 pair_udp_open(fds_udp[1], PORT_BASE + port_off); in test_datapath()
438 pair_udp_send(fds_udp[0], 15); in test_datapath()
439 pair_udp_send_char(fds_udp[1], 5, DATA_CHAR_1); in test_datapath()
443 pair_udp_send_char(fds_udp[0], 15, DATA_CHAR_1); in test_datapath()
452 if (close(fds_udp[1][1]) || close(fds_udp[1][0]) || in test_datapath()
453 close(fds_udp[0][1]) || close(fds_udp[0][0]) || in test_datapath()