Searched refs:otcplen (Results 1 – 2 of 2) sorted by relevance
/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 20 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() argument 36 *otcplen = oldskb->len - tcphoff; in nf_reject_ip6_tcphdr_get() 39 if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) { in nf_reject_ip6_tcphdr_get() 41 proto, *otcplen); in nf_reject_ip6_tcphdr_get() 92 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() argument 111 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put() 137 unsigned int otcplen, hh_len; in nf_send_reset6() local 149 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); in nf_send_reset6() 189 nf_reject_ip6_tcphdr_put(nskb, oldskb, otcph, otcplen); in nf_send_reset6()
|
/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 196 unsigned int otcplen; in nft_reject_br_send_v6_tcp_reset() local 202 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset() 214 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nft_reject_br_send_v6_tcp_reset()
|