• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Based on include/net/netns/ipv6.h
4  * No Authors, no Copyright
5  *
6  * NewIP in net namespaces
7  */
8 #ifndef __NETNS_NEWIP_H__
9 #define __NETNS_NEWIP_H__
10 
11 #include <net/inet_frag.h>
12 #include <net/dst_ops.h>
13 
14 struct ctl_table_header;
15 
16 struct netns_sysctl_newip {
17 	int nip_rt_gc_interval;
18 };
19 struct netns_newip {
20 	uint32_t resv;
21 	struct netns_sysctl_newip sysctl;
22 	struct nip_devconf *devconf_dflt;
23 
24 	struct nip_rt_info *nip_null_entry;
25 	struct nip_rt_info *nip_broadcast_entry;
26 
27 	struct dst_ops nip_dst_ops;
28 	struct nip_fib_table *nip_fib_main_tbl;
29 	struct nip_fib_table *nip_fib_local_tbl;
30 };
31 
32 #endif
33 
34