Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsockmap_ktls.c11 #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()
Dsetget_sockopt.c112 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/
Dtls.c142 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/
Dmptcp_connect.c39 #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/
Dtcp.h121 #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ macro
/Linux-v6.6/include/uapi/linux/
Dtcp.h121 #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ macro
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sockmap.c44 #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/
Dsockopt.c802 case TCP_ULP: in mptcp_setsockopt_sol_tcp()
1318 case TCP_ULP: in mptcp_getsockopt_sol_tcp()
/Linux-v6.6/Documentation/networking/
Dtls.rst24 setsockopt(sock, SOL_TCP, TCP_ULP, "tls", sizeof("tls"));
/Linux-v6.6/net/ipv4/
Dtcp.c3411 case TCP_ULP: { in do_tcp_setsockopt()
4037 case TCP_ULP: in do_tcp_getsockopt()
/Linux-v6.6/net/smc/
Daf_smc.c3021 if (level == SOL_TCP && optname == TCP_ULP) in smc_setsockopt()