nlm_dispatch.c revision bbaa8b60dd95d714741fc474adad3cf710ef4efd
2N/A * endpoints setup done in nlm_impl.c: nlm_svc_add_ep().
2N/A#include "nlm_impl.h"
typedef void (*nlm_freeres_func_t)(void *);
struct dispatch_entry {
static bool_t
return (TRUE);
} argu;
int ru_int;
} resu;
int dupstat;
&dupcached);
switch (dupstat) {
case DUP_ERROR:
case DUP_INPROGRESS:
case DUP_NEW:
case DUP_DROP:
case DUP_DONE:
if (do_reply) {
if (!dupcached) {
static const struct dispatch_entry
nlm_prog_3_dtable[] = {
NULL,
sizeof (nlm_testres),
sizeof (nlm_res),
sizeof (nlm_res),
sizeof (nlm_res),
sizeof (nlm_res),
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
NLM_SVC_FUNC(0),
(xdrproc_t)0,
(xdrproc_t)0,
NULL,
NULL,
NULL,
NLM_SVC_FUNC(0),
(xdrproc_t)0,
(xdrproc_t)0,
NULL,
sizeof (nlm_shareres),
sizeof (nlm_shareres),
sizeof (nlm_res),
NULL,
static int nlm_prog_3_dtsize =
sizeof (nlm_prog_3_dtable) /
sizeof (nlm_prog_3_dtable[0]);
case NLM_VERS:
case NLM_SM:
case NLM_VERSX:
static const struct dispatch_entry
nlm_prog_4_dtable[] = {
NULL,
sizeof (nlm4_testres),
sizeof (nlm4_res),
sizeof (nlm4_res),
sizeof (nlm4_res),
sizeof (nlm4_res),
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
(xdrproc_t)0,
NULL,
NLM_SVC_FUNC(0),
(xdrproc_t)0,
(xdrproc_t)0,
NULL,
NLM_SVC_FUNC(0),
(xdrproc_t)0,
(xdrproc_t)0,
NULL,
NLM_SVC_FUNC(0),
(xdrproc_t)0,
(xdrproc_t)0,
NULL,
NLM_SVC_FUNC(0),
(xdrproc_t)0,
(xdrproc_t)0,
NULL,
sizeof (nlm4_shareres),
sizeof (nlm4_shareres),
sizeof (nlm4_res),
NULL,
static int nlm_prog_4_dtsize =
sizeof (nlm_prog_4_dtable) /
sizeof (nlm_prog_4_dtable[0]);