Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dip_defrag.c336 int fd_tx_raw, fd_rx_udp; in run_test() local
354 fd_rx_udp = socket(addr->sa_family, SOCK_DGRAM, 0); in run_test()
355 if (fd_rx_udp == -1) in run_test()
357 if (bind(fd_rx_udp, addr, alen)) in run_test()
360 if (setsockopt(fd_rx_udp, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) in run_test()
377 recv_validate_udp(fd_rx_udp); in run_test()
388 recv_validate_udp(fd_rx_udp); in run_test()
398 if (close(fd_rx_udp)) in run_test()