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