svc: Make svc_sock the tcp/udp transport
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:07:17 +0000 (21:07 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:07 +0000 (16:42 -0500)
commit360d873864c8903a650b227758b49dd50e6ecc9f
tree806631491e4848b194abd539293f124b366a49de
parent1d8206b97a09e7ff2fbef17d8d1ea008d764eeaa
svc: Make svc_sock the tcp/udp transport

Make TCP and UDP svc_sock transports, and register them
with the svc transport core.

A transport type (svc_sock) has an svc_xprt as its first member,
and calls svc_xprt_init to initialize this field.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/debug.h
include/linux/sunrpc/svcsock.h
net/sunrpc/sunrpc_syms.c
net/sunrpc/svcsock.c