aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/debug.h1
-rw-r--r--include/linux/sunrpc/svcsock.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sunrpc/debug.h b/include/linux/sunrpc/debug.h
index 092fcfa9ceb9..10709cbe96fd 100644
--- a/include/linux/sunrpc/debug.h
+++ b/include/linux/sunrpc/debug.h
@@ -20,7 +20,6 @@
20#define RPCDBG_BIND 0x0020 20#define RPCDBG_BIND 0x0020
21#define RPCDBG_SCHED 0x0040 21#define RPCDBG_SCHED 0x0040
22#define RPCDBG_TRANS 0x0080 22#define RPCDBG_TRANS 0x0080
23#define RPCDBG_SVCSOCK 0x0100
24#define RPCDBG_SVCXPRT 0x0100 23#define RPCDBG_SVCXPRT 0x0100
25#define RPCDBG_SVCDSP 0x0200 24#define RPCDBG_SVCDSP 0x0200
26#define RPCDBG_MISC 0x0400 25#define RPCDBG_MISC 0x0400
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h
index a53e0fa855d2..1878cbe1aa4f 100644
--- a/include/linux/sunrpc/svcsock.h
+++ b/include/linux/sunrpc/svcsock.h
@@ -10,11 +10,13 @@
10#define SUNRPC_SVCSOCK_H 10#define SUNRPC_SVCSOCK_H
11 11
12#include <linux/sunrpc/svc.h> 12#include <linux/sunrpc/svc.h>
13#include <linux/sunrpc/svc_xprt.h>
13 14
14/* 15/*
15 * RPC server socket. 16 * RPC server socket.
16 */ 17 */
17struct svc_sock { 18struct svc_sock {
19 struct svc_xprt sk_xprt;
18 struct list_head sk_ready; /* list of ready sockets */ 20 struct list_head sk_ready; /* list of ready sockets */
19 struct list_head sk_list; /* list of all sockets */ 21 struct list_head sk_list; /* list of all sockets */
20 struct socket * sk_sock; /* berkeley socket layer */ 22 struct socket * sk_sock; /* berkeley socket layer */
@@ -78,6 +80,8 @@ int svc_addsock(struct svc_serv *serv,
78 int fd, 80 int fd,
79 char *name_return, 81 char *name_return,
80 int *proto); 82 int *proto);
83void svc_init_xprt_sock(void);
84void svc_cleanup_xprt_sock(void);
81 85
82/* 86/*
83 * svc_makesock socket characteristics 87 * svc_makesock socket characteristics