/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | fexit_bpf2bpf.c | 164 struct tcphdr *tcp; in new_test_pkt_write_access_subprog()
|
H A D | test_select_reuseport_kern.c | 108 struct tcphdr *th = data; in _select_by_skb_data()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tcp_hdr_options.h | 95 static inline unsigned int tcp_hdrlen(const struct tcphdr *th) in tcp_hdrlen()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.h | 71 sizeof(struct tcphdr) + in cxgb_best_mtu()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ipv6_frag.h | 126 offset += sizeof(struct tcphdr); in ipv6frag_thdr_truncated()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ipt_SYNPROXY.c | 19 struct tcphdr *th, _th; in synproxy_tg4()
|
H A D | ipt_ECN.c | 47 struct tcphdr _tcph, *tcph; in set_ect_tcp()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 19 struct tcphdr *th, _th; in synproxy_tg6()
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | syncookies.c | 41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ipv6_frag.h | 128 offset += sizeof(struct tcphdr); in ipv6frag_thdr_truncated()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.h | 71 sizeof(struct tcphdr) + in cxgb_best_mtu()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | fexit_bpf2bpf.c | 162 struct tcphdr *tcp; in new_test_pkt_write_access_subprog()
|
H A D | test_select_reuseport_kern.c | 106 struct tcphdr *th = data; in _select_by_skb_data()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tcp_hdr_options.h | 96 static inline unsigned int tcp_hdrlen(const struct tcphdr *th) in tcp_hdrlen()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | syncookies.c | 41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | ipt_SYNPROXY.c | 19 struct tcphdr *th, _th; in synproxy_tg4()
|
H A D | ipt_ECN.c | 47 struct tcphdr _tcph, *tcph; in set_ect_tcp()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 19 struct tcphdr *th, _th; in synproxy_tg6()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_input.c | 268 if (len >= TCP_MSS_DEFAULT + sizeof(struct tcphdr) || in tcp_measure_rcv_mss() 274 (len >= TCP_MIN_MSS + sizeof(struct tcphdr) && in tcp_measure_rcv_mss() 390 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack() 396 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn() 402 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo() 3963 static bool smc_parse_options(const struct tcphdr *th, in smc_parse_options() 3984 static u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) in tcp_parse_mss_option() 3987 int length = (th->doff * 4) - sizeof(struct tcphdr); in tcp_parse_mss_option() 4034 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options() 4035 int length = (th->doff * 4) - sizeof(struct tcphdr); in tcp_parse_options() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_input.c | 276 if (len >= TCP_MSS_DEFAULT + sizeof(struct tcphdr) || in tcp_measure_rcv_mss() 282 (len >= TCP_MIN_MSS + sizeof(struct tcphdr) && in tcp_measure_rcv_mss() 398 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_synack() 404 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_syn() 410 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo() 3997 static bool smc_parse_options(const struct tcphdr *th, in smc_parse_options() 4018 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) in tcp_parse_mss_option() 4021 int length = (th->doff * 4) - sizeof(struct tcphdr); in tcp_parse_mss_option() 4069 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options() 4070 int length = (th->doff * 4) - sizeof(struct tcphdr); in tcp_parse_options() [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | parse_varlen.c | 24 struct tcphdr *tcp = data + tp_off; in tcp()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | parse_varlen.c | 24 struct tcphdr *tcp = data + tp_off; in tcp()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
H A D | tcp.h | 97 struct tcphdr { struct
|
/device/soc/rockchip/common/vendor/drivers/net/ethernet/ |
H A D | dwmac-rk-tool.c | 325 struct tcphdr *thdr = NULL; in dwmac_rk_get_skb() 335 size += sizeof(struct tcphdr); in dwmac_rk_get_skb() 367 thdr = (struct tcphdr *)skb_put(skb, sizeof(*thdr)); in dwmac_rk_get_skb() 388 thdr->doff = sizeof(struct tcphdr) / 0x04; in dwmac_rk_get_skb() 448 skb->csum_offset = offsetof(struct tcphdr, check); in dwmac_rk_get_skb() 464 struct tcphdr *thdr; in dwmac_rk_loopback_validate() 492 thdr = (struct tcphdr *)((u8 *)ihdr + 0x04 * ihdr->ihl); in dwmac_rk_loopback_validate()
|
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-rk-tool.c | 339 struct tcphdr *thdr = NULL; in dwmac_rk_get_skb() 349 size += sizeof(struct tcphdr); in dwmac_rk_get_skb() 378 thdr = (struct tcphdr *)skb_put(skb, sizeof(*thdr)); in dwmac_rk_get_skb() 398 thdr->doff = sizeof(struct tcphdr) / 4; in dwmac_rk_get_skb() 457 skb->csum_offset = offsetof(struct tcphdr, check); in dwmac_rk_get_skb() 475 struct tcphdr *thdr; in dwmac_rk_loopback_validate() 498 thdr = (struct tcphdr *)((u8 *)ihdr + 4 * ihdr->ihl); in dwmac_rk_loopback_validate()
|