/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 113 .iph.protocol = IPPROTO_TCP, 123 .ip_proto = IPPROTO_TCP, 133 .iph.nexthdr = IPPROTO_TCP, 143 .ip_proto = IPPROTO_TCP, 155 .iph.protocol = IPPROTO_TCP, 165 .ip_proto = IPPROTO_TCP, 177 .iph.nexthdr = IPPROTO_TCP, 188 .ip_proto = IPPROTO_TCP, 199 .iph.protocol = IPPROTO_TCP, 211 .ip_proto = IPPROTO_TCP, [all …]
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_socket_ipv4.c | 43 if (inside_iph->protocol != IPPROTO_TCP && in extract_icmp4_fields() 73 case IPPROTO_TCP: in nf_socket_get_sock_v4() 98 if (iph->protocol == IPPROTO_UDP || iph->protocol == IPPROTO_TCP) { in nf_sk_lookup_slow_v4() 114 doff = iph->protocol == IPPROTO_TCP ? in nf_sk_lookup_slow_v4() 140 dport = (iph->protocol == IPPROTO_TCP) ? in nf_sk_lookup_slow_v4()
|
D | nf_reject_ipv4.c | 24 if (ip_hdr(oldskb)->protocol != IPPROTO_TCP) in nf_reject_ip_tcphdr_get() 37 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get() 144 niph = nf_reject_iphdr_put(nskb, oldskb, IPPROTO_TCP, in nf_send_reset()
|
D | ipt_SYNPROXY.c | 21 if (nf_ip_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg4() 70 if (e->ip.proto != IPPROTO_TCP || in synproxy_tg4_check()
|
D | ipt_ECN.c | 86 ip_hdr(skb)->protocol == IPPROTO_TCP) in ecn_tg() 105 (e->ip.proto != IPPROTO_TCP || (e->ip.invflags & XT_INV_PROTO))) { in ecn_tg_check()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_socket_ipv6.c | 57 if (inside_nexthdr != IPPROTO_TCP && in extract_icmp6_fields() 85 case IPPROTO_TCP: in nf_socket_get_sock_v6() 113 if (tproto == IPPROTO_UDP || tproto == IPPROTO_TCP) { in nf_sk_lookup_slow_v6() 127 doff = tproto == IPPROTO_TCP ? in nf_sk_lookup_slow_v6()
|
D | nf_reject_ipv6.c | 36 if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) { in nf_reject_ip6_tcphdr_get() 54 if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) { in nf_reject_ip6_tcphdr_get() 123 sizeof(struct tcphdr), IPPROTO_TCP, in nf_reject_ip6_tcphdr_put() 167 fl6.flowi6_proto = IPPROTO_TCP; in nf_send_reset6() 208 ip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_TCP, in nf_send_reset6()
|
D | ip6t_SYNPROXY.c | 21 if (nf_ip6_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg6() 73 e->ipv6.proto != IPPROTO_TCP || in synproxy_tg6_check()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | tcpv6_offload.c | 20 skb_gro_checksum_validate(skb, IPPROTO_TCP, in tcp6_gro_receive() 77 return inet6_add_offload(&tcpv6_offload, IPPROTO_TCP); in tcpv6_offload_init()
|
/kernel/linux/linux-5.10/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 },
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | in.h | 21 IPPROTO_TCP = 6, enumerator 22 #define IPPROTO_TCP IPPROTO_TCP macro
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_sane.c | 150 IPPROTO_TCP, NULL, &reply->port); in help() 197 nf_ct_helper_init(&sane[2 * i], AF_INET, IPPROTO_TCP, in nf_conntrack_sane_init() 201 nf_ct_helper_init(&sane[2 * i + 1], AF_INET6, IPPROTO_TCP, in nf_conntrack_sane_init()
|
D | xt_tcpmss.c | 83 .proto = IPPROTO_TCP, 91 .proto = IPPROTO_TCP,
|
D | xt_TCPOPTSTRIP.c | 117 .proto = IPPROTO_TCP, 127 .proto = IPPROTO_TCP,
|
D | xt_ecn.c | 96 (ip->proto != IPPROTO_TCP || ip->invflags & IPT_INV_PROTO)) { in ecn_mt_check4() 138 (ip->proto != IPPROTO_TCP || ip->invflags & IP6T_INV_PROTO)) { in ecn_mt_check6()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | in.h | 37 IPPROTO_TCP = 6, /* Transmission Control Protocol */ enumerator 38 #define IPPROTO_TCP IPPROTO_TCP macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | in.h | 37 IPPROTO_TCP = 6, /* Transmission Control Protocol */ enumerator 38 #define IPPROTO_TCP IPPROTO_TCP macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | in.h | 35 IPPROTO_TCP = 6, enumerator 36 #define IPPROTO_TCP IPPROTO_TCP macro
|
/kernel/linux/linux-5.10/include/linux/ |
D | sock_diag.h | 57 case IPPROTO_TCP: in sock_diag_destroy_group() 69 case IPPROTO_TCP: in sock_diag_destroy_group()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 24 case IPPROTO_TCP: in rmnet_map_get_csum_field() 95 case IPPROTO_TCP: in rmnet_map_ipv4_dl_csum_trailer() 163 case IPPROTO_TCP: in rmnet_map_ipv6_dl_csum_trailer() 189 if (ip4h->protocol == IPPROTO_TCP || ip4h->protocol == IPPROTO_UDP) { in rmnet_map_complement_ipv4_txporthdr_csum_field() 231 if (ip6h->nexthdr == IPPROTO_TCP || ip6h->nexthdr == IPPROTO_UDP) { in rmnet_map_complement_ipv6_txporthdr_csum_field()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_getport.c | 29 case IPPROTO_TCP: { in get_port() 111 case IPPROTO_TCP: in ip_set_get_ip4_port()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 147 .ai_protocol = IPPROTO_TCP, in sock_listen_mptcp() 197 .ai_protocol = IPPROTO_TCP, in sock_test_tcpulp() 208 sock = socket(a->ai_family, a->ai_socktype, IPPROTO_TCP); in sock_test_tcpulp() 213 ret = setsockopt(sock, IPPROTO_TCP, TCP_ULP, "mptcp", in sock_test_tcpulp() 234 .ai_protocol = IPPROTO_TCP, in sock_connect_mptcp() 775 return IPPROTO_TCP; in parse_proto()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | parse_varlen.c | 71 if (iph->protocol == IPPROTO_TCP) in parse_ipv4() 105 if (nexthdr == IPPROTO_TCP) in parse_ipv6()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tcpbpf_kern.c | 138 v = bpf_getsockopt(skops, IPPROTO_TCP, TCP_SAVED_SYN, in bpf_testcb() 182 v = bpf_setsockopt(skops, IPPROTO_TCP, TCP_SAVE_SYN, in bpf_testcb()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_arfs.c | 321 fltr_info->flow_type = (ip_proto == IPPROTO_TCP) ? in ice_arfs_build_entry() 330 fltr_info->flow_type = (ip_proto == IPPROTO_TCP) ? in ice_arfs_build_entry() 369 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set() 373 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set() 430 if (ip_proto != IPPROTO_TCP && ip_proto != IPPROTO_UDP) in ice_rx_flow_steer()
|