Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.c736 uint8_t tos_in, tos_out; in test_ip_tos_sockopt() local
740 tos_in = rand() & 0xfc; in test_ip_tos_sockopt()
741 r = setsockopt(fd, SOL_IP, IP_TOS, &tos_in, sizeof(tos_out)); in test_ip_tos_sockopt()
751 if (tos_in != tos_out) in test_ip_tos_sockopt()
752 xerror("tos %x != %x socklen_t %d\n", tos_in, tos_out, s); in test_ip_tos_sockopt()