Home
last modified time | relevance | path

Searched refs:tcphdr (Results 101 - 125 of 419) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_check_syncookie_kern.c28 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 Dlibcxgb_cm.c54 struct tcphdr *tcp = (struct tcphdr *) in cxgb_get_4tuple()
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_ecn.c30 struct tcphdr _tcph; in match_tcp()
31 const struct tcphdr *th; in match_tcp()
H A Dnf_conntrack_sane.c68 const struct tcphdr *th; in help()
69 struct tcphdr _tcph; in help()
H A Dnf_flow_table_ip.c23 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 Dvirtio_net.h60 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 Dnf_socket_ipv4.c99 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 Dnf_socket_ipv6.c114 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 Dlibcxgb_cm.c54 struct tcphdr *tcp = (struct tcphdr *) in cxgb_get_4tuple()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_ecn.c30 struct tcphdr _tcph; in match_tcp()
31 const struct tcphdr *th; in match_tcp()
H A Dnf_conntrack_sane.c64 const struct tcphdr *th; in help()
65 struct tcphdr _tcph; in help()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_check_syncookie_kern.c28 struct tcphdr *tcph) in gen_syncookie()
53 struct tcphdr *tcph; in check_syncookie()
H A Dtest_xdp_dynptr.c21 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 Dxdpwall.c173 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 Dnf_socket_ipv4.c99 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 Dnf_socket_ipv6.c114 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 Dpedit.h14 struct tcphdr tcp;
/kernel/linux/linux-5.10/drivers/net/slip/
H A Dslhc.c239 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 Dtcp_minisocks.c93 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 Dsyncookies.c155 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 Dslhc.c239 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 Dtcp_minisocks.c86 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 Dsyncookies.c153 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 Dtcp_priv.h210 #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 Dtcp_priv.h155 #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)

Completed in 17 milliseconds

12345678910>>...17