Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dtcp_inq.c21 #ifndef TCP_INQ
22 #define TCP_INQ 36 macro
26 #define TCP_CM_INQ TCP_INQ
146 if (setsockopt(fd, SOL_TCP, TCP_INQ, &one, sizeof(one)) != 0) in main()
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_inq_server.pkt2 // Test TCP_INQ and TCP_CM_INQ on the server side.
19 // Accept the connection and enable TCP_INQ.
21 +0 setsockopt(4, SOL_TCP, TCP_INQ, [1], 4) = 0
H A Dtcp_inq_client.pkt2 // Test TCP_INQ and TCP_CM_INQ on the client side.
14 // Connect to the server and enable TCP_INQ.
16 +0 setsockopt(3, SOL_TCP, TCP_INQ, [1], 4) = 0
/linux/tools/include/uapi/linux/
H A Dtcp.h126 #define TCP_INQ 36 /* Notify bytes available to read as a cmsg on read */ macro
128 #define TCP_CM_INQ TCP_INQ
/linux/net/mptcp/
H A Dsockopt.c565 case TCP_INQ: in mptcp_supported_sockopt()
847 case TCP_INQ: in mptcp_setsockopt_sol_tcp()
1413 case TCP_INQ: in mptcp_getsockopt_sol_tcp()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c501 if (-1 == setsockopt(r, IPPROTO_TCP, TCP_INQ, &on, sizeof(on))) in server()
H A Dmptcp_connect.c1191 xsetsockopt(fd, IPPROTO_TCP, TCP_INQ, &on, sizeof(on)); in apply_cmsg_types()
/linux/net/ipv4/
H A Dtcp.c4133 case TCP_INQ: in do_tcp_setsockopt()
4668 case TCP_INQ: in do_tcp_getsockopt()