mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
610a43149c
Only reason for having two different register functions was because of ipt_MASQUERADE and ip6t_MASQUERADE being two different modules. Previous patch merged those into xt_MASQUERADE, so we can merge this too. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
20 lines
576 B
C
20 lines
576 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _NF_NAT_MASQUERADE_H_
|
|
#define _NF_NAT_MASQUERADE_H_
|
|
|
|
#include <net/netfilter/nf_nat.h>
|
|
|
|
unsigned int
|
|
nf_nat_masquerade_ipv4(struct sk_buff *skb, unsigned int hooknum,
|
|
const struct nf_nat_range2 *range,
|
|
const struct net_device *out);
|
|
|
|
int nf_nat_masquerade_inet_register_notifiers(void);
|
|
void nf_nat_masquerade_inet_unregister_notifiers(void);
|
|
|
|
unsigned int
|
|
nf_nat_masquerade_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
|
|
const struct net_device *out);
|
|
|
|
#endif /*_NF_NAT_MASQUERADE_H_ */
|