Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.c721 uint8_t tos_in, tos_out; in test_ip_tos_sockopt() local
726 r = setsockopt(fd, SOL_IP, IP_TOS, &tos_in, sizeof(tos_out)); in test_ip_tos_sockopt()
730 tos_out = 0; in test_ip_tos_sockopt()
731 s = sizeof(tos_out); in test_ip_tos_sockopt()
732 r = getsockopt(fd, SOL_IP, IP_TOS, &tos_out, &s); in test_ip_tos_sockopt()
736 if (tos_in != tos_out) in test_ip_tos_sockopt()
737 xerror("tos %x != %x socklen_t %d\n", tos_in, tos_out, s); in test_ip_tos_sockopt()
743 r = getsockopt(fd, SOL_IP, IP_TOS, &tos_out, &s); in test_ip_tos_sockopt()
750 r = getsockopt(fd, SOL_IP, IP_TOS, &tos_out, &s); in test_ip_tos_sockopt()