https://github.com/torvalds/linux
Raw File
Tip revision: fc77dbd34c5c99bce46d40a2491937c3bcbd10af authored by Linus Torvalds on 28 February 2016, 16:41:20 UTC
Linux 4.5-rc6
Tip revision: fc77dbd
netfilter.h
#ifndef __NETNS_NETFILTER_H
#define __NETNS_NETFILTER_H

#include <linux/netfilter_defs.h>

struct proc_dir_entry;
struct nf_logger;

struct netns_nf {
#if defined CONFIG_PROC_FS
	struct proc_dir_entry *proc_netfilter;
#endif
	const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
#ifdef CONFIG_SYSCTL
	struct ctl_table_header *nf_log_dir_header;
#endif
	struct list_head hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
};
#endif
back to top