18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
48c2ecf20Sopenharmony_ci * Copyright (C) 2020, Oracle.
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef _NET_SUNRPC_SOCKLIB_H_
88c2ecf20Sopenharmony_ci#define _NET_SUNRPC_SOCKLIB_H_
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciint csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb);
118c2ecf20Sopenharmony_ciint xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg,
128c2ecf20Sopenharmony_ci		      struct xdr_buf *xdr, unsigned int base,
138c2ecf20Sopenharmony_ci		      rpc_fraghdr marker, unsigned int *sent_p);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif /* _NET_SUNRPC_SOCKLIB_H_ */
16