Lines Matching refs:otcplen
67 unsigned int otcplen; in nf_reject_skb_v6_tcp_reset() local
73 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nf_reject_skb_v6_tcp_reset()
87 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nf_reject_skb_v6_tcp_reset()
151 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() argument
167 *otcplen = oldskb->len - tcphoff; in nf_reject_ip6_tcphdr_get()
170 if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) { in nf_reject_ip6_tcphdr_get()
172 proto, *otcplen); in nf_reject_ip6_tcphdr_get()
223 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() argument
242 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put()
284 unsigned int otcplen, hh_len; in nf_send_reset6() local
296 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); in nf_send_reset6()
344 nf_reject_ip6_tcphdr_put(nskb, oldskb, otcph, otcplen); in nf_send_reset6()