Home
last modified time | relevance | path

Searched refs:IPPROTO_TCP (Results 1 – 25 of 26) sorted by relevance

12

/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c109 .iph.protocol = IPPROTO_TCP,
119 .ip_proto = IPPROTO_TCP,
129 .iph.nexthdr = IPPROTO_TCP,
139 .ip_proto = IPPROTO_TCP,
151 .iph.protocol = IPPROTO_TCP,
161 .ip_proto = IPPROTO_TCP,
173 .iph.nexthdr = IPPROTO_TCP,
184 .ip_proto = IPPROTO_TCP,
195 .iph.protocol = IPPROTO_TCP,
207 .ip_proto = IPPROTO_TCP,
[all …]
/tools/testing/selftests/net/
Dsocket.c28 { AF_INET, SOCK_STREAM, IPPROTO_TCP, 0, 1 },
29 { AF_INET, SOCK_DGRAM, IPPROTO_TCP, -EPROTONOSUPPORT, 1 },
Dtcp_mmap.c161 res = getsockopt(fd, IPPROTO_TCP, TCP_ZEROCOPY_RECEIVE, in child_thread()
369 setsockopt(fdlisten, IPPROTO_TCP, TCP_MAXSEG, in main()
401 setsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, &mss, sizeof(mss)) == -1) { in main()
Dtls.c66 ret = setsockopt(self->fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in FIXTURE_SETUP()
74 ret = setsockopt(self->cfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in FIXTURE_SETUP()
136 ret = setsockopt(self->fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in FIXTURE_SETUP()
152 ret = setsockopt(self->cfd, IPPROTO_TCP, TCP_ULP, "tls", in FIXTURE_SETUP()
1172 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
1179 ret = setsockopt(sfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
1189 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
1192 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
1232 ret = setsockopt(fd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls")); in TEST()
1248 ret = setsockopt(cfd, IPPROTO_TCP, TCP_ULP, "tls", in TEST()
[all …]
Dreuseaddr_conflict.c51 if ((fd = socket(family, SOCK_STREAM, IPPROTO_TCP)) < 0) { in open_port()
Dnettest.c216 rc = setsockopt(sd, IPPROTO_TCP, TCP_MD5SIG, &md5sig, sizeof(md5sig)); in tcp_md5sig()
1727 args.protocol = IPPROTO_TCP; in main()
/tools/include/uapi/linux/
Din.h37 IPPROTO_TCP = 6, /* Transmission Control Protocol */ enumerator
38 #define IPPROTO_TCP IPPROTO_TCP macro
/tools/testing/selftests/bpf/progs/
Dtest_tcpbpf_kern.c97 v = bpf_getsockopt(skops, IPPROTO_TCP, TCP_SAVED_SYN, in bpf_testcb()
141 v = bpf_setsockopt(skops, IPPROTO_TCP, TCP_SAVE_SYN, in bpf_testcb()
Dtest_tc_edt.c96 if (iph->protocol == IPPROTO_TCP) in handle_ipv4()
Dtest_tcp_check_syncookie_kern.c102 if (ipv6h->nexthdr != IPPROTO_TCP) in check_syncookie()
Dtest_sk_lookup_kern.c50 if (data + nh_off + ihl_len > data_end || proto != IPPROTO_TCP) in get_tuple()
Dtest_select_reuseport_kern.c107 if (data_check.ip_protocol == IPPROTO_TCP) { in _select_by_skb_data()
Dtest_xdp.c55 case IPPROTO_TCP: in get_dport()
Dtest_xdp_loop.c51 case IPPROTO_TCP: in get_dport()
Dtest_sock_fields_kern.c157 if (!sk || sk->family != AF_INET6 || sk->protocol != IPPROTO_TCP || in egress_read_sock_fields()
Dbpf_flow.c212 case IPPROTO_TCP: in parse_ip_proto()
Dtest_tc_tunnel.c122 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) in encap_ipv4()
Dtest_xdp_noinline.c721 if (protocol == IPPROTO_TCP) { in process_packet()
759 if (pckt.flow.proto == IPPROTO_TCP) { in process_packet()
Dtest_l4lb.c396 if (protocol == IPPROTO_TCP) { in process_packet()
Dtest_l4lb_noinline.c396 if (protocol == IPPROTO_TCP) { in process_packet()
/tools/testing/selftests/bpf/
Dtest_sock_fields.c186 listen_sk.protocol != IPPROTO_TCP || in check_result()
200 srv_sk.protocol != IPPROTO_TCP || in check_result()
213 cli_sk.protocol != IPPROTO_TCP || in check_result()
Dtest_progs.c172 .iph.protocol = IPPROTO_TCP,
180 .iph.nexthdr = IPPROTO_TCP,
/tools/usb/usbip/src/
Dusbip_network.c227 ret = setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val)); in usbip_net_set_nodelay()
/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c54 static int cfg_ipproto = IPPROTO_TCP;
425 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, in do_test()
Drxtimestamp.c64 { "tcp", SOCK_STREAM, IPPROTO_TCP },

12