Warning: This file is not a C or C++ file. It does not have highlighting.

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
8unsigned int
9nf_nat_masquerade_ipv4(struct sk_buff *skb, unsigned int hooknum,
10 const struct nf_nat_range2 *range,
11 const struct net_device *out);
12
13int nf_nat_masquerade_inet_register_notifiers(void);
14void nf_nat_masquerade_inet_unregister_notifiers(void);
15
16unsigned int
17nf_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

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/net/netfilter/nf_nat_masquerade.h