Home
last modified time | relevance | path

Searched refs:xt_hooknum (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/net/ipv6/netfilter/
Dip6t_REJECT.c46 nf_send_unreach6(net, skb, ICMPV6_NOROUTE, xt_hooknum(par)); in reject_tg6()
50 xt_hooknum(par)); in reject_tg6()
54 xt_hooknum(par)); in reject_tg6()
58 xt_hooknum(par)); in reject_tg6()
62 xt_hooknum(par)); in reject_tg6()
68 nf_send_reset6(net, skb, xt_hooknum(par)); in reject_tg6()
71 nf_send_unreach6(net, skb, ICMPV6_POLICY_FAIL, xt_hooknum(par)); in reject_tg6()
75 xt_hooknum(par)); in reject_tg6()
Dip6t_SYNPROXY.c285 if (nf_ip6_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg6()
/Linux-v4.19/net/netfilter/
Dxt_NETMAP.c36 if (xt_hooknum(par) == NF_INET_PRE_ROUTING || in netmap_tg6()
37 xt_hooknum(par) == NF_INET_LOCAL_OUT) in netmap_tg6()
54 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par))); in netmap_tg6()
80 WARN_ON(xt_hooknum(par) != NF_INET_PRE_ROUTING && in netmap_tg4()
81 xt_hooknum(par) != NF_INET_POST_ROUTING && in netmap_tg4()
82 xt_hooknum(par) != NF_INET_LOCAL_OUT && in netmap_tg4()
83 xt_hooknum(par) != NF_INET_LOCAL_IN); in netmap_tg4()
88 if (xt_hooknum(par) == NF_INET_PRE_ROUTING || in netmap_tg4()
89 xt_hooknum(par) == NF_INET_LOCAL_OUT) in netmap_tg4()
104 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par))); in netmap_tg4()
Dxt_REDIRECT.c34 return nf_nat_redirect_ipv6(skb, par->targinfo, xt_hooknum(par)); in redirect_tg6()
71 return nf_nat_redirect_ipv4(skb, par->targinfo, xt_hooknum(par)); in redirect_tg4()
Dxt_TEE.c36 nf_dup_ipv4(xt_net(par), skb, xt_hooknum(par), &info->gw.in, oif); in tee_tg4()
48 nf_dup_ipv6(xt_net(par), skb, xt_hooknum(par), &info->gw.in6, oif); in tee_tg6()
Dxt_osf.c49 return nf_osf_match(skb, xt_family(p), xt_hooknum(p), xt_in(p), in xt_osf_match_packet()
Dxt_NFLOG.c39 nf_log_packet(net, xt_family(par), xt_hooknum(par), skb, xt_in(par), in nflog_tg()
Dxt_LOG.c42 nf_log_packet(net, xt_family(par), xt_hooknum(par), skb, xt_in(par), in log_tg()
/Linux-v4.19/net/bridge/netfilter/
Debt_log.c193 nf_log_packet(net, NFPROTO_BRIDGE, xt_hooknum(par), skb, in ebt_log_tg()
197 ebt_log_packet(net, NFPROTO_BRIDGE, xt_hooknum(par), skb, in ebt_log_tg()
Debt_nflog.c35 nf_log_packet(net, PF_BRIDGE, xt_hooknum(par), skb, xt_in(par), in ebt_nflog_tg()
Debt_redirect.c26 if (xt_hooknum(par) != NF_BR_BROUTING) in ebt_redirect_tg()
Debt_dnat.c35 if (xt_hooknum(par) != NF_BR_BROUTING) in ebt_dnat_tg()
/Linux-v4.19/net/ipv4/netfilter/
Dipt_MASQUERADE.c58 return nf_nat_masquerade_ipv4(skb, xt_hooknum(par), &range, in masquerade_tg()
Dipt_REJECT.c37 int hook = xt_hooknum(par); in reject_tg()
Dipt_SYNPROXY.c271 if (nf_ip_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg4()
/Linux-v4.19/include/linux/netfilter/
Dx_tables.h69 static inline unsigned int xt_hooknum(const struct xt_action_param *par) in xt_hooknum() function