Home
last modified time | relevance | path

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

/linux/net/ipv6/netfilter/
A Dip6t_REJECT.c42 nf_send_unreach6(net, skb, ICMPV6_NOROUTE, xt_hooknum(par)); in reject_tg6()
46 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()
64 nf_send_reset6(net, par->state->sk, skb, xt_hooknum(par)); in reject_tg6()
67 nf_send_unreach6(net, skb, ICMPV6_POLICY_FAIL, xt_hooknum(par)); in reject_tg6()
71 xt_hooknum(par)); in reject_tg6()
A Dip6t_SYNPROXY.c21 if (nf_ip6_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg6()
/linux/net/netfilter/
A Dxt_NETMAP.c33 if (xt_hooknum(par) == NF_INET_PRE_ROUTING || in netmap_tg6()
34 xt_hooknum(par) == NF_INET_LOCAL_OUT) in netmap_tg6()
51 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par))); in netmap_tg6()
77 WARN_ON(xt_hooknum(par) != NF_INET_PRE_ROUTING && in netmap_tg4()
78 xt_hooknum(par) != NF_INET_POST_ROUTING && in netmap_tg4()
79 xt_hooknum(par) != NF_INET_LOCAL_OUT && in netmap_tg4()
80 xt_hooknum(par) != NF_INET_LOCAL_IN); in netmap_tg4()
85 if (xt_hooknum(par) == NF_INET_PRE_ROUTING || in netmap_tg4()
86 xt_hooknum(par) == NF_INET_LOCAL_OUT) in netmap_tg4()
101 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(xt_hooknum(par))); in netmap_tg4()
A Dxt_REDIRECT.c31 return nf_nat_redirect_ipv6(skb, par->targinfo, xt_hooknum(par)); in redirect_tg6()
68 return nf_nat_redirect_ipv4(skb, par->targinfo, xt_hooknum(par)); in redirect_tg4()
A Dxt_TEE.c42 nf_dup_ipv4(xt_net(par), skb, xt_hooknum(par), &info->gw.in, oif); in tee_tg4()
54 nf_dup_ipv6(xt_net(par), skb, xt_hooknum(par), &info->gw.in6, oif); in tee_tg6()
A Dxt_osf.c30 return nf_osf_match(skb, xt_family(p), xt_hooknum(p), xt_in(p), in xt_osf_match_packet()
A Dxt_NFLOG.c36 nf_log_packet(net, xt_family(par), xt_hooknum(par), skb, xt_in(par), in nflog_tg()
A Dxt_LOG.c39 nf_log_packet(net, xt_family(par), xt_hooknum(par), skb, xt_in(par), in log_tg()
A Dxt_MASQUERADE.c45 return nf_nat_masquerade_ipv4(skb, xt_hooknum(par), &range, in masquerade_tg()
/linux/net/bridge/netfilter/
A Debt_log.c194 nf_log_packet(net, NFPROTO_BRIDGE, xt_hooknum(par), skb, in ebt_log_tg()
198 ebt_log_packet(net, NFPROTO_BRIDGE, xt_hooknum(par), skb, in ebt_log_tg()
A Debt_nflog.c36 nf_log_packet(net, PF_BRIDGE, xt_hooknum(par), skb, xt_in(par), in ebt_nflog_tg()
A Debt_redirect.c27 if (xt_hooknum(par) != NF_BR_BROUTING) in ebt_redirect_tg()
A Debt_dnat.c37 switch (xt_hooknum(par)) { in ebt_dnat_tg()
/linux/net/ipv4/netfilter/
A Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg()
A Dipt_SYNPROXY.c21 if (nf_ip_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg4()
/linux/include/linux/netfilter/
A Dx_tables.h69 static inline unsigned int xt_hooknum(const struct xt_action_param *par) in xt_hooknum() function

Completed in 13 milliseconds