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