70#define SVCGET_VERSQUIET 1
71#define SVCSET_VERSQUIET 2
72#define SVCGET_CONNMAXREC 3
73#define SVCSET_CONNMAXREC 4
78#define RPC_SVC_CONNMAXREC_SET 0
79#define RPC_SVC_CONNMAXREC_GET 1
149#define svc_getrpccaller(x) (&(x)->xp_rtaddr)
159#define SVC_RECV(xprt, msg) \
160 (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
161#define svc_recv(xprt, msg) \
162 (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
164#define SVC_STAT(xprt) \
165 (*(xprt)->xp_ops->xp_stat)(xprt)
166#define svc_stat(xprt) \
167 (*(xprt)->xp_ops->xp_stat)(xprt)
169#define SVC_GETARGS(xprt, xargs, argsp) \
170 (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
171#define svc_getargs(xprt, xargs, argsp) \
172 (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
174#define SVC_REPLY(xprt, msg) \
175 (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
176#define svc_reply(xprt, msg) \
177 (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
179#define SVC_FREEARGS(xprt, xargs, argsp) \
180 (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
181#define svc_freeargs(xprt, xargs, argsp) \
182 (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
184#define SVC_DESTROY(xprt) \
185 (*(xprt)->xp_ops->xp_destroy)(xprt)
186#define svc_destroy(xprt) \
187 (*(xprt)->xp_ops->xp_destroy)(xprt)
189#define SVC_CONTROL(xprt, rq, in) \
190 (*(xprt)->xp_ops2->xp_control)((xprt), (rq), (in))
300#define svc_fds svc_fdset.fds_bits[0]
327#define RPC_ANYSOCK INVALID_SOCKET
328#define RPC_ANYFD RPC_ANYSOCK
SVCXPRT * svcunix_create(int, u_int, u_int, char *)
__END_DECLS __BEGIN_DECLS void svc_unreg(const rpcprog_t, const rpcvers_t)
void svcerr_auth(SVCXPRT *, enum auth_stat)
__BEGIN_DECLS bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t, void(*)(struct svc_req *, SVCXPRT *), const struct netconfig *)
SVCXPRT * svc_vc_create(const SOCKET, const u_int, const u_int)
void svcerr_weakauth(SVCXPRT *)
int rpc_reg(rpcprog_t, rpcvers_t, rpcproc_t, char *(*)(char *), xdrproc_t, xdrproc_t, char *)
__END_DECLS __BEGIN_DECLS void svc_getreq(int)
SVCXPRT * svc_dg_create(const SOCKET, const u_int, const u_int)
__END_DECLS __BEGIN_DECLS void xprt_unregister(SVCXPRT *)
void svcerr_noproc(SVCXPRT *)
SVCXPRT * svc_tp_create(void(*)(struct svc_req *, SVCXPRT *), const rpcprog_t, const rpcvers_t, const struct netconfig *)
void svcerr_systemerr(SVCXPRT *)
void svcerr_progvers(SVCXPRT *, rpcvers_t, rpcvers_t)
__END_DECLS __BEGIN_DECLS void xprt_register(SVCXPRT *)
SVCXPRT * svcunixfd_create(int, u_int, u_int)
void svcerr_decode(SVCXPRT *)
void svc_getreq_poll(struct pollfd *, int)
__END_DECLS __BEGIN_DECLS bool_t svc_sendreply(SVCXPRT *, xdrproc_t, void *)
struct __rpc_svcxprt SVCXPRT
__BEGIN_DECLS void rpctest_service(void)
void svc_getreq_common(SOCKET)
void svcerr_noprog(SVCXPRT *)
__END_DECLS int svc_maxfd
void svc_getreqset(fd_set *)
SVCXPRT * svc_tli_create(const SOCKET, const struct netconfig *, const struct t_bind *, const u_int, const u_int)
__BEGIN_DECLS int svc_create(void(*)(struct svc_req *, SVCXPRT *), const rpcprog_t, const rpcvers_t, const char *)
SVCXPRT * svc_raw_create(void)
SVCXPRT * svc_fd_create(const SOCKET, const u_int, const u_int)
int __rpc_get_local_uid(SVCXPRT *_transp, uid_t *_uid)
int svc_dg_enablecache(SVCXPRT *, const u_int)
bool_t(* xp_control)(struct __rpc_svcxprt *, const u_int, void *)
bool_t(* xp_recv)(struct __rpc_svcxprt *, struct rpc_msg *)
bool_t(* xp_getargs)(struct __rpc_svcxprt *, xdrproc_t, void *)
enum xprt_stat(* xp_stat)(struct __rpc_svcxprt *)
void(* xp_destroy)(struct __rpc_svcxprt *)
bool_t(* xp_reply)(struct __rpc_svcxprt *, struct rpc_msg *)
bool_t(* xp_freeargs)(struct __rpc_svcxprt *, xdrproc_t, void *)
struct sockaddr_in6 xp_raddr
struct opaque_auth xp_verf
struct opaque_auth rq_cred
bool_t(* xdrproc_t)(XDR *,...)