Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv6/netfilter/
Dnf_reject_ipv6.c17 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() argument
33 *otcplen = oldskb->len - tcphoff; in nf_reject_ip6_tcphdr_get()
36 if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) { in nf_reject_ip6_tcphdr_get()
38 proto, *otcplen); in nf_reject_ip6_tcphdr_get()
89 const struct tcphdr *oth, unsigned int otcplen) in nf_reject_ip6_tcphdr_put() argument
108 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put()
150 unsigned int otcplen, hh_len; in nf_send_reset6() local
162 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); in nf_send_reset6()
210 nf_reject_ip6_tcphdr_put(nskb, oldskb, otcph, otcplen); in nf_send_reset6()
/Linux-v5.10/include/net/netfilter/ipv6/
Dnf_reject.h15 unsigned int *otcplen, int hook);
21 const struct tcphdr *oth, unsigned int otcplen);
/Linux-v5.10/net/bridge/netfilter/
Dnft_reject_bridge.c192 unsigned int otcplen; in nft_reject_br_send_v6_tcp_reset() local
198 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset()
210 nf_reject_ip6_tcphdr_put(nskb, oldskb, oth, otcplen); in nft_reject_br_send_v6_tcp_reset()