Home
last modified time | relevance | path

Searched refs:tcp_hdrlen (Results 1 – 8 of 8) sorted by relevance

/net/netfilter/
Dxt_TCPOPTSTRIP.c38 int tcp_hdrlen; in tcpoptstrip_mangle_packet() local
48 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()
Dxt_TCPMSS.c79 int len, tcp_hdrlen; in tcpmss_mangle_packet() local
97 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()
/net/core/
Dtso.c20 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()
Dskbuff.c5162 thlen = tcp_hdrlen(skb); in skb_gso_transport_seglen()
/net/tls/
Dtls_device_fallback.c235 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()
/net/ipv4/
Dtcp_fastopen.c183 __skb_pull(skb, tcp_hdrlen(skb)); in tcp_fastopen_add_skb()
Dtcp_input.c6511 u32 len = skb_network_header_len(skb) + tcp_hdrlen(skb); in tcp_reqsk_record_syn()
/net/openvswitch/
Dflow.c216 tcp_len = tcp_hdrlen(skb); in tcphdr_ok()