netns.h 416 字节
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;
14
	struct mutex pipefs_sb_lock;
P
Pavel Emelyanov 已提交
15 16 17 18
};

extern int sunrpc_net_id;

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

P
Pavel Emelyanov 已提交
22
#endif