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_REDIRECT_H_
3#define _NF_NAT_REDIRECT_H_
4
5#include <linux/skbuff.h>
6#include <uapi/linux/netfilter/nf_nat.h>
7
8unsigned int
9nf_nat_redirect_ipv4(struct sk_buff *skb, const struct nf_nat_range2 *range,
10 unsigned int hooknum);
11unsigned int
12nf_nat_redirect_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
13 unsigned int hooknum);
14
15#endif /* _NF_NAT_REDIRECT_H_ */
16

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

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