Searched refs:xt_hooknum (Results 1 – 16 of 16) sorted by relevance
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6t_REJECT.c | 46 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()
|
D | ip6t_SYNPROXY.c | 285 if (nf_ip6_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg6()
|
/Linux-v4.19/net/netfilter/ |
D | xt_NETMAP.c | 36 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()
|
D | xt_REDIRECT.c | 34 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()
|
D | xt_TEE.c | 36 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()
|
D | xt_osf.c | 49 return nf_osf_match(skb, xt_family(p), xt_hooknum(p), xt_in(p), in xt_osf_match_packet()
|
D | xt_NFLOG.c | 39 nf_log_packet(net, xt_family(par), xt_hooknum(par), skb, xt_in(par), in nflog_tg()
|
D | xt_LOG.c | 42 nf_log_packet(net, xt_family(par), xt_hooknum(par), skb, xt_in(par), in log_tg()
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_log.c | 193 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()
|
D | ebt_nflog.c | 35 nf_log_packet(net, PF_BRIDGE, xt_hooknum(par), skb, xt_in(par), in ebt_nflog_tg()
|
D | ebt_redirect.c | 26 if (xt_hooknum(par) != NF_BR_BROUTING) in ebt_redirect_tg()
|
D | ebt_dnat.c | 35 if (xt_hooknum(par) != NF_BR_BROUTING) in ebt_dnat_tg()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | ipt_MASQUERADE.c | 58 return nf_nat_masquerade_ipv4(skb, xt_hooknum(par), &range, in masquerade_tg()
|
D | ipt_REJECT.c | 37 int hook = xt_hooknum(par); in reject_tg()
|
D | ipt_SYNPROXY.c | 271 if (nf_ip_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP)) in synproxy_tg4()
|
/Linux-v4.19/include/linux/netfilter/ |
D | x_tables.h | 69 static inline unsigned int xt_hooknum(const struct xt_action_param *par) in xt_hooknum() function
|