xref: /openbmc/linux/net/sunrpc/socklib.h (revision d9fd5a71)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
4  * Copyright (C) 2020, Oracle.
5  */
6 
7 #ifndef _NET_SUNRPC_SOCKLIB_H_
8 #define _NET_SUNRPC_SOCKLIB_H_
9 
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);
14 
15 #endif /* _NET_SUNRPC_SOCKLIB_H_ */
16