commit | 5d137990f5860451a6e0428e0903f62933d05287 | [log] [tgz] |
---|---|---|
author | Tom Tucker <tom@opengridcomputing.com> | Sun Dec 30 21:07:23 2007 -0600 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Fri Feb 01 16:42:08 2008 -0500 |
tree | 71f57e8a13138530c8c82f9de19067687d0b428d | |
parent | 490231558e058547da4ffab6d8ce8e28771749cc [diff] |
svc: Move sk_sendto and sk_recvfrom to svc_xprt_class The sk_sendto and sk_recvfrom are function pointers that allow svc_sock to be used for both UDP and TCP. Move these function pointers to the svc_xprt_ops structure. 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>