| /linux/net/ipv6/ |
| H A D | tcpv6_offload.c | 74 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete() 98 struct tcphdr *th = tcp_hdr(seg); in __tcpv6_gso_segment_csum() 124 th = tcp_hdr(seg); in __tcpv6_gso_segment_list_csum() 126 th2 = tcp_hdr(seg->next); in __tcpv6_gso_segment_list_csum() 135 th2 = tcp_hdr(seg); in __tcpv6_gso_segment_list_csum() 169 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment() 180 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment()
|
| H A D | syncookies.c | 113 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() 141 mss = __cookie_v6_check(ipv6_hdr(skb), tcp_hdr(skb)); in cookie_tcp_check() 159 tcp_hdr(skb)->dest, in cookie_tcp_check() 160 tcp_hdr(skb)->source); in cookie_tcp_check() 176 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check()
|
| H A D | tcp_ipv6.c | 114 tcp_hdr(skb)->dest, in tcp_v6_init_seq_and_ts_off() 115 tcp_hdr(skb)->source); in tcp_v6_init_seq_and_ts_off() 730 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() 830 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() 974 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() 1138 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1193 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1211 ntohs(tcp_hdr(skb)->source), 1213 ntohs(tcp_hdr(skb)->dest)); 1259 const struct tcphdr *th = tcp_hdr(skb); [all …]
|
| H A D | tcp_ao.c | 57 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_ao_calc_key_skb()
|
| /linux/net/ipv4/ |
| H A D | tcp_offload.c | 44 th = tcp_hdr(seg); in __tcpv4_gso_segment_csum() 64 th = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum() 66 th2 = tcp_hdr(seg->next); in __tcpv4_gso_segment_list_csum() 74 th2 = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum() 108 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() 119 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() 149 th = tcp_hdr(skb); in tcp_gso_segment() 198 th = tcp_hdr(skb); in tcp_gso_segment() 224 th = tcp_hdr(skb); in tcp_gso_segment() 274 th2 = tcp_hdr(p); in tcp_gro_lookup() [all …]
|
| H A D | syncookies.c | 175 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() 270 const struct tcphdr *th = tcp_hdr(skb); in cookie_tcp_reqsk_init() 368 mss = __cookie_v4_check(ip_hdr(skb), tcp_hdr(skb)); in cookie_tcp_check() 386 tcp_hdr(skb)->dest, in cookie_tcp_check() 387 tcp_hdr(skb)->source); in cookie_tcp_check() 408 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
|
| H A D | tcp_ipv4.c | 114 tcp_hdr(skb)->dest, in tcp_v4_init_seq_and_ts_off() 115 tcp_hdr(skb)->source); in tcp_v4_init_seq_and_ts_off() 665 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check() 743 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset() 793 if (tcp_parse_auth_options(tcp_hdr(skb), &md5_hash_location, &aoh)) in tcp_v4_send_reset() 938 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack() 1059 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) { 1118 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1136 ntohs(tcp_hdr(skb)->source), 1138 ntohs(tcp_hdr(skb)->dest)); [all …]
|
| H A D | tcp_ao.c | 419 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_ao_calc_key_skb() 462 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_hash_pseudoheader() 626 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_hash_skb() 729 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_prepare_reset() 869 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_syncookie() 906 const struct tcphdr *th = tcp_hdr(skb); in tcp_ao_verify_hash() 947 const struct tcphdr *th = tcp_hdr(skb); in tcp_inbound_ao_hash() 1183 WRITE_ONCE(ao->risn, tcp_hdr(skb)->seq); in tcp_ao_finish_connect()
|
| H A D | tcp_minisocks.c | 615 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child() 697 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() 762 if (tcp_accecn_ace(tcp_hdr(skb)) == 0x0) in tcp_check_req()
|
| H A D | tcp_input.c | 293 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) { in tcp_measure_rcv_mss() 501 const struct tcphdr *th = tcp_hdr(skb); in __tcp_accecn_process() 3956 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window() 3958 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window() 4025 !tcp_hdr(skb)->syn) in tcp_oow_rate_limited() 4338 if (tcp_ecn_rcv_ecn_echo(tp, tcp_hdr(skb))) in tcp_ack() 4537 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options() 4815 const struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack_check() 5647 __skb_pull(skb, tcp_hdr(skb)->doff * 4); in tcp_data_queue() 7174 const struct tcphdr *th = tcp_hdr(skb); in tcp_rcv_state_process() [all …]
|
| H A D | tcp_sigpool.c | 332 const struct tcphdr *tp = tcp_hdr(skb); in tcp_sigpool_hash_skb_data()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_parse_tcp_hdr_opt_dynptr.c | 79 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()
|
| H A D | test_parse_tcp_hdr_opt.c | 88 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/drivers/net/ethernet/sfc/ |
| H A D | tx_tso.c | 161 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()
|
| H A D | tx_common.c | 363 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
|
| /linux/include/net/ |
| H A D | ip6_checksum.h | 58 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() 68 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_gso_csum_prep()
|
| H A D | tcp_ecn.h | 53 if (tcp_ecn_mode_rfc3168(tp) && tcp_hdr(skb)->cwr) { in tcp_ecn_accept_cwr() 162 u8 ace = tcp_accecn_ace(tcp_hdr(skb)); in tcp_accecn_third_ack()
|
| /linux/include/linux/ |
| H A D | tcp.h | 24 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/ |
| H A D | syncookies.c | 41 struct tcphdr *th = tcp_hdr(skb); in mptcp_join_entry_hash()
|
| /linux/net/core/ |
| H A D | tso.c | 71 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0; in tso_start()
|
| /linux/net/tls/ |
| H A D | tls_device_fallback.c | 157 struct tcphdr *th = tcp_hdr(skb); in update_chksum() 225 u32 tcp_seq = ntohl(tcp_hdr(skb)->seq); in fill_sg_in()
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_tx.c | 119 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/ |
| H A D | tx_common.c | 323 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
|
| /linux/security/ |
| H A D | lsm_audit.c | 57 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
|
| /linux/net/openvswitch/ |
| H A D | actions.c | 331 inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb, in update_ip_l4_checksum() 364 inet_proto_csum_replace16(&tcp_hdr(skb)->check, skb, in update_ipv6_checksum() 640 th = tcp_hdr(skb); in set_tcp()
|