Searched refs:tcp_hdrlen (Results 1 – 8 of 8) sorted by relevance
38 int tcp_hdrlen; in tcpoptstrip_mangle_packet() local48 tcp_hdrlen = tcph->doff * 4; in tcpoptstrip_mangle_packet()49 if (tcp_hdrlen < sizeof(struct tcphdr)) in tcpoptstrip_mangle_packet()52 if (skb_ensure_writable(skb, tcphoff + tcp_hdrlen)) in tcpoptstrip_mangle_packet()63 for (i = sizeof(struct tcphdr); i < tcp_hdrlen - 1; i += optl) { in tcpoptstrip_mangle_packet()66 if (i + optl > tcp_hdrlen) in tcpoptstrip_mangle_packet()
79 int len, tcp_hdrlen; in tcpmss_mangle_packet() local97 tcp_hdrlen = tcph->doff * 4; in tcpmss_mangle_packet()99 if (len < tcp_hdrlen || tcp_hdrlen < sizeof(struct tcphdr)) in tcpmss_mangle_packet()117 for (i = sizeof(struct tcphdr); i <= tcp_hdrlen - TCPOLEN_MSS; i += optlen(opt, i)) { in tcpmss_mangle_packet()144 if (len > tcp_hdrlen) in tcpmss_mangle_packet()148 if (tcp_hdrlen >= 15 * 4) in tcpmss_mangle_packet()
20 int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in tso_build_hdr()33 iph->payload_len = htons(size + tcp_hdrlen(skb)); in tso_build_hdr()67 int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in tso_start()
5162 thlen = tcp_hdrlen(skb); in skb_gso_transport_seglen()
235 int tcp_payload_offset = skb_transport_offset(skb) + tcp_hdrlen(skb); in fill_sg_in()313 int tcp_payload_offset = skb_transport_offset(skb) + tcp_hdrlen(skb); in tls_enc_skb()374 int tcp_payload_offset = skb_transport_offset(skb) + tcp_hdrlen(skb); in tls_sw_fallback()
183 __skb_pull(skb, tcp_hdrlen(skb)); in tcp_fastopen_add_skb()
6511 u32 len = skb_network_header_len(skb) + tcp_hdrlen(skb); in tcp_reqsk_record_syn()
216 tcp_len = tcp_hdrlen(skb); in tcphdr_ok()