Home
last modified time | relevance | path

Searched refs:tcphdr (Results 176 - 200 of 419) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dfexit_bpf2bpf.c164 struct tcphdr *tcp; in new_test_pkt_write_access_subprog()
H A Dtest_select_reuseport_kern.c108 struct tcphdr *th = data; in _select_by_skb_data()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h95 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 Dlibcxgb_cm.h71 sizeof(struct tcphdr) + in cxgb_best_mtu()
/kernel/linux/linux-5.10/include/net/
H A Dipv6_frag.h126 offset += sizeof(struct tcphdr); in ipv6frag_thdr_truncated()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg4()
H A Dipt_ECN.c47 struct tcphdr _tcph, *tcph; in set_ect_tcp()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg6()
/kernel/linux/linux-5.10/net/mptcp/
H A Dsyncookies.c41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
/kernel/linux/linux-6.6/include/net/
H A Dipv6_frag.h128 offset += sizeof(struct tcphdr); in ipv6frag_thdr_truncated()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.h71 sizeof(struct tcphdr) + in cxgb_best_mtu()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dfexit_bpf2bpf.c162 struct tcphdr *tcp; in new_test_pkt_write_access_subprog()
H A Dtest_select_reuseport_kern.c106 struct tcphdr *th = data; in _select_by_skb_data()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h96 static inline unsigned int tcp_hdrlen(const struct tcphdr *th) in tcp_hdrlen()
/kernel/linux/linux-6.6/net/mptcp/
H A Dsyncookies.c41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg4()
H A Dipt_ECN.c47 struct tcphdr _tcph, *tcph; in set_ect_tcp()
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg6()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_input.c268 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 Dtcp_input.c276 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 Dparse_varlen.c24 struct tcphdr *tcp = data + tp_off; in tcp()
/kernel/linux/linux-6.6/samples/bpf/
H A Dparse_varlen.c24 struct tcphdr *tcp = data + tp_off; in tcp()
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/
H A Dtcp.h97 struct tcphdr { struct
/device/soc/rockchip/common/vendor/drivers/net/ethernet/
H A Ddwmac-rk-tool.c325 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 Ddwmac-rk-tool.c339 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()

Completed in 24 milliseconds

12345678910>>...17