Searched refs:TCP_ULP (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_ktls.c | 11 #define TCP_ULP 31 macro 62 err = setsockopt(cli, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in test_sockmap_ktls_disconnect_after_delete() 118 err = setsockopt(s, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
|
D | setget_sockopt.c | 112 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in test_ktls() 115 ret = setsockopt(cfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in test_ktls()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | tls.c | 142 ret = setsockopt(*fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in ulp_sock_pair() 150 ret = setsockopt(*cfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in ulp_sock_pair() 1899 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST() 1906 ret = setsockopt(sfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST() 1916 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST() 1919 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST() 2034 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST() 2084 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST() 2093 ASSERT_EQ(setsockopt(cfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")), 0); in TEST()
|
/Linux-v6.6/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 39 #ifndef TCP_ULP 40 #define TCP_ULP 31 macro 253 return setsockopt(sock, IPPROTO_TCP, TCP_ULP, name, strlen(name)); in do_ulp_so() 261 int ret = getsockopt(sock, IPPROTO_TCP, TCP_ULP, buf, &buflen); in sock_test_tcpulp()
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | tcp.h | 121 #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ macro
|
/Linux-v6.6/include/uapi/linux/ |
D | tcp.h | 121 #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ macro
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 44 #ifndef TCP_ULP 45 # define TCP_ULP 31 macro 269 err = setsockopt(s, 6, TCP_ULP, "tls", sizeof("tls")); in sockmap_init_ktls()
|
/Linux-v6.6/net/mptcp/ |
D | sockopt.c | 802 case TCP_ULP: in mptcp_setsockopt_sol_tcp() 1318 case TCP_ULP: in mptcp_getsockopt_sol_tcp()
|
/Linux-v6.6/Documentation/networking/ |
D | tls.rst | 24 setsockopt(sock, SOL_TCP, TCP_ULP, "tls", sizeof("tls"));
|
/Linux-v6.6/net/ipv4/ |
D | tcp.c | 3411 case TCP_ULP: { in do_tcp_setsockopt() 4037 case TCP_ULP: in do_tcp_getsockopt()
|
/Linux-v6.6/net/smc/ |
D | af_smc.c | 3021 if (level == SOL_TCP && optname == TCP_ULP) in smc_setsockopt()
|