Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c113 .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/
Dnf_socket_ipv4.c43 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()
Dnf_reject_ipv4.c24 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()
Dipt_SYNPROXY.c21 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()
Dipt_ECN.c86 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/
Dnf_socket_ipv6.c57 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()
Dnf_reject_ipv6.c36 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()
Dip6t_SYNPROXY.c21 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/
Dtcpv6_offload.c20 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/
Dsocket.c28 { 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/
Din.h21 IPPROTO_TCP = 6, enumerator
22 #define IPPROTO_TCP IPPROTO_TCP macro
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_sane.c150 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()
Dxt_tcpmss.c83 .proto = IPPROTO_TCP,
91 .proto = IPPROTO_TCP,
Dxt_TCPOPTSTRIP.c117 .proto = IPPROTO_TCP,
127 .proto = IPPROTO_TCP,
Dxt_ecn.c96 (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/
Din.h37 IPPROTO_TCP = 6, /* Transmission Control Protocol */ enumerator
38 #define IPPROTO_TCP IPPROTO_TCP macro
/kernel/linux/linux-5.10/include/uapi/linux/
Din.h37 IPPROTO_TCP = 6, /* Transmission Control Protocol */ enumerator
38 #define IPPROTO_TCP IPPROTO_TCP macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Din.h35 IPPROTO_TCP = 6, enumerator
36 #define IPPROTO_TCP IPPROTO_TCP macro
/kernel/linux/linux-5.10/include/linux/
Dsock_diag.h57 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/
Drmnet_map_data.c24 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/
Dip_set_getport.c29 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/
Dmptcp_connect.c147 .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/
Dparse_varlen.c71 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/
Dtest_tcpbpf_kern.c138 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/
Dice_arfs.c321 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()

12345678910>>...14