162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
462306a36Sopenharmony_ci * Copyright (C) 2020, Oracle.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _NET_SUNRPC_SOCKLIB_H_
862306a36Sopenharmony_ci#define _NET_SUNRPC_SOCKLIB_H_
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciint csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb);
1162306a36Sopenharmony_ciint xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg,
1262306a36Sopenharmony_ci		      struct xdr_buf *xdr, unsigned int base,
1362306a36Sopenharmony_ci		      rpc_fraghdr marker, unsigned int *sent_p);
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#endif /* _NET_SUNRPC_SOCKLIB_H_ */
16