Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/net/ethernet/sfc/
A 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()
A Dtx_common.c341 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/linux-6.3-rc2/net/ipv4/
A Dtcp_offload.c41 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment()
70 th = tcp_hdr(skb); in tcp_gso_segment()
116 th = tcp_hdr(skb); in tcp_gso_segment()
141 th = tcp_hdr(skb); in tcp_gso_segment()
222 th2 = tcp_hdr(p); in tcp_gro_receive()
301 struct tcphdr *th = tcp_hdr(skb); in tcp_gro_complete()
336 struct tcphdr *th = tcp_hdr(skb); in tcp4_gro_complete()
A Dsyncookies.c179 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence()
332 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
A Dtcp_ipv4.c100 tcp_hdr(skb)->dest, in tcp_v4_init_seq()
101 tcp_hdr(skb)->source); in tcp_v4_init_seq()
642 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
679 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
862 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
1436 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb()
1667 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_cookie_check()
1784 th = tcp_hdr(skb); in tcp_v4_early_demux()
A Dtcp_input.c321 if (tcp_hdr(skb)->cwr) { in tcp_ecn_accept_cwr()
3557 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window()
3559 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window()
3620 !tcp_hdr(skb)->syn) in tcp_oow_rate_limited()
4041 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options()
4266 const struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack()
5029 __skb_pull(skb, tcp_hdr(skb)->doff * 4); in tcp_data_queue()
6457 const struct tcphdr *th = tcp_hdr(skb); in tcp_rcv_state_process()
6751 const struct tcphdr *th = tcp_hdr(skb); in tcp_ecn_create_request()
6789 ireq->ir_rmt_port = tcp_hdr(skb)->source; in tcp_openreq_init()
[all …]
A Dtcp_minisocks.c553 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
611 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req()
A Dtcp_fastopen.c268 tp->snd_wnd = ntohs(tcp_hdr(skb)->window); in tcp_fastopen_create_child()
/linux-6.3-rc2/net/ipv6/
A Dtcpv6_offload.c33 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete()
55 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment()
A 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()
A Dtcp_ipv6.c120 tcp_hdr(skb)->dest, in tcp_v6_init_seq()
121 tcp_hdr(skb)->source); in tcp_v6_init_seq()
742 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb()
853 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response()
981 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset()
1142 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_cookie_check()
1850 th = tcp_hdr(skb); in tcp_v6_early_demux()
/linux-6.3-rc2/include/net/
A Dip6_checksum.h58 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check()
68 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_gso_csum_prep()
/linux-6.3-rc2/include/linux/
A 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()
81 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
/linux-6.3-rc2/net/core/
A Dtso.c71 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0; in tso_start()
/linux-6.3-rc2/net/mptcp/
A Dsyncookies.c41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
A Doptions.c38 if (skb->len > tcp_hdr(skb)->doff << 2) in mptcp_parse_option()
367 const struct tcphdr *th = tcp_hdr(skb); in mptcp_get_options()
/linux-6.3-rc2/net/tls/
A Dtls_device_fallback.c181 struct tcphdr *th = tcp_hdr(skb); in update_chksum()
249 u32 tcp_seq = ntohl(tcp_hdr(skb)->seq); in fill_sg_in()
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_tx.c119 seq = ntohl(tcp_hdr(skb)->seq); in fun_tls_tx()
246 th = tcp_hdr(skb); in write_pkt_desc()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dtx_common.c324 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/linux-6.3-rc2/security/
A Dlsm_audit.c58 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
/linux-6.3-rc2/net/openvswitch/
A Dflow.c725 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
849 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
A Dactions.c354 inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb, in update_ip_l4_checksum()
387 inet_proto_csum_replace16(&tcp_hdr(skb)->check, skb, in update_ipv6_checksum()
726 th = tcp_hdr(skb); in set_tcp()
/linux-6.3-rc2/drivers/net/ethernet/sun/
A Dsunvnet_common.c321 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv4()
354 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv6()
1239 hlen += tcp_hdr(skb)->doff * 4; in vnet_handle_offloads()
/linux-6.3-rc2/drivers/net/thunderbolt/
A Dmain.c1040 tucso = dest + ((void *)&(tcp_hdr(skb)->check) - data); in tbnet_xmit_csum_and_map()
1050 tucso = dest + ((void *)&(tcp_hdr(skb)->check) - data); in tbnet_xmit_csum_and_map()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/
A Dqede_fp.c895 th = tcp_hdr(skb); in qede_gro_ip_csum()
909 th = tcp_hdr(skb); in qede_gro_ipv6_csum()

Completed in 64 milliseconds

123