Home
last modified time | relevance | path

Searched refs:tcp_hdr (Results 1 – 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dtx_tso.c161 EFX_WARN_ON_ONCE_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) + in efx_tso_check_protocol()
162 (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol()
179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()
190 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start()
192 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->urg); in tso_start()
193 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->syn); in tso_start()
194 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->rst); in tso_start()
307 tcp_flags = ((u8 *)tcp_hdr(skb))[TCP_FLAGS_OFFSET] & ~tcp_flags_mask; in tso_start_new_packet()
Def100_tx.c105 tcphdr = tcp_hdr(skb); in ef100_tx_can_tso()
Dtx_common.c324 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_offload.c40 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment()
69 th = tcp_hdr(skb); in tcp_gso_segment()
115 th = tcp_hdr(skb); in tcp_gso_segment()
140 th = tcp_hdr(skb); in tcp_gso_segment()
224 th2 = tcp_hdr(p); in tcp_gro_receive()
290 struct tcphdr *th = tcp_hdr(skb); in tcp_gro_complete()
325 struct tcphdr *th = tcp_hdr(skb); in tcp4_gro_complete()
Dsyncookies.c181 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence()
334 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
Dtcp_ipv4.c100 tcp_hdr(skb)->dest, in tcp_v4_init_seq()
101 tcp_hdr(skb)->source); in tcp_v4_init_seq()
633 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
664 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
840 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
1350 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb()
1410 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash()
1648 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_cookie_check()
1757 th = tcp_hdr(skb); in tcp_v4_early_demux()
Dtcp_minisocks.c522 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
579 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req()
Dtcp_input.c259 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) { in tcp_measure_rcv_mss()
320 if (tcp_hdr(skb)->cwr) { in tcp_ecn_accept_cwr()
3527 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window()
3529 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window()
3590 !tcp_hdr(skb)->syn) in tcp_oow_rate_limited()
3818 if (tcp_ecn_rcv_ecn_echo(tp, tcp_hdr(skb))) { in tcp_ack()
4008 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options()
4233 const struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack()
4989 __skb_pull(skb, tcp_hdr(skb)->doff * 4); in tcp_data_queue()
6374 const struct tcphdr *th = tcp_hdr(skb); in tcp_rcv_state_process()
[all …]
Dtcp_fastopen.c285 tp->snd_wnd = ntohs(tcp_hdr(skb)->window); in tcp_fastopen_create_child()
/kernel/linux/linux-5.10/net/ipv6/
Dtcpv6_offload.c32 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete()
54 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment()
Dsyncookies.c112 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence()
135 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check()
Dtcp_ipv6.c120 tcp_hdr(skb)->dest, in tcp_v6_init_seq()
121 tcp_hdr(skb)->source); in tcp_v6_init_seq()
733 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb()
782 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash()
890 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response()
1008 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset()
1165 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_cookie_check()
1838 th = tcp_hdr(skb); in tcp_v6_early_demux()
/kernel/linux/linux-5.10/include/net/
Dip6_checksum.h66 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check()
82 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_gso_csum_prep()
/kernel/linux/linux-5.10/include/linux/
Dtcp.h24 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) in tcp_hdr() function
36 return __tcp_hdrlen(tcp_hdr(skb)); in tcp_hdrlen()
51 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls_rxtx.c162 th = tcp_hdr(nskb); in mlx5e_tls_complete_sync_skb()
191 u32 tcp_seq = ntohl(tcp_hdr(skb)->seq); in mlx5e_tls_handle_ooo()
283 skb_seq = ntohl(tcp_hdr(skb)->seq); in mlx5e_tls_handle_tx_skb()
Dktls_tx.c457 seq = ntohl(tcp_hdr(skb)->seq); in mlx5e_ktls_handle_tx_skb()
/kernel/linux/linux-5.10/net/mptcp/
Dsyncookies.c41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
Doptions.c34 if (skb->len > tcp_hdr(skb)->doff << 2) in mptcp_parse_option()
290 const struct tcphdr *th = tcp_hdr(skb); in mptcp_get_options()
/kernel/linux/linux-5.10/net/core/
Dtso.c79 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0; in tso_start()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_input.c582 __skb_pull(skb, tcp_hdr(skb)->doff * TCP_NUM_4); in tcp_nip_data_queue()
896 const struct tcphdr *th = tcp_hdr(skb); in tcp_nip_parse_options()
977 ireq->ir_rmt_port = tcp_hdr(skb)->source; in tcp_nip_openreq_init()
978 ireq->ir_num = ntohs(tcp_hdr(skb)->dest); in tcp_nip_openreq_init()
1071 newtp->snd_wnd = (ntohs(tcp_hdr(skb)->window) << in tcp_nip_create_openreq_child()
1267 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_nip_ack_update_window()
1269 if (likely(!tcp_hdr(skb)->syn)) in tcp_nip_ack_update_window()
2005 const struct tcphdr *th = tcp_hdr(skb); in tcp_nip_rcv_state_process()
2207 const struct tcphdr *th = tcp_hdr(skb); in tcp_nip_check_req()
Dtcp_nip.c609 tcp_hdr(skb)->dest, in tcp_nip_init_sequence()
610 tcp_hdr(skb)->source); in tcp_nip_init_sequence()
745 const struct tcphdr *th = tcp_hdr(skb); in tcp_nip_send_reset()
1866 tcp_nip_rcv_established(sk, skb, tcp_hdr(skb), skb->len); in tcp_nip_do_rcv()
2084 th = tcp_hdr(skb); in tcp_nip_early_demux()
/kernel/linux/linux-5.10/net/tls/
Dtls_device_fallback.c169 struct tcphdr *th = tcp_hdr(skb); in update_chksum()
237 u32 tcp_seq = ntohl(tcp_hdr(skb)->seq); in fill_sg_in()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow.c575 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
699 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
Dactions.c353 inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb, in update_ip_l4_checksum()
386 inet_proto_csum_replace16(&tcp_hdr(skb)->check, skb, in update_ipv6_checksum()
725 th = tcp_hdr(skb); in set_tcp()
/kernel/linux/linux-5.10/security/
Dlsm_audit.c61 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()

123