![Jeremy Sowden](/assets/img/avatar_default.png)
A number of netfilter header-files used declarations and definitions from other headers without including them. Added include directives to make those declarations and definitions available. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
17 lines
459 B
C
17 lines
459 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _NF_NAT_REDIRECT_H_
|
|
#define _NF_NAT_REDIRECT_H_
|
|
|
|
#include <linux/skbuff.h>
|
|
#include <uapi/linux/netfilter/nf_nat.h>
|
|
|
|
unsigned int
|
|
nf_nat_redirect_ipv4(struct sk_buff *skb,
|
|
const struct nf_nat_ipv4_multi_range_compat *mr,
|
|
unsigned int hooknum);
|
|
unsigned int
|
|
nf_nat_redirect_ipv6(struct sk_buff *skb, const struct nf_nat_range2 *range,
|
|
unsigned int hooknum);
|
|
|
|
#endif /* _NF_NAT_REDIRECT_H_ */
|