57#define RQCRED_SIZE 400
59#define SVC_VERSQUIET 0x0001
60#define version_keepquiet(xp) ((u_long)(xp)->xp_p3 & SVC_VERSQUIET)
63#define max(a, b) (a > b ? a : b)
250 &((
SVCXPRT *) xprt)->xp_ltaddr);
383 if (((
s->sc_prog ==
prog) && (
s->sc_vers == vers)) &&
384 ((netid ==
NULL) || (
s->sc_netid ==
NULL) ||
385 (
strcmp (netid,
s->sc_netid) == 0)))
410 rply.acpted_rply.ar_verf = xprt->
xp_verf;
411 rply.acpted_rply.ar_stat =
SUCCESS;
412 rply.acpted_rply.ar_results.where = xdr_location;
413 rply.acpted_rply.ar_results.proc = xdr_results;
430 rply.acpted_rply.ar_verf = xprt->
xp_verf;
448 rply.acpted_rply.ar_verf = xprt->
xp_verf;
466 rply.acpted_rply.ar_verf = xprt->
xp_verf;
479__svc_versquiet_on (xprt)
489__svc_versquiet_off (xprt)
502 __svc_versquiet_on (xprt);
506__svc_versquiet_get (xprt)
528 rply.rjcted_rply.rj_why = why;
558 rply.acpted_rply.ar_verf = xprt->
xp_verf;
578 rply.acpted_rply.ar_verf = xprt->
xp_verf;
580 rply.acpted_rply.ar_vers.low = (
u_int32_t) low_vers;
581 rply.acpted_rply.ar_vers.high = (
u_int32_t) high_vers;
620 fd_mask
mask, *maskp;
625 maskp = readfds->fds_bits;
628 for (
mask = *maskp++; (bit =
ffs (
mask)) != 0;
mask ^= (1 << (bit - 1)))
652 msg.rm_call.cb_cred.oa_base = cred_area;
673 r.rq_prog =
msg.rm_call.cb_prog;
674 r.rq_vers =
msg.rm_call.cb_vers;
675 r.rq_proc =
msg.rm_call.cb_proc;
676 r.rq_cred =
msg.rm_call.cb_cred;
689 if (
s->sc_prog ==
r.rq_prog)
691 if (
s->sc_vers ==
r.rq_vers)
693 (*
s->sc_dispatch) (&
r, xprt);
697 if (
s->sc_vers < low_vers)
698 low_vers =
s->sc_vers;
699 if (
s->sc_vers > high_vers)
700 high_vers =
s->sc_vers;
752 for (
i = fds_found = 0; fds_found < pollretval;
i++)
int strcmp(const char *String1, const char *String2)
void dispatch(HANDLE hStopEvent)
#define RPC_SVC_CONNMAXREC_SET
#define SVC_REPLY(xprt, msg)
#define SVC_RECV(xprt, msg)
#define RPC_SVC_CONNMAXREC_GET
#define SVC_DESTROY(xprt)
#define mem_free(ptr, bsize)
void freenetconfigent(struct netconfig *netconfigp)
GLdouble GLdouble GLdouble r
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
bool_t pmap_set(u_long program, u_long version, int protocol, int port)
bool_t pmap_unset(u_long program, u_long version)
bool_t rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf)
bool_t rpcb_set(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf, const struct netbuf *address)
_Check_return_ _CRTIMP char *__cdecl strdup(_In_opt_z_ const char *_Src)
struct netconfig * __rpcgettp(SOCKET)
struct opaque_auth xp_verf
struct __svcauth::svc_auth_ops * svc_ah_ops
enum msg_type rm_direction
struct svc_callout * sc_next
void(* sc_dispatch)(struct svc_req *, SVCXPRT *)
void svc_getreq_common(SOCKET fd)
void svcerr_progvers(SVCXPRT *xprt, rpcvers_t low_vers, rpcvers_t high_vers)
static struct svc_callout * svc_head
void xprt_register(SVCXPRT *xprt)
bool_t svc_sendreply(SVCXPRT *xprt, xdrproc_t xdr_results, void *xdr_location)
static void __xprt_do_unregister(SVCXPRT *xprt, bool_t dolock)
void svc_getreq(int rdfds)
bool_t svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, void *dispatch, const struct netconfig *nconf)
void svc_getreqset(fd_set *readfds)
void svcerr_noprog(SVCXPRT *xprt)
void svcerr_auth(SVCXPRT *xprt, enum auth_stat why)
void svcerr_weakauth(SVCXPRT *xprt)
void xprt_unregister(SVCXPRT *xprt)
void svcerr_noproc(SVCXPRT *xprt)
void svcerr_decode(SVCXPRT *xprt)
static struct svc_callout * svc_find(rpcprog_t, rpcvers_t, struct svc_callout **, char *)
void svc_getreq_poll(struct pollfd *pfdp, int pollretval)
void svc_unreg(rpcprog_t prog, const rpcvers_t vers) const
bool_t rpc_control(int what, void *arg)
void __xprt_unregister_unlocked(SVCXPRT *xprt)
void svcerr_systemerr(SVCXPRT *xprt)
enum auth_stat _authenticate(struct svc_req *rqst, struct rpc_msg *msg)
struct svc_auth_ops svc_auth_gss_ops
__END_DECLS __BEGIN_DECLS void svc_unregister(u_long, u_long)
__BEGIN_DECLS bool_t svc_register(SVCXPRT *, u_long, u_long, void(*)(struct svc_req *, SVCXPRT *), int)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
bool_t(* xdrproc_t)(XDR *,...)