]> git.karo-electronics.de Git - karo-tx-linux.git/blob - include/net/netns/ipv4.h
80680e09443c6202d8fd51c8b27d2c52f00b8268
[karo-tx-linux.git] / include / net / netns / ipv4.h
1 /*
2  * ipv4 in net namespaces
3  */
4
5 #ifndef __NETNS_IPV4_H__
6 #define __NETNS_IPV4_H__
7
8 #include <net/inet_frag.h>
9
10 struct ctl_table_header;
11 struct ipv4_devconf;
12 struct fib_rules_ops;
13 struct hlist_head;
14 struct sock;
15
16 struct netns_ipv4 {
17 #ifdef CONFIG_SYSCTL
18         struct ctl_table_header *forw_hdr;
19 #endif
20         struct ipv4_devconf     *devconf_all;
21         struct ipv4_devconf     *devconf_dflt;
22 #ifdef CONFIG_IP_MULTIPLE_TABLES
23         struct fib_rules_ops    *rules_ops;
24 #endif
25         struct hlist_head       *fib_table_hash;
26         struct sock             *fibnl;
27
28         struct netns_frags      frags;
29 };
30 #endif