Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c14 #define TCP_ULP 31
22 err = setsockopt(c, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in init_ktls_pairs()
23 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in init_ktls_pairs()
26 err = setsockopt(p, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in init_ktls_pairs()
27 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in init_ktls_pairs()
102 err = setsockopt(s, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
103 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in test_sockmap_ktls_update_fails_when_sock_has_ulp()
169 err = setsockopt(s, IPPROTO_TCP, TCP_ULP, "tls", strlen("tls")); in test_sockmap_ktls_tx_cork()
170 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in test_sockmap_ktls_tx_cork()
15 #define TCP_ULP global() macro
H A 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/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c43 #ifndef TCP_ULP
44 #define TCP_ULP 31 macro
272 return setsockopt(sock, IPPROTO_TCP, TCP_ULP, name, strlen(name)); in do_ulp_so()
280 int ret = getsockopt(sock, IPPROTO_TCP, TCP_ULP, buf, &buflen); in sock_test_tcpulp()
/linux/tools/include/uapi/linux/
H A Dtcp.h121 #define TCP_ULP 31 /* Attach a ULP to a TCP connection */ macro
/linux/tools/testing/selftests/net/
H A Dtls.c144 ret = setsockopt(*fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in ulp_sock_pair()
148 printf("Failure setting TCP_ULP, testing without tls\n"); in ulp_sock_pair()
152 ret = setsockopt(*cfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in ulp_sock_pair()
3073 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
3080 ret = setsockopt(sfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
3090 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
3093 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
3208 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
3258 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
3267 ASSERT_EQ(setsockopt(cfd, IPPROTO_TCP, TCP_ULP, "tl in TEST()
[all...]
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c45 # define TCP_ULP global() macro
/linux/net/mptcp/
H A Dsockopt.c840 case TCP_ULP: in mptcp_setsockopt_sol_tcp()
1417 case TCP_ULP: in mptcp_getsockopt_sol_tcp()
/linux/net/ipv4/
H A Dtcp.c3867 case TCP_ULP: { in do_tcp_setsockopt()
4589 case TCP_ULP: in do_tcp_getsockopt()
/linux/net/smc/
H A Daf_smc.c3090 if (level == SOL_TCP && optname == TCP_ULP) in smc_setsockopt()