diff options
author | NeilBrown <neilb@suse.de> | 2006-10-02 05:17:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:18 -0400 |
commit | 80212d59e32a8a8e030c2ddc5861d8ff70542c56 (patch) | |
tree | fb708f92e50ab8a1c13b68d4e6e3db8b50bd07a8 /include/linux/sunrpc | |
parent | 02a375f0ac4bc2e9b767fabb6b2f9915547226a7 (diff) |
[PATCH] knfsd: define new nfsdfs file: portlist - contains list of ports
This file will list all ports that nfsd has open.
Default when TCP enabled will be
ipv4 udp 0.0.0.0 2049
ipv4 tcp 0.0.0.0 2049
Later, the list of ports will be settable.
'portlist' chosen rather than 'ports', to avoid unnecessary confusion with
non-mainline patches which created 'ports' with different semantics.
[akpm@osdl.org: cleanups, build fix]
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index b4acb3d37c3f..3caf92d72a81 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h | |||
@@ -61,5 +61,6 @@ int svc_recv(struct svc_serv *, struct svc_rqst *, long); | |||
61 | int svc_send(struct svc_rqst *); | 61 | int svc_send(struct svc_rqst *); |
62 | void svc_drop(struct svc_rqst *); | 62 | void svc_drop(struct svc_rqst *); |
63 | void svc_sock_update_bufs(struct svc_serv *serv); | 63 | void svc_sock_update_bufs(struct svc_serv *serv); |
64 | int svc_sock_names(char *buf, struct svc_serv *serv); | ||
64 | 65 | ||
65 | #endif /* SUNRPC_SVCSOCK_H */ | 66 | #endif /* SUNRPC_SVCSOCK_H */ |