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