/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 377 struct tcphdr *th; in handle_write_hdr_opt() 468 struct tcphdr *th; in handle_passive_estab() 534 struct tcphdr *th; in handle_parse_hdr()
|
H A D | test_xdp.c | 51 struct tcphdr *th; in get_dport() 56 th = (struct tcphdr *)trans_data; in get_dport()
|
H A D | test_xdp_loop.c | 47 struct tcphdr *th; in get_dport() 52 th = (struct tcphdr *)trans_data; in get_dport()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_ftp.c | 68 struct tcphdr *th = (struct tcphdr *)((char *)skb->data + ipvsh->len); in ip_vs_ftp_data_ptr() 70 if ((th->doff << 2) < sizeof(struct tcphdr)) in ip_vs_ftp_data_ptr()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 377 struct tcphdr *th; in handle_write_hdr_opt() 468 struct tcphdr *th; in handle_passive_estab() 534 struct tcphdr *th; in handle_parse_hdr()
|
H A D | verifier_netfilter_ctx.c | 96 const struct tcphdr *th; in with_valid_ctx_access_test6()
|
H A D | test_xdp.c | 49 struct tcphdr *th; in get_dport() 54 th = (struct tcphdr *)trans_data; in get_dport()
|
H A D | test_xdp_loop.c | 45 struct tcphdr *th; in get_dport() 50 th = (struct tcphdr *)trans_data; in get_dport()
|
H A D | xdp_synproxy_kern.c | 272 static __always_inline bool tscookie_init(struct tcphdr *tcp_header, in tscookie_init() 369 struct tcphdr *tcp; 512 static __always_inline void tcp_gen_synack(struct tcphdr *tcp_header, in tcp_gen_synack() 670 struct tcphdr *new_tcp_header; in syncookie_handle_syn()
|
H A D | test_tc_tunnel.c | 97 struct tcphdr tcph; in __encap_ipv4() 265 struct tcphdr tcph; in __encap_ipv6() 374 struct tcphdr tcph; in encap_ipv6_ipip6()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_ftp.c | 68 struct tcphdr *th = (struct tcphdr *)((char *)skb->data + ipvsh->len); in ip_vs_ftp_data_ptr() 70 if ((th->doff << 2) < sizeof(struct tcphdr)) in ip_vs_ftp_data_ptr()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | tcp.h | 386 const struct tcphdr *th); 432 const u8 *tcp_parse_md5sig_option(const struct tcphdr *th); 438 struct tcphdr *th, u32 *cookie); 440 struct tcphdr *th, u32 *cookie); 441 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss); 444 struct sock *sk, struct tcphdr *th); 486 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, 571 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, 581 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, 586 const struct tcphdr *t [all...] |
H A D | slhc_vj.h | 133 struct tcphdr cs_tcp;
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_output.c | 363 tcp_ecn_make_synack(const struct request_sock *req, struct tcphdr *th) in tcp_ecn_make_synack() 373 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() 454 static void mptcp_options_write(struct tcphdr *th, __be32 *ptr, in mptcp_options_write() 616 static void tcp_options_write(struct tcphdr *th, struct tcp_sock *tp, in tcp_options_write() 1254 struct tcphdr *th; in __tcp_transmit_skb() 1301 tcp_header_size = tcp_options_size + sizeof(struct tcphdr); in __tcp_transmit_skb() 1337 th = (struct tcphdr *)skb->data; in __tcp_transmit_skb() 1702 It is MMS_S - sizeof(tcphdr) of rfc1122 in __tcp_mtu_to_mss() 1704 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in __tcp_mtu_to_mss() 1732 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | slhc_vj.h | 133 struct tcphdr cs_tcp;
|
H A D | tcp.h | 377 const struct tcphdr *th); 414 const u8 *tcp_parse_md5sig_option(const struct tcphdr *th); 420 struct tcphdr *th, u32 *cookie); 422 struct tcphdr *th, u32 *cookie); 425 struct sock *sk, struct tcphdr *th); 467 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, 552 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, 562 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, 567 const struct tcphdr *th, u16 *mssp);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | utils.c | 1425 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_ieq_get_qp() 1456 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_send_ieq_ack() 1518 struct tcphdr *tcph; in irdma_gen1_ieq_update_tcpip_info() 1526 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info() 1541 struct tcphdr *tcph; in irdma_ieq_update_tcpip_info() 1548 tcph = (struct tcphdr *)addr; in irdma_ieq_update_tcpip_info() 1563 struct tcphdr *tcph; in irdma_gen1_puda_get_tcpip_info() 1581 tcph = (struct tcphdr *)bu in irdma_gen1_puda_get_tcpip_info() [all...] |
H A D | cm.c | 310 struct tcphdr *tcph; in irdma_form_ah_cm_frame() 346 tcph = (struct tcphdr *)buf; in irdma_form_ah_cm_frame() 420 struct tcphdr *tcph; in irdma_form_uda_cm_frame() 474 tcph = (struct tcphdr *)buf; in irdma_form_uda_cm_frame() 507 tcph = (struct tcphdr *)buf; in irdma_form_uda_cm_frame() 748 struct tcphdr *tcph, int optionsize, in irdma_handle_tcp_options() 2619 static int irdma_check_syn(struct irdma_cm_node *cm_node, struct tcphdr *tcph) in irdma_check_syn() 2634 static int irdma_check_seq(struct irdma_cm_node *cm_node, struct tcphdr *tcph) in irdma_check_seq() 2677 struct tcphdr *tcph = (struct tcphdr *)rbu in irdma_handle_syn_pkt() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | tcp.h | 254 const struct tcphdr *th = (const struct tcphdr *)skb->data;
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_utils.c | 1364 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in i40iw_ieq_get_qp() 1395 struct tcphdr *tcph; in i40iw_ieq_update_tcpip_info() 1403 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in i40iw_ieq_update_tcpip_info() 1420 struct tcphdr *tcph; in i40iw_puda_get_tcpip_info() 1437 tcph = (struct tcphdr *)buf->tcph; in i40iw_puda_get_tcpip_info()
|
H A D | i40iw_cm.c | 382 struct tcphdr *tcph; in i40iw_form_cm_frame() 431 tcph = (struct tcphdr *)buf; in i40iw_form_cm_frame() 461 tcph = (struct tcphdr *)buf; in i40iw_form_cm_frame() 697 struct tcphdr *tcph, in i40iw_handle_tcp_options() 2534 static int i40iw_check_syn(struct i40iw_cm_node *cm_node, struct tcphdr *tcph) in i40iw_check_syn() 2550 static int i40iw_check_seq(struct i40iw_cm_node *cm_node, struct tcphdr *tcph) in i40iw_check_seq() 2581 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in i40iw_handle_syn_pkt() 2587 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in i40iw_handle_syn_pkt() 2650 struct tcphdr *tcp in i40iw_handle_synack_pkt() [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_output.c | 355 tcp_ecn_make_synack(const struct request_sock *req, struct tcphdr *th) in tcp_ecn_make_synack() 365 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() 1249 struct tcphdr *th; in __tcp_transmit_skb() 1298 tcp_header_size = tcp_options_size + sizeof(struct tcphdr); in __tcp_transmit_skb() 1328 th = (struct tcphdr *)skb->data; in __tcp_transmit_skb() 1701 It is MMS_S - sizeof(tcphdr) of rfc1122 in __tcp_mtu_to_mss() 1703 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in __tcp_mtu_to_mss() 1731 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss() 1766 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + in tcp_mtup_init() 1840 sizeof(struct tcphdr); in tcp_current_mss() [all...] |
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow.c | 213 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) in tcphdr_ok() 217 if (unlikely(tcp_len < sizeof(struct tcphdr) || in tcphdr_ok() 575 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4() 699 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_nat_sip.c | 42 struct tcphdr *th; in mangle_packet() 46 th = (struct tcphdr *)(skb->data + protoff); in mangle_packet() 308 const struct tcphdr *th; in nf_nat_sip_seq_adjust() 313 th = (struct tcphdr *)(skb->data + protoff); in nf_nat_sip_seq_adjust()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_nat_sip.c | 42 struct tcphdr *th; in mangle_packet() 46 th = (struct tcphdr *)(skb->data + protoff); in mangle_packet() 308 const struct tcphdr *th; in nf_nat_sip_seq_adjust() 313 th = (struct tcphdr *)(skb->data + protoff); in nf_nat_sip_seq_adjust()
|