Home
last modified time | relevance | path

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

1234

/linux/net/ipv6/
A Dtcpv6_offload.c77 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete()
104 th = tcp_hdr(seg); in __tcpv6_gso_segment_csum()
118 th = tcp_hdr(seg); in __tcpv6_gso_segment_list_csum()
120 th2 = tcp_hdr(seg->next); in __tcpv6_gso_segment_list_csum()
129 th2 = tcp_hdr(seg); in __tcpv6_gso_segment_list_csum()
163 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment()
173 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()
140 mss = __cookie_v6_check(ipv6_hdr(skb), tcp_hdr(skb)); in cookie_tcp_check()
170 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check()
A Dtcp_ipv6.c110 tcp_hdr(skb)->dest, in tcp_v6_init_seq()
111 tcp_hdr(skb)->source); in tcp_v6_init_seq()
750 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb()
867 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response()
1010 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset()
1169 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
1224 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
1242 ntohs(tcp_hdr(skb)->source),
1244 ntohs(tcp_hdr(skb)->dest));
1289 const struct tcphdr *th = tcp_hdr(skb);
[all …]
A Dtcp_ao.c57 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_ao_calc_key_skb()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_parse_tcp_hdr_opt_dynptr.c79 struct tcphdr *tcp_hdr; in xdp_ingress_v6() local
90 tcp_hdr = bpf_dynptr_slice(&ptr, off, buffer, sizeof(buffer)); in xdp_ingress_v6()
91 if (!tcp_hdr) in xdp_ingress_v6()
94 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr); in xdp_ingress_v6()
A Dtest_parse_tcp_hdr_opt.c88 struct tcphdr *tcp_hdr; in xdp_ingress_v6() local
93 tcp_hdr = (struct tcphdr *)(data + tcp_offset); in xdp_ingress_v6()
94 if (tcp_hdr + 1 > data_end) in xdp_ingress_v6()
97 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr); in xdp_ingress_v6()
/linux/net/ipv4/
A Dtcp_offload.c41 th = tcp_hdr(seg); in __tcpv4_gso_segment_csum()
61 th = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum()
63 th2 = tcp_hdr(seg->next); in __tcpv4_gso_segment_list_csum()
71 th2 = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum()
105 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment()
115 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment()
144 th = tcp_hdr(skb); in tcp_gso_segment()
193 th = tcp_hdr(skb); in tcp_gso_segment()
217 th = tcp_hdr(skb); in tcp_gso_segment()
266 th2 = tcp_hdr(p); in tcp_gro_lookup()
[all …]
A Dsyncookies.c174 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence()
269 const struct tcphdr *th = tcp_hdr(skb); in cookie_tcp_reqsk_init()
366 mss = __cookie_v4_check(ip_hdr(skb), tcp_hdr(skb)); in cookie_tcp_check()
401 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
A Dtcp_ipv4.c107 tcp_hdr(skb)->dest, in tcp_v4_init_seq()
108 tcp_hdr(skb)->source); in tcp_v4_init_seq()
663 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
741 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset()
939 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack()
1108 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
1126 ntohs(tcp_hdr(skb)->source),
1128 ntohs(tcp_hdr(skb)->dest));
1621 const struct tcphdr *th = tcp_hdr(skb);
1861 const struct tcphdr *th = tcp_hdr(skb);
[all …]
A Dtcp_ao.c418 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_ao_calc_key_skb()
461 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_hash_pseudoheader()
625 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_hash_skb()
728 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_prepare_reset()
868 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_syncookie()
905 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_verify_hash()
946 const struct tcphdr *th = tcp_hdr(skb); in tcp_inbound_ao_hash()
1180 WRITE_ONCE(ao->risn, tcp_hdr(skb)->seq); in tcp_ao_finish_connect()
A Dtcp_input.c342 if (tcp_hdr(skb)->cwr) { in tcp_ecn_accept_cwr()
3695 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window()
3697 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window()
3764 !tcp_hdr(skb)->syn) in tcp_oow_rate_limited()
4189 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options()
4456 const struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack()
5243 __skb_pull(skb, tcp_hdr(skb)->doff * 4); in tcp_data_queue()
6729 const struct tcphdr *th = tcp_hdr(skb); in tcp_rcv_state_process()
7031 const struct tcphdr *th = tcp_hdr(skb); in tcp_ecn_create_request()
7069 ireq->ir_rmt_port = tcp_hdr(skb)->source; in tcp_openreq_init()
[all …]
A Dtcp_sigpool.c332 const struct tcphdr *tp = tcp_hdr(skb); in tcp_sigpool_hash_skb_data()
A Dtcp_minisocks.c576 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
657 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req()
/linux/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.c343 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/linux/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/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/net/mptcp/
A Dsyncookies.c41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
/linux/net/core/
A Dtso.c71 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0; in tso_start()
/linux/net/tls/
A Dtls_device_fallback.c176 struct tcphdr *th = tcp_hdr(skb); in update_chksum()
244 u32 tcp_seq = ntohl(tcp_hdr(skb)->seq); in fill_sg_in()
/linux/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/drivers/net/ethernet/sfc/siena/
A Dtx_common.c324 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/linux/security/
A Dlsm_audit.c58 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
/linux/net/openvswitch/
A Dflow.c726 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
850 struct tcphdr *tcp = tcp_hdr(skb); in key_extract_l3l4()
/linux/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_fdir.c254 th = tcp_hdr(first->skb); in txgbe_atr()

Completed in 60 milliseconds

1234