1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _NF_NAT_REDIRECT_H_ 3 #define _NF_NAT_REDIRECT_H_ 4 5 #include <linux/skbuff.h> 6 #include <uapi/linux/netfilter/nf_nat.h> 7 8 unsigned int 9 nf_nat_redirect_ipv4(struct sk_buff *skb, 10 const struct nf_nat_ipv4_multi_range_compat *mr, 11 unsigned int hooknum); 12 unsigned int 13 nf_nat_redirect_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range, 14 unsigned int hooknum); 15 16 #endif /* _NF_NAT_REDIRECT_H_ */