Lines Matching +full:un +full:- +full:approved

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.
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 */
165 * Interface to server-side authentication flavors.
221 struct mbuf *rq_args; /* XDR-encoded procedure arguments */
237 ((rq)->rq_addr ? (rq)->rq_addr : \
238 (struct sockaddr *) &(rq)->rq_xprt->xp_rtaddr)
305 * this to support something similar to the Solaris multi-threaded RPC
316 struct svc_callout_list sp_callouts; /* (prog,vers)->dispatch list */
317 struct svc_loss_callout_list sp_lcallouts; /* loss->dispatch list */
357 refcount_acquire(&(xprt)->xp_refs)
360 if (refcount_release(&(xprt)->xp_refs)) \
364 (*(xprt)->xp_ops->xp_recv)((xprt), (msg), (addr), (args))
367 (*(xprt)->xp_ops->xp_stat)(xprt)
370 ((xprt)->xp_ops->xp_ack == NULL ? FALSE : \
371 ((ack) == NULL ? TRUE : (*(xprt)->xp_ops->xp_ack)((xprt), (ack))))
374 (*(xprt)->xp_ops->xp_reply) ((xprt), (msg), (addr), (m), (seq))
377 (*(xprt)->xp_ops->xp_destroy)(xprt)
380 (*(xprt)->xp_ops->xp_control)((xprt), (rq), (in))
383 ((SVCXPRT_EXT *) xprt->xp_p3)
386 (SVC_EXT(xprt)->xp_auth)
392 ((auth)->svc_ah_ops->svc_ah_wrap(auth, mp))
394 ((auth)->svc_ah_ops->svc_ah_unwrap(auth, mp))
396 ((auth)->svc_ah_ops->svc_ah_release(auth))
416 * Service un-registration
440 * Service connection loss un-registration
462 * Transport un-register
491 * Also, if the service refuses to execute the procedure due to too-
493 * Note: do not confuse access-control failure with weak authentication!
499 * xdr.h - xdr_void for the xdr routine. HOWEVER, tcp based rpc allows
524 * Lowest level dispatching -OR- who owns this process anyway.
528 * Since another (co-existent) package may wish to selectively wait for
531 * "in-place" results of a select system call (see select, section 2).
555 #define RPC_ANYSOCK -1
590 * void (*dispatch)(); -- dispatch routine
591 * const rpcprog_t prognum; -- program number
592 * const rpcvers_t versnum; -- version number
593 * const char *uaddr; -- universal address of service
594 * const struct netconfig *nconf; -- netconfig structure
600 * struct socket *; -- open connection
601 * const size_t sendsize; -- max send size
602 * const size_t recvsize; -- max recv size
608 * struct socket *; -- open connection
609 * const size_t sendsize; -- max send size
610 * const size_t recvsize; -- max recv size
617 * struct socket *; -- server transport socket
618 * const rpcprog_t prog; -- RPC program number
619 * const rpcvers_t vers; -- RPC program version
628 * const struct netconfig *nconf; -- netconfig structure for network
629 * const struct t_bind *bindaddr; -- local bind address
630 * const size_t sendsz; -- max sendsize
631 * const size_t recvsz; -- max recvsize