Lines Matching defs:SVCXPRT
70 * parameters, struct svc_req * and SVCXPRT *, defined below.
83 typedef struct __svcxprt SVCXPRT; /* Per-thread clone handle */
86 typedef struct __svcxprt SVCXPRT; /* Server transport handle */
93 typedef void (*svc_errorhandler_t)(const SVCXPRT* svc, const bool_t isAConn);
110 SVCXPRT *rq_xprt; /* associated transport */
140 typedef void (SVC_DISPATCH)(struct svc_req *, SVCXPRT *);
167 bool_t (*xp_recv)(SVCXPRT *, mblk_t *, struct rpc_msg *);
169 bool_t (*xp_getargs)(SVCXPRT *, xdrproc_t, caddr_t);
171 bool_t (*xp_reply)(SVCXPRT *, struct rpc_msg *);
173 bool_t (*xp_freeargs)(SVCXPRT *, xdrproc_t, caddr_t);
182 int32_t *(*xp_getres)(SVCXPRT *, int);
184 void (*xp_freeres)(SVCXPRT *);
186 void (*xp_clone_destroy)(SVCXPRT *);
190 void (*xp_clone_xprt)(SVCXPRT *, SVCXPRT *);
192 void (*xp_tattrs) (SVCXPRT *, int, void **);
218 bool_t (*xp_recv)(SVCXPRT *, struct rpc_msg *);
220 enum xprt_stat (*xp_stat)(SVCXPRT *);
222 bool_t (*xp_getargs)(SVCXPRT *, xdrproc_t, caddr_t);
224 bool_t (*xp_reply)(SVCXPRT *, struct rpc_msg *);
226 bool_t (*xp_freeargs)(SVCXPRT *, xdrproc_t, caddr_t);
228 void (*xp_destroy)(SVCXPRT *);
230 bool_t (*xp_control)(SVCXPRT *, const uint_t, void *);
440 * Service thread `clone' transport handle (SVCXPRT)
443 * SVCXPRT
522 * Operations defined on an SVCXPRT handle
682 * const SVCXPRT *xprt;
688 extern bool_t svc_reg(const SVCXPRT *, const rpcprog_t, const rpcvers_t,
689 void (*)(struct svc_req *, SVCXPRT *),
714 * const SVCXPRT *xprt;
717 * const SVCXPRT *xprt;
719 extern void xprt_register(const SVCXPRT *);
720 extern void xprt_unregister(const SVCXPRT *);
758 extern bool_t svc_sendreply(const SVCXPRT *, const xdrproc_t, const caddr_t);
759 extern void svcerr_decode(const SVCXPRT *);
760 extern void svcerr_weakauth(const SVCXPRT *);
761 extern void svcerr_noproc(const SVCXPRT *);
762 extern void svcerr_progvers(const SVCXPRT *, const rpcvers_t,
764 extern void svcerr_auth(const SVCXPRT *, const enum auth_stat);
765 extern void svcerr_noprog(const SVCXPRT *);
766 extern void svcerr_systemerr(const SVCXPRT *);
767 extern void svcerr_badcred(const SVCXPRT *);
801 extern int svc_reserve_thread(SVCXPRT *);
802 extern void svc_unreserve_thread(SVCXPRT *);
803 extern callb_cpr_t *svc_detach_thread(SVCXPRT *);
835 extern void rpc_gss_cleanup(SVCXPRT *);
910 extern int svc_create(void (*)(struct svc_req *, SVCXPRT *),
924 extern SVCXPRT *svc_tp_create(void (*)(struct svc_req *, SVCXPRT *),
937 extern SVCXPRT *svc_tli_create(const int, const struct netconfig *,
951 extern SVCXPRT *svc_vc_create(const int, const uint_t, const uint_t);
958 extern SVCXPRT *svc_dg_create(const int, const uint_t, const uint_t);
969 extern SVCXPRT *svc_fd_create(const int, const uint_t, const uint_t);
979 extern SVCXPRT *svc_raw_create(void);
984 extern SVCXPRT *svc_door_create(void (*)(struct svc_req *, SVCXPRT *),
997 extern bool_t svc_control(SVCXPRT *, const uint_t, void *);
999 * SVCXPRT *svc; -- service to manipulate
1007 extern int svc_dg_enablecache(SVCXPRT *, const uint_t);
1010 extern SVCXPRT *svc_tp_create();
1011 extern SVCXPRT *svc_tli_create();
1012 extern SVCXPRT *svc_vc_create();
1013 extern SVCXPRT *svc_dg_create();
1014 extern SVCXPRT *svc_fd_create();
1015 extern SVCXPRT *svc_raw_create();
1016 extern SVCXPRT *svc_door_create();
1039 extern void svc_done(SVCXPRT *);
1058 extern int svc_getcallerucred(const SVCXPRT *, struct ucred_s **);
1059 extern bool_t svc_get_local_cred(SVCXPRT *, svc_local_cred_t *);
1107 extern bool_t __svc_vc_dupcache_init(SVCXPRT *, void *, int);
1122 * Private interfaces and structures for SVCXPRT cloning.
1126 extern SVCXPRT *svc_clone_init(void);
1127 extern void svc_clone_free(SVCXPRT *);
1128 extern void svc_clone_link(SVCMASTERXPRT *, SVCXPRT *, SVCXPRT *);
1129 extern void svc_clone_unlink(SVCXPRT *);