netns.h 386 字节
Newer Older
P
Pavel Emelyanov 已提交
1 2 3 4 5 6
#ifndef __SUNRPC_NETNS_H__
#define __SUNRPC_NETNS_H__

#include <net/net_namespace.h>
#include <net/netns/generic.h>

7 8
struct cache_detail;

P
Pavel Emelyanov 已提交
9
struct sunrpc_net {
10
	struct proc_dir_entry *proc_net_rpc;
11
	struct cache_detail *ip_map_cache;
12 13

	struct super_block *pipefs_sb;
P
Pavel Emelyanov 已提交
14 15 16 17
};

extern int sunrpc_net_id;

18 19 20
int ip_map_cache_create(struct net *);
void ip_map_cache_destroy(struct net *);

P
Pavel Emelyanov 已提交
21
#endif