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