ipv4.h 448 字节
Newer Older
1 2 3 4 5 6
/*
 * ipv4 in net namespaces
 */

#ifndef __NETNS_IPV4_H__
#define __NETNS_IPV4_H__
7

8 9
struct ctl_table_header;
struct ipv4_devconf;
10
struct fib_rules_ops;
11
struct hlist_head;
12

13
struct netns_ipv4 {
14
#ifdef CONFIG_SYSCTL
15
	struct ctl_table_header	*forw_hdr;
16
#endif
17 18
	struct ipv4_devconf	*devconf_all;
	struct ipv4_devconf	*devconf_dflt;
19 20 21
#ifdef CONFIG_IP_MULTIPLE_TABLES
	struct fib_rules_ops	*rules_ops;
#endif
22
	struct hlist_head	*fib_table_hash;
23 24
};
#endif