/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 109 .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/ |
D | socket.c | 28 { AF_INET, SOCK_STREAM, IPPROTO_TCP, 0, 1 }, 29 { AF_INET, SOCK_DGRAM, IPPROTO_TCP, -EPROTONOSUPPORT, 1 },
|
D | tcp_mmap.c | 161 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()
|
D | tls.c | 66 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 …]
|
D | reuseaddr_conflict.c | 51 if ((fd = socket(family, SOCK_STREAM, IPPROTO_TCP)) < 0) { in open_port()
|
D | nettest.c | 216 rc = setsockopt(sd, IPPROTO_TCP, TCP_MD5SIG, &md5sig, sizeof(md5sig)); in tcp_md5sig() 1727 args.protocol = IPPROTO_TCP; in main()
|
/tools/include/uapi/linux/ |
D | in.h | 37 IPPROTO_TCP = 6, /* Transmission Control Protocol */ enumerator 38 #define IPPROTO_TCP IPPROTO_TCP macro
|
/tools/testing/selftests/bpf/progs/ |
D | test_tcpbpf_kern.c | 97 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()
|
D | test_tc_edt.c | 96 if (iph->protocol == IPPROTO_TCP) in handle_ipv4()
|
D | test_tcp_check_syncookie_kern.c | 102 if (ipv6h->nexthdr != IPPROTO_TCP) in check_syncookie()
|
D | test_sk_lookup_kern.c | 50 if (data + nh_off + ihl_len > data_end || proto != IPPROTO_TCP) in get_tuple()
|
D | test_select_reuseport_kern.c | 107 if (data_check.ip_protocol == IPPROTO_TCP) { in _select_by_skb_data()
|
D | test_xdp.c | 55 case IPPROTO_TCP: in get_dport()
|
D | test_xdp_loop.c | 51 case IPPROTO_TCP: in get_dport()
|
D | test_sock_fields_kern.c | 157 if (!sk || sk->family != AF_INET6 || sk->protocol != IPPROTO_TCP || in egress_read_sock_fields()
|
D | bpf_flow.c | 212 case IPPROTO_TCP: in parse_ip_proto()
|
D | test_tc_tunnel.c | 122 if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) in encap_ipv4()
|
D | test_xdp_noinline.c | 721 if (protocol == IPPROTO_TCP) { in process_packet() 759 if (pckt.flow.proto == IPPROTO_TCP) { in process_packet()
|
D | test_l4lb.c | 396 if (protocol == IPPROTO_TCP) { in process_packet()
|
D | test_l4lb_noinline.c | 396 if (protocol == IPPROTO_TCP) { in process_packet()
|
/tools/testing/selftests/bpf/ |
D | test_sock_fields.c | 186 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()
|
D | test_progs.c | 172 .iph.protocol = IPPROTO_TCP, 180 .iph.nexthdr = IPPROTO_TCP,
|
/tools/usb/usbip/src/ |
D | usbip_network.c | 227 ret = setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val)); in usbip_net_set_nodelay()
|
/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 54 static int cfg_ipproto = IPPROTO_TCP; 425 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, in do_test()
|
D | rxtimestamp.c | 64 { "tcp", SOCK_STREAM, IPPROTO_TCP },
|