1bf8981a2SFlorian Westphal /* SPDX-License-Identifier: GPL-2.0 */
2bf8981a2SFlorian Westphal #ifndef _NF_NAT_MASQUERADE_H_
3bf8981a2SFlorian Westphal #define _NF_NAT_MASQUERADE_H_
4bf8981a2SFlorian Westphal 
540d102cdSJeremy Sowden #include <linux/skbuff.h>
6bf8981a2SFlorian Westphal #include <net/netfilter/nf_nat.h>
7bf8981a2SFlorian Westphal 
8bf8981a2SFlorian Westphal unsigned int
9bf8981a2SFlorian Westphal nf_nat_masquerade_ipv4(struct sk_buff *skb, unsigned int hooknum,
10bf8981a2SFlorian Westphal 		       const struct nf_nat_range2 *range,
11bf8981a2SFlorian Westphal 		       const struct net_device *out);
12bf8981a2SFlorian Westphal 
13610a4314SFlorian Westphal int nf_nat_masquerade_inet_register_notifiers(void);
14610a4314SFlorian Westphal void nf_nat_masquerade_inet_unregister_notifiers(void);
15bf8981a2SFlorian Westphal 
16bf8981a2SFlorian Westphal unsigned int
17bf8981a2SFlorian Westphal nf_nat_masquerade_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
18bf8981a2SFlorian Westphal 		       const struct net_device *out);
19bf8981a2SFlorian Westphal 
20bf8981a2SFlorian Westphal #endif /*_NF_NAT_MASQUERADE_H_ */
21