/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_check_syncookie_kern.c | 28 struct tcphdr *tcph) in gen_syncookie() 53 struct tcphdr *tcph; in check_syncookie()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 54 struct tcphdr *tcp = (struct tcphdr *) in cxgb_get_4tuple()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_ecn.c | 30 struct tcphdr _tcph; in match_tcp() 31 const struct tcphdr *th; in match_tcp()
|
H A D | nf_conntrack_sane.c | 68 const struct tcphdr *th; in help() 69 struct tcphdr _tcph; in help()
|
H A D | nf_flow_table_ip.c | 23 struct tcphdr *tcph; in nf_flow_state_check() 40 struct tcphdr *tcph; in nf_flow_nat_ip_tcp() 181 hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ip() 318 struct tcphdr *tcph; in nf_flow_nat_ipv6_tcp() 453 hdrsize = sizeof(struct tcphdr); in nf_flow_tuple_ipv6()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | virtio_net.h | 60 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb() 65 thlen = sizeof(struct tcphdr); in virtio_net_hdr_to_skb()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | nf_socket_ipv4.c | 99 struct tcphdr _hdr; in nf_sk_lookup_slow_v4() 115 ip_hdrlen(skb) + __tcp_hdrlen((struct tcphdr *)hp) : in nf_sk_lookup_slow_v4()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nf_socket_ipv6.c | 114 struct tcphdr _hdr; in nf_sk_lookup_slow_v6() 128 thoff + __tcp_hdrlen((struct tcphdr *)hp) : in nf_sk_lookup_slow_v6()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 54 struct tcphdr *tcp = (struct tcphdr *) in cxgb_get_4tuple()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_ecn.c | 30 struct tcphdr _tcph; in match_tcp() 31 const struct tcphdr *th; in match_tcp()
|
H A D | nf_conntrack_sane.c | 64 const struct tcphdr *th; in help() 65 struct tcphdr _tcph; in help()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_check_syncookie_kern.c | 28 struct tcphdr *tcph) in gen_syncookie() 53 struct tcphdr *tcph; in check_syncookie()
|
H A D | test_xdp_dynptr.c | 21 const size_t tcphdr_sz = sizeof(struct tcphdr); 52 struct tcphdr *th; in get_dport() 57 th = (struct tcphdr *)trans_data; in get_dport()
|
H A D | xdpwall.c | 173 static __always_inline bool tcphdr_only_contains_flag(struct tcphdr *tcp, in tcphdr_only_contains_flag() 181 struct tcphdr *tcp) { in set_tcp_flags() 193 struct tcphdr *tcp = transport_hdr; in parse_tcp()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | nf_socket_ipv4.c | 99 struct tcphdr _hdr; in nf_sk_lookup_slow_v4() 115 ip_hdrlen(skb) + __tcp_hdrlen((struct tcphdr *)hp) : in nf_sk_lookup_slow_v4()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nf_socket_ipv6.c | 114 struct tcphdr _hdr; in nf_sk_lookup_slow_v6() 128 thoff + __tcp_hdrlen((struct tcphdr *)hp) : in nf_sk_lookup_slow_v6()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | pedit.h | 14 struct tcphdr tcp;
|
/kernel/linux/linux-5.10/drivers/net/slip/ |
H A D | slhc.c | 239 struct tcphdr *th, *oth; in slhc_compress() 267 th = (struct tcphdr *)(icp + nlen); in slhc_compress() 268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress() 497 struct tcphdr *thp; in slhc_uncompress() 684 memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4); in slhc_remember()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_minisocks.c | 93 const struct tcphdr *th) in tcp_timewait_state_process() 528 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child() 531 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child() 579 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() 585 if (th->doff > (sizeof(struct tcphdr)>>2)) { in tcp_check_req()
|
H A D | syncookies.c | 155 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() 175 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() 184 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_check() 328 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
|
/kernel/linux/linux-6.6/drivers/net/slip/ |
H A D | slhc.c | 239 struct tcphdr *th, *oth; in slhc_compress() 267 th = (struct tcphdr *)(icp + nlen); in slhc_compress() 268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress() 497 struct tcphdr *thp; in slhc_uncompress() 684 memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4); in slhc_remember()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_minisocks.c | 86 const struct tcphdr *th) in tcp_timewait_state_process() 555 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child() 558 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child() 605 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() 611 if (th->doff > (sizeof(struct tcphdr)>>2)) { in tcp_check_req()
|
H A D | syncookies.c | 153 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() 173 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() 182 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_check() 326 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/ |
H A D | tcp_priv.h | 210 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1U : 0U)) 363 struct tcp_hdr *tcphdr; /* the TCP header */ member 603 void tcp_debug_print(struct tcp_hdr *tcphdr); 609 # define tcp_debug_print(tcphdr)
|
/third_party/lwip/src/include/lwip/priv/ |
H A D | tcp_priv.h | 155 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1U : 0U)) 273 struct tcp_hdr *tcphdr; /* the TCP header */ member 495 void tcp_debug_print(struct tcp_hdr *tcphdr); 501 # define tcp_debug_print(tcphdr)
|