Home
last modified time | relevance | path

Searched refs:otcplen (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/net/ipv6/netfilter/
Dnf_reject_ipv6.c21 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() argument
37 *otcplen = oldskb->len - tcphoff; in nf_reject_ip6_tcphdr_get()
40 if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) { in nf_reject_ip6_tcphdr_get()
42 proto, *otcplen); in nf_reject_ip6_tcphdr_get()
93 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() argument
112 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put()
138 unsigned int otcplen, hh_len; in nf_send_reset6() local
150 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); in nf_send_reset6()
186 nf_reject_ip6_tcphdr_put(nskb, oldskb, otcph, otcplen); in nf_send_reset6()
/linux-4.4.14/include/net/netfilter/ipv6/
Dnf_reject.h13 unsigned int *otcplen, int hook);
19 const struct tcphdr *oth, unsigned int otcplen);
/linux-4.4.14/net/bridge/netfilter/
Dnft_reject_bridge.c152 unsigned int otcplen; in nft_reject_br_send_v6_tcp_reset() local
158 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset()
170 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nft_reject_br_send_v6_tcp_reset()