Lines Matching +full:max +full:- +full:msg +full:- +full:size

3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
11 * - Redistributions of source code must retain the above copyright notice,
13 * - Redistributions in binary form must reproduce the above copyright notice,
16 * - Neither the name of Sun Microsystems, Inc. nor the names of its
34 * svc.h, Server-side remote procedure call interface.
36 * Copyright (C) 1986-1993 by Sun Microsystems, Inc.
83 #define RPC_SVC_CONNMAXREC_SET 0 /* set max rec size, enable nonblock */
108 /* catch-all function */
121 * xp_p2 - Points to the CLIENT structure for the RPC server end
153 uint32_t xp_tls; /* RPC-over-TLS on socket */
161 * Interface to server-side authentication flavors.
217 struct mbuf *rq_args; /* XDR-encoded procedure arguments */
233 ((rq)->rq_addr ? (rq)->rq_addr : \
234 (struct sockaddr *) &(rq)->rq_xprt->xp_rtaddr)
301 * this to support something similar to the Solaris multi-threaded RPC
312 struct svc_callout_list sp_callouts; /* (prog,vers)->dispatch list */
313 struct svc_loss_callout_list sp_lcallouts; /* loss->dispatch list */
348 * struct rpc_msg *msg;
353 refcount_acquire(&(xprt)->xp_refs)
356 if (refcount_release(&(xprt)->xp_refs)) \
359 #define SVC_RECV(xprt, msg, addr, args) \ argument
360 (*(xprt)->xp_ops->xp_recv)((xprt), (msg), (addr), (args))
363 (*(xprt)->xp_ops->xp_stat)(xprt)
366 ((xprt)->xp_ops->xp_ack == NULL ? FALSE : \
367 ((ack) == NULL ? TRUE : (*(xprt)->xp_ops->xp_ack)((xprt), (ack))))
369 #define SVC_REPLY(xprt, msg, addr, m, seq) \ argument
370 (*(xprt)->xp_ops->xp_reply) ((xprt), (msg), (addr), (m), (seq))
373 (*(xprt)->xp_ops->xp_destroy)(xprt)
376 (*(xprt)->xp_ops->xp_control)((xprt), (rq), (in))
379 ((SVCXPRT_EXT *) xprt->xp_p3)
382 (SVC_EXT(xprt)->xp_auth)
388 ((auth)->svc_ah_ops->svc_ah_wrap(auth, mp))
390 ((auth)->svc_ah_ops->svc_ah_unwrap(auth, mp))
392 ((auth)->svc_ah_ops->svc_ah_release(auth))
412 * Service un-registration
436 * Service connection loss un-registration
458 * Transport un-register
487 * Also, if the service refuses to execute the procedure due to too-
489 * Note: do not confuse access-control failure with weak authentication!
492 * msg. This message is sent when svc_sendreply is called.
495 * xdr.h - xdr_void for the xdr routine. HOWEVER, tcp based rpc allows
520 * Lowest level dispatching -OR- who owns this process anyway.
524 * Since another (co-existent) package may wish to selectively wait for
527 * "in-place" results of a select system call (see select, section 2).
551 #define RPC_ANYSOCK -1
586 * void (*dispatch)(); -- dispatch routine
587 * const rpcprog_t prognum; -- program number
588 * const rpcvers_t versnum; -- version number
589 * const char *uaddr; -- universal address of service
590 * const struct netconfig *nconf; -- netconfig structure
596 * struct socket *; -- open connection
597 * const size_t sendsize; -- max send size
598 * const size_t recvsize; -- max recv size
604 * struct socket *; -- open connection
605 * const size_t sendsize; -- max send size
606 * const size_t recvsize; -- max recv size
613 * struct socket *; -- server transport socket
614 * const rpcprog_t prog; -- RPC program number
615 * const rpcvers_t vers; -- RPC program version
624 * const struct netconfig *nconf; -- netconfig structure for network
625 * const struct t_bind *bindaddr; -- local bind address
626 * const size_t sendsz; -- max sendsize
627 * const size_t recvsz; -- max recvsize