socklib.h 470 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 1995-1997 Olaf Kirch <[email protected]>
  4. * Copyright (C) 2020, Oracle.
  5. */
  6. #ifndef _NET_SUNRPC_SOCKLIB_H_
  7. #define _NET_SUNRPC_SOCKLIB_H_
  8. int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb);
  9. int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg,
  10. struct xdr_buf *xdr, unsigned int base,
  11. rpc_fraghdr marker, unsigned int *sent_p);
  12. #endif /* _NET_SUNRPC_SOCKLIB_H_ */