svc: Make svc_sock the tcp/udp transport
[deliverable/linux.git] / include / linux / sunrpc / svcsock.h
index a53e0fa855d2e26f9b2827f616a7f0f9964b00eb..1878cbe1aa4f3b280af0b9bef96f01faf7f03401 100644 (file)
 #define SUNRPC_SVCSOCK_H
 
 #include <linux/sunrpc/svc.h>
+#include <linux/sunrpc/svc_xprt.h>
 
 /*
  * RPC server socket.
  */
 struct svc_sock {
+       struct svc_xprt         sk_xprt;
        struct list_head        sk_ready;       /* list of ready sockets */
        struct list_head        sk_list;        /* list of all sockets */
        struct socket *         sk_sock;        /* berkeley socket layer */
@@ -78,6 +80,8 @@ int           svc_addsock(struct svc_serv *serv,
                            int fd,
                            char *name_return,
                            int *proto);
+void           svc_init_xprt_sock(void);
+void           svc_cleanup_xprt_sock(void);
 
 /*
  * svc_makesock socket characteristics
This page took 0.028758 seconds and 5 git commands to generate.