Searched refs:tos_out (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/tools/testing/selftests/net/mptcp/ |
| D | mptcp_sockopt.c | 601 uint8_t tos_in, tos_out; in test_ip_tos_sockopt() local 606 r = setsockopt(fd, SOL_IP, IP_TOS, &tos_in, sizeof(tos_out)); in test_ip_tos_sockopt() 610 tos_out = 0; in test_ip_tos_sockopt() 611 s = sizeof(tos_out); in test_ip_tos_sockopt() 612 r = getsockopt(fd, SOL_IP, IP_TOS, &tos_out, &s); in test_ip_tos_sockopt() 616 if (tos_in != tos_out) in test_ip_tos_sockopt() 617 xerror("tos %x != %x socklen_t %d\n", tos_in, tos_out, s); in test_ip_tos_sockopt() 623 r = getsockopt(fd, SOL_IP, IP_TOS, &tos_out, &s); in test_ip_tos_sockopt() 630 r = getsockopt(fd, SOL_IP, IP_TOS, &tos_out, &s); in test_ip_tos_sockopt()
|