1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
4 * Copyright (C) 2020, Oracle.
7 #ifndef _NET_SUNRPC_SOCKLIB_H_
8 #define _NET_SUNRPC_SOCKLIB_H_
10 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb);
11 int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg,
12 struct xdr_buf *xdr, unsigned int base,
13 rpc_fraghdr marker, unsigned int *sent_p);
15 #endif /* _NET_SUNRPC_SOCKLIB_H_ */