ReactOS 0.4.15-dev-5667-ged97270
rpcb_prot.h
Go to the documentation of this file.
1/*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
5
6#ifndef _RPCB_PROT_H_RPCGEN
7#define _RPCB_PROT_H_RPCGEN
8
9#include <rpc/rpc.h>
10
11#ifndef IXDR_GET_INT32
12#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
13#endif
14#ifndef IXDR_PUT_INT32
15#define IXDR_PUT_INT32(buf, v) IXDR_PUT_LONG((buf), (v))
16#endif
17#ifndef IXDR_GET_U_INT32
18#define IXDR_GET_U_INT32(buf) IXDR_GET_U_LONG((buf))
19#endif
20#ifndef IXDR_PUT_U_INT32
21#define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_U_LONG((buf), (v))
22#endif
23/*
24 * $FreeBSD: src/include/rpc/rpcb_prot.x,v 1.3 2002/03/13 10:29:06 obrien Exp $
25 *
26 * Copyright (c) 2009, Sun Microsystems, Inc.
27 * All rights reserved.
28 *
29 * Redistribution and use in source and binary forms, with or without
30 * modification, are permitted provided that the following conditions are met:
31 * - Redistributions of source code must retain the above copyright notice,
32 * this list of conditions and the following disclaimer.
33 * - Redistributions in binary form must reproduce the above copyright notice,
34 * this list of conditions and the following disclaimer in the documentation
35 * and/or other materials provided with the distribution.
36 * - Neither the name of Sun Microsystems, Inc. nor the names of its
37 * contributors may be used to endorse or promote products derived
38 * from this software without specific prior written permission.
39 *
40 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
41 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
42 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
43 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
44 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
45 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
46 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
47 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
48 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
49 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
50 * POSSIBILITY OF SUCH DAMAGE.
51 */
52/*
53 * Copyright (c) 1988 by Sun Microsystems, Inc.
54 */
55/* from rpcb_prot.x */
56
57/* #pragma ident "@(#)rpcb_prot.x 1.5 94/04/29 SMI" */
58
59#ifndef _KERNEL
60
61
62/*
63 * The following procedures are supported by the protocol in version 3:
64 *
65 * RPCBPROC_NULL() returns ()
66 * takes nothing, returns nothing
67 *
68 * RPCBPROC_SET(rpcb) returns (bool_t)
69 * TRUE is success, FALSE is failure. Registers the tuple
70 * [prog, vers, address, owner, netid].
71 * Finds out owner and netid information on its own.
72 *
73 * RPCBPROC_UNSET(rpcb) returns (bool_t)
74 * TRUE is success, FALSE is failure. Un-registers tuple
75 * [prog, vers, netid]. addresses is ignored.
76 * If netid is NULL, unregister all.
77 *
78 * RPCBPROC_GETADDR(rpcb) returns (string).
79 * 0 is failure. Otherwise returns the universal address where the
80 * triple [prog, vers, netid] is registered. Ignore address and owner.
81 *
82 * RPCBPROC_DUMP() RETURNS (rpcblist_ptr)
83 * used to dump the entire rpcbind maps
84 *
85 * RPCBPROC_CALLIT(rpcb_rmtcallargs)
86 * RETURNS (rpcb_rmtcallres);
87 * Calls the procedure on the remote machine. If it is not registered,
88 * this procedure is quiet; i.e. it does not return error information!!!
89 * This routine only passes null authentication parameters.
90 * It has no interface to xdr routines for RPCBPROC_CALLIT.
91 *
92 * RPCBPROC_GETTIME() returns (int).
93 * Gets the remote machines time
94 *
95 * RPCBPROC_UADDR2TADDR(strint) RETURNS (struct netbuf)
96 * Returns the netbuf address from universal address.
97 *
98 * RPCBPROC_TADDR2UADDR(struct netbuf) RETURNS (string)
99 * Returns the universal address from netbuf address.
100 *
101 * END OF RPCBIND VERSION 3 PROCEDURES
102 */
103/*
104 * Except for RPCBPROC_CALLIT, the procedures above are carried over to
105 * rpcbind version 4. Those below are added or modified for version 4.
106 * NOTE: RPCBPROC_BCAST HAS THE SAME FUNCTIONALITY AND PROCEDURE NUMBER
107 * AS RPCBPROC_CALLIT.
108 *
109 * RPCBPROC_BCAST(rpcb_rmtcallargs)
110 * RETURNS (rpcb_rmtcallres);
111 * Calls the procedure on the remote machine. If it is not registered,
112 * this procedure IS quiet; i.e. it DOES NOT return error information!!!
113 * This routine should be used for broadcasting and nothing else.
114 *
115 * RPCBPROC_GETVERSADDR(rpcb) returns (string).
116 * 0 is failure. Otherwise returns the universal address where the
117 * triple [prog, vers, netid] is registered. Ignore address and owner.
118 * Same as RPCBPROC_GETADDR except that if the given version number
119 * is not available, the address is not returned.
120 *
121 * RPCBPROC_INDIRECT(rpcb_rmtcallargs)
122 * RETURNS (rpcb_rmtcallres);
123 * Calls the procedure on the remote machine. If it is not registered,
124 * this procedure is NOT quiet; i.e. it DOES return error information!!!
125 * as any normal application would expect.
126 *
127 * RPCBPROC_GETADDRLIST(rpcb) returns (rpcb_entry_list_ptr).
128 * Same as RPCBPROC_GETADDR except that it returns a list of all the
129 * addresses registered for the combination (prog, vers) (for all
130 * transports).
131 *
132 * RPCBPROC_GETSTAT(void) returns (rpcb_stat_byvers)
133 * Returns the statistics about the kind of requests received by rpcbind.
134 */
135
136/*
137 * A mapping of (program, version, network ID) to address
138 */
139
140struct rpcb {
143 char *r_netid;
144 char *r_addr;
145 char *r_owner;
146};
147typedef struct rpcb rpcb;
148#ifdef __cplusplus
149extern "C" bool_t xdr_rpcb(XDR *, rpcb*);
150#elif __STDC__
151extern bool_t xdr_rpcb(XDR *, rpcb*);
152#else /* Old Style C */
153//bool_t xdr_rpcb();
155#endif /* Old Style C */
156
157
158typedef rpcb RPCB;
159
160
161/*
162 * A list of mappings
163 *
164 * Below are two definitions for the rpcblist structure. This is done because
165 * xdr_rpcblist() is specified to take a struct rpcblist **, rather than a
166 * struct rpcblist * that rpcgen would produce. One version of the rpcblist
167 * structure (actually called rp__list) is used with rpcgen, and the other is
168 * defined only in the header file for compatibility with the specified
169 * interface.
170 */
171
172struct rp__list {
175};
176typedef struct rp__list rp__list;
177#ifdef __cplusplus
178extern "C" bool_t xdr_rp__list(XDR *, rp__list*);
179#elif __STDC__
180extern bool_t xdr_rp__list(XDR *, rp__list*);
181#else /* Old Style C */
182//bool_t xdr_rp__list();
184#endif /* Old Style C */
185
186
188#ifdef __cplusplus
190#elif __STDC__
192#else /* Old Style C */
193//bool_t xdr_rpcblist_ptr();
195#endif /* Old Style C */
196
197
198typedef struct rp__list rpcblist;
199typedef struct rp__list RPCBLIST;
200
201#ifndef __cplusplus
202struct rpcblist {
205};
206#endif
207
208#ifdef __cplusplus
209extern "C" {
210#endif
212#ifdef __cplusplus
213}
214#endif
215
216
217/*
218 * Arguments of remote calls
219 */
220
225 struct {
227 char *args_val;
229};
231#ifdef __cplusplus
233#elif __STDC__
235#else /* Old Style C */
236//bool_t xdr_rpcb_rmtcallargs();
238#endif /* Old Style C */
239
240
241/*
242 * Client-side only representation of rpcb_rmtcallargs structure.
243 *
244 * The routine that XDRs the rpcb_rmtcallargs structure must deal with the
245 * opaque arguments in the "args" structure. xdr_rpcb_rmtcallargs() needs to
246 * be passed the XDR routine that knows the args' structure. This routine
247 * doesn't need to go over-the-wire (and it wouldn't make sense anyway) since
248 * the application being called already knows the args structure. So we use a
249 * different "XDR" structure on the client side, r_rpcb_rmtcallargs, which
250 * includes the args' XDR routine.
251 */
256 struct {
258 char *args_val;
260 xdrproc_t xdr_args; /* encodes args */
261};
262
263
264/*
265 * Results of the remote call
266 */
267
269 char *addr;
270 struct {
274};
276#ifdef __cplusplus
278#elif __STDC__
280#else /* Old Style C */
281//bool_t xdr_rpcb_rmtcallres();
283#endif /* Old Style C */
284
285
286/*
287 * Client-side only representation of rpcb_rmtcallres structure.
288 */
290 char *addr;
291 struct {
295 xdrproc_t xdr_res; /* decodes results */
296};
297
298/*
299 * rpcb_entry contains a merged address of a service on a particular
300 * transport, plus associated netconfig information. A list of rpcb_entrys
301 * is returned by RPCBPROC_GETADDRLIST. See netconfig.h for values used
302 * in r_nc_* fields.
303 */
304
306 char *r_maddr;
311};
312typedef struct rpcb_entry rpcb_entry;
313#ifdef __cplusplus
314extern "C" bool_t xdr_rpcb_entry(XDR *, rpcb_entry*);
315#elif __STDC__
317#else /* Old Style C */
319#endif /* Old Style C */
320
321
322/*
323 * A list of addresses supported by a service.
324 */
325
329};
331#ifdef __cplusplus
333#elif __STDC__
335#else /* Old Style C */
337#endif /* Old Style C */
338
339
341#ifdef __cplusplus
343#elif __STDC__
345#else /* Old Style C */
347#endif /* Old Style C */
348
349
350/*
351 * rpcbind statistics
352 */
353
354#define rpcb_highproc_2 RPCBPROC_CALLIT
355#define rpcb_highproc_3 RPCBPROC_TADDR2UADDR
356#define rpcb_highproc_4 RPCBPROC_GETSTAT
357#define RPCBSTAT_HIGHPROC 13
358#define RPCBVERS_STAT 3
359#define RPCBVERS_4_STAT 2
360#define RPCBVERS_3_STAT 1
361#define RPCBVERS_2_STAT 0
362
363/* Link list of all the stats about getport and getaddr */
364
370 char *netid;
372};
374#ifdef __cplusplus
376#elif __STDC__
378#else /* Old Style C */
380#endif /* Old Style C */
381
382
383/* Link list of all the stats about rmtcall */
384
392 char *netid;
394};
396#ifdef __cplusplus
398#elif __STDC__
400#else /* Old Style C */
402#endif /* Old Style C */
403
404
406#ifdef __cplusplus
407extern "C" bool_t xdr_rpcbs_proc(XDR *, rpcbs_proc);
408#elif __STDC__
410#else /* Old Style C */
412#endif /* Old Style C */
413
414
416#ifdef __cplusplus
418#elif __STDC__
420#else /* Old Style C */
422#endif /* Old Style C */
423
424
426#ifdef __cplusplus
428#elif __STDC__
430#else /* Old Style C */
431//bool_t xdr_rpcbs_rmtcalllist_ptr();
433#endif /* Old Style C */
434
435
436struct rpcb_stat {
442};
443typedef struct rpcb_stat rpcb_stat;
444#ifdef __cplusplus
445extern "C" bool_t xdr_rpcb_stat(XDR *, rpcb_stat*);
446#elif __STDC__
448#else /* Old Style C */
450#endif /* Old Style C */
451
452
453/*
454 * One rpcb_stat structure is returned for each version of rpcbind
455 * being monitored.
456 */
457
459#ifdef __cplusplus
461#elif __STDC__
463#else /* Old Style C */
465#endif /* Old Style C */
466
467
468/*
469 * We don't define netbuf in RPCL, since it would contain structure member
470 * names that would conflict with the definition of struct netbuf in
471 * <tiuser.h>. Instead we merely declare the XDR routine xdr_netbuf() here,
472 * and implement it ourselves in rpc/rpcb_prot.c.
473 */
474#ifdef __cplusplus
475extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *);
476
477#else /* __STDC__ */
478extern bool_t xdr_netbuf(XDR *, struct netbuf *);
479
480#endif
481
482#define RPCBVERS_3 RPCBVERS
483#define RPCBVERS_4 RPCBVERS4
484
485#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
486
487#else /* ndef _KERNEL */
488#ifdef __cplusplus
489extern "C" {
490#endif
491
492/*
493 * A mapping of (program, version, network ID) to address
494 */
495struct rpcb {
496 rpcprog_t r_prog; /* program number */
497 rpcvers_t r_vers; /* version number */
498 char *r_netid; /* network id */
499 char *r_addr; /* universal address */
500 char *r_owner; /* owner of the mapping */
501};
502typedef struct rpcb RPCB;
503
504/*
505 * A list of mappings
506 */
507struct rpcblist {
509 struct rpcblist *rpcb_next;
510};
511typedef struct rpcblist RPCBLIST;
512typedef struct rpcblist *rpcblist_ptr;
513
514/*
515 * Remote calls arguments
516 */
517struct rpcb_rmtcallargs {
518 rpcprog_t prog; /* program number */
519 rpcvers_t vers; /* version number */
520 rpcproc_t proc; /* procedure number */
521 u_int32_t arglen; /* arg len */
522 caddr_t args_ptr; /* argument */
523 xdrproc_t xdr_args; /* XDR routine for argument */
524};
526
527/*
528 * Remote calls results
529 */
530struct rpcb_rmtcallres {
531 char *addr_ptr; /* remote universal address */
532 u_int32_t resultslen; /* results length */
533 caddr_t results_ptr; /* results */
534 xdrproc_t xdr_results; /* XDR routine for result */
535};
536typedef struct rpcb_rmtcallres rpcb_rmtcallres;
537
538struct rpcb_entry {
539 char *r_maddr;
540 char *r_nc_netid;
541 unsigned int r_nc_semantics;
542 char *r_nc_protofmly;
543 char *r_nc_proto;
544};
545typedef struct rpcb_entry rpcb_entry;
546
547/*
548 * A list of addresses supported by a service.
549 */
550
551struct rpcb_entry_list {
554};
555typedef struct rpcb_entry_list rpcb_entry_list;
556
558
559/*
560 * rpcbind statistics
561 */
562
563#define rpcb_highproc_2 RPCBPROC_CALLIT
564#define rpcb_highproc_3 RPCBPROC_TADDR2UADDR
565#define rpcb_highproc_4 RPCBPROC_GETSTAT
566#define RPCBSTAT_HIGHPROC 13
567#define RPCBVERS_STAT 3
568#define RPCBVERS_4_STAT 2
569#define RPCBVERS_3_STAT 1
570#define RPCBVERS_2_STAT 0
571
572/* Link list of all the stats about getport and getaddr */
573
574struct rpcbs_addrlist {
577 int success;
578 int failure;
579 char *netid;
580 struct rpcbs_addrlist *next;
581};
582typedef struct rpcbs_addrlist rpcbs_addrlist;
583
584/* Link list of all the stats about rmtcall */
585
586struct rpcbs_rmtcalllist {
590 int success;
591 int failure;
592 int indirect;
593 char *netid;
594 struct rpcbs_rmtcalllist *next;
595};
597
598typedef int rpcbs_proc[RPCBSTAT_HIGHPROC];
599
601
603
604struct rpcb_stat {
606 int setinfo;
607 int unsetinfo;
610};
611typedef struct rpcb_stat rpcb_stat;
612
613/*
614 * One rpcb_stat structure is returned for each version of rpcbind
615 * being monitored.
616 */
617
619
620#ifdef __cplusplus
621}
622#endif
623
624#endif /* ndef _KERNEL */
625
626#define RPCBPROG ((u_int32_t)100000)
627#define RPCBVERS ((u_int32_t)3)
628
629#ifdef __cplusplus
630#define RPCBPROC_SET ((u_int32_t)1)
631extern "C" bool_t * rpcbproc_set_3(rpcb *, CLIENT *);
632extern "C" bool_t * rpcbproc_set_3_svc(rpcb *, struct svc_req *);
633#define RPCBPROC_UNSET ((u_int32_t)2)
634extern "C" bool_t * rpcbproc_unset_3(rpcb *, CLIENT *);
635extern "C" bool_t * rpcbproc_unset_3_svc(rpcb *, struct svc_req *);
636#define RPCBPROC_GETADDR ((u_int32_t)3)
637extern "C" char ** rpcbproc_getaddr_3(rpcb *, CLIENT *);
638extern "C" char ** rpcbproc_getaddr_3_svc(rpcb *, struct svc_req *);
639#define RPCBPROC_DUMP ((u_int32_t)4)
640extern "C" rpcblist_ptr * rpcbproc_dump_3(void *, CLIENT *);
641extern "C" rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *);
642#define RPCBPROC_CALLIT ((u_int32_t)5)
645#define RPCBPROC_GETTIME ((u_int32_t)6)
646extern "C" u_int * rpcbproc_gettime_3(void *, CLIENT *);
647extern "C" u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *);
648#define RPCBPROC_UADDR2TADDR ((u_int32_t)7)
649extern "C" struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *);
650extern "C" struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *);
651#define RPCBPROC_TADDR2UADDR ((u_int32_t)8)
652extern "C" char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *);
653extern "C" char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *);
654
655#elif __STDC__
656#define RPCBPROC_SET ((u_int32_t)1)
657extern bool_t * rpcbproc_set_3(rpcb *, CLIENT *);
658extern bool_t * rpcbproc_set_3_svc(rpcb *, struct svc_req *);
659#define RPCBPROC_UNSET ((u_int32_t)2)
660extern bool_t * rpcbproc_unset_3(rpcb *, CLIENT *);
661extern bool_t * rpcbproc_unset_3_svc(rpcb *, struct svc_req *);
662#define RPCBPROC_GETADDR ((u_int32_t)3)
663extern char ** rpcbproc_getaddr_3(rpcb *, CLIENT *);
664extern char ** rpcbproc_getaddr_3_svc(rpcb *, struct svc_req *);
665#define RPCBPROC_DUMP ((u_int32_t)4)
666extern rpcblist_ptr * rpcbproc_dump_3(void *, CLIENT *);
667extern rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *);
668#define RPCBPROC_CALLIT ((u_int32_t)5)
671#define RPCBPROC_GETTIME ((u_int32_t)6)
672extern u_int * rpcbproc_gettime_3(void *, CLIENT *);
673extern u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *);
674#define RPCBPROC_UADDR2TADDR ((u_int32_t)7)
675extern struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *);
676extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *);
677#define RPCBPROC_TADDR2UADDR ((u_int32_t)8)
678extern char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *);
679extern char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *);
680
681#else /* Old Style C */
682#define RPCBPROC_SET ((u_int32_t)1)
685#define RPCBPROC_UNSET ((u_int32_t)2)
688#define RPCBPROC_GETADDR ((u_int32_t)3)
689extern char ** rpcbproc_getaddr_3();
690extern char ** rpcbproc_getaddr_3_svc();
691#define RPCBPROC_DUMP ((u_int32_t)4)
694#define RPCBPROC_CALLIT ((u_int32_t)5)
697#define RPCBPROC_GETTIME ((u_int32_t)6)
700#define RPCBPROC_UADDR2TADDR ((u_int32_t)7)
703#define RPCBPROC_TADDR2UADDR ((u_int32_t)8)
704extern char ** rpcbproc_taddr2uaddr_3();
706#endif /* Old Style C */
707#define RPCBVERS4 ((u_int32_t)4)
708
709#ifdef __cplusplus
710extern "C" bool_t * rpcbproc_set_4(rpcb *, CLIENT *);
711extern "C" bool_t * rpcbproc_set_4_svc(rpcb *, struct svc_req *);
712extern "C" bool_t * rpcbproc_unset_4(rpcb *, CLIENT *);
713extern "C" bool_t * rpcbproc_unset_4_svc(rpcb *, struct svc_req *);
714extern "C" char ** rpcbproc_getaddr_4(rpcb *, CLIENT *);
715extern "C" char ** rpcbproc_getaddr_4_svc(rpcb *, struct svc_req *);
716extern "C" rpcblist_ptr * rpcbproc_dump_4(void *, CLIENT *);
717extern "C" rpcblist_ptr * rpcbproc_dump_4_svc(void *, struct svc_req *);
718#define RPCBPROC_BCAST ((u_int32_t)RPCBPROC_CALLIT)
721extern "C" u_int * rpcbproc_gettime_4(void *, CLIENT *);
722extern "C" u_int * rpcbproc_gettime_4_svc(void *, struct svc_req *);
723extern "C" struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *);
724extern "C" struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *);
725extern "C" char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *);
726extern "C" char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *);
727#define RPCBPROC_GETVERSADDR ((u_int32_t)9)
728extern "C" char ** rpcbproc_getversaddr_4(rpcb *, CLIENT *);
729extern "C" char ** rpcbproc_getversaddr_4_svc(rpcb *, struct svc_req *);
730#define RPCBPROC_INDIRECT ((u_int32_t)10)
733#define RPCBPROC_GETADDRLIST ((u_int32_t)11)
736#define RPCBPROC_GETSTAT ((u_int32_t)12)
737extern "C" rpcb_stat * rpcbproc_getstat_4(void *, CLIENT *);
738extern "C" rpcb_stat * rpcbproc_getstat_4_svc(void *, struct svc_req *);
739
740#elif __STDC__
741extern bool_t * rpcbproc_set_4(rpcb *, CLIENT *);
742extern bool_t * rpcbproc_set_4_svc(rpcb *, struct svc_req *);
743extern bool_t * rpcbproc_unset_4(rpcb *, CLIENT *);
744extern bool_t * rpcbproc_unset_4_svc(rpcb *, struct svc_req *);
745extern char ** rpcbproc_getaddr_4(rpcb *, CLIENT *);
746extern char ** rpcbproc_getaddr_4_svc(rpcb *, struct svc_req *);
747extern rpcblist_ptr * rpcbproc_dump_4(void *, CLIENT *);
748extern rpcblist_ptr * rpcbproc_dump_4_svc(void *, struct svc_req *);
749#define RPCBPROC_BCAST ((u_int32_t)RPCBPROC_CALLIT)
752extern u_int * rpcbproc_gettime_4(void *, CLIENT *);
753extern u_int * rpcbproc_gettime_4_svc(void *, struct svc_req *);
754extern struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *);
755extern struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *);
756extern char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *);
757extern char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *);
758#define RPCBPROC_GETVERSADDR ((u_int32_t)9)
759extern char ** rpcbproc_getversaddr_4(rpcb *, CLIENT *);
760extern char ** rpcbproc_getversaddr_4_svc(rpcb *, struct svc_req *);
761#define RPCBPROC_INDIRECT ((u_int32_t)10)
764#define RPCBPROC_GETADDRLIST ((u_int32_t)11)
767#define RPCBPROC_GETSTAT ((u_int32_t)12)
768extern rpcb_stat * rpcbproc_getstat_4(void *, CLIENT *);
769extern rpcb_stat * rpcbproc_getstat_4_svc(void *, struct svc_req *);
770
771#else /* Old Style C */
776extern char ** rpcbproc_getaddr_4();
777extern char ** rpcbproc_getaddr_4_svc();
780#define RPCBPROC_BCAST ((u_int32_t)RPCBPROC_CALLIT)
787extern char ** rpcbproc_taddr2uaddr_4();
789#define RPCBPROC_GETVERSADDR ((u_int32_t)9)
790extern char ** rpcbproc_getversaddr_4();
792#define RPCBPROC_INDIRECT ((u_int32_t)10)
795#define RPCBPROC_GETADDRLIST ((u_int32_t)11)
798#define RPCBPROC_GETSTAT ((u_int32_t)12)
801#endif /* Old Style C */
802
803#endif /* !_RPCB_PROT_H_RPCGEN */
UINT32 u_int
Definition: types.h:82
u_int32_t rpcprog_t
Definition: types.h:104
int32_t bool_t
Definition: types.h:101
u_int32_t rpcvers_t
Definition: types.h:105
u_int32_t rpcproc_t
Definition: types.h:106
unsigned int u_int32_t
Definition: rosdhcp.h:35
char * caddr_t
Definition: rosdhcp.h:36
bool_t xdr_rpcb_stat_byvers()
bool_t xdr_rpcb_entry()
bool_t xdr_rpcbs_proc()
char ** rpcbproc_taddr2uaddr_4_svc()
char ** rpcbproc_taddr2uaddr_3()
struct netbuf * rpcbproc_uaddr2taddr_3()
char ** rpcbproc_getaddr_3()
bool_t xdr_rpcb_rmtcallargs(XDR *, rpcb_rmtcallargs *)
Definition: rpcb_prot.c:270
struct netbuf * rpcbproc_uaddr2taddr_4_svc()
rpcb_stat * rpcbproc_getstat_4_svc()
rp__list * rpcblist_ptr
Definition: rpcb_prot.h:187
char ** rpcbproc_getaddr_4_svc()
bool_t * rpcbproc_unset_4_svc()
bool_t * rpcbproc_unset_4()
rpcb_entry_list * rpcb_entry_list_ptr
Definition: rpcb_prot.h:340
u_int * rpcbproc_gettime_3()
char ** rpcbproc_taddr2uaddr_4()
bool_t xdr_rpcb_entry_list_ptr()
rpcblist_ptr * rpcbproc_dump_3_svc()
bool_t xdr_rpcblist(XDR *, rpcblist **)
rpcb_entry_list_ptr * rpcbproc_getaddrlist_4()
bool_t xdr_rpcb_stat()
rpcb_rmtcallres * rpcbproc_bcast_4_svc()
rpcb_rmtcallres * rpcbproc_indirect_4()
int rpcbs_proc[RPCBSTAT_HIGHPROC]
Definition: rpcb_prot.h:405
bool_t xdr_rpcb_entry_list()
bool_t xdr_rpcbs_addrlist_ptr()
rpcblist_ptr * rpcbproc_dump_4()
char ** rpcbproc_getaddr_4()
rpcb_stat rpcb_stat_byvers[RPCBVERS_STAT]
Definition: rpcb_prot.h:458
bool_t xdr_rpcb(XDR *, rpcb *)
Definition: rpcb_prot.c:50
char ** rpcbproc_getversaddr_4()
char ** rpcbproc_getversaddr_4_svc()
u_int * rpcbproc_gettime_4_svc()
bool_t * rpcbproc_set_4_svc()
bool_t * rpcbproc_set_3()
bool_t * rpcbproc_unset_3_svc()
rpcb_rmtcallres * rpcbproc_indirect_4_svc()
bool_t * rpcbproc_unset_3()
rpcbs_addrlist * rpcbs_addrlist_ptr
Definition: rpcb_prot.h:415
struct netbuf * rpcbproc_uaddr2taddr_4()
bool_t xdr_rpcbs_rmtcalllist_ptr(XDR *, rpcbs_rmtcalllist_ptr *)
Definition: rpcb_st_xdr.c:235
char ** rpcbproc_taddr2uaddr_3_svc()
u_int * rpcbproc_gettime_3_svc()
char ** rpcbproc_getaddr_3_svc()
struct netbuf * rpcbproc_uaddr2taddr_3_svc()
rpcblist_ptr * rpcbproc_dump_4_svc()
bool_t xdr_rpcbs_rmtcalllist()
bool_t * rpcbproc_set_3_svc()
bool_t * rpcbproc_set_4()
rpcb_rmtcallres * rpcbproc_callit_3()
u_int * rpcbproc_gettime_4()
rpcb_entry_list_ptr * rpcbproc_getaddrlist_4_svc()
rpcblist_ptr * rpcbproc_dump_3()
bool_t xdr_rp__list(XDR *, rp__list *)
rpcbs_rmtcalllist * rpcbs_rmtcalllist_ptr
Definition: rpcb_prot.h:425
bool_t xdr_rpcbs_addrlist()
rpcb_stat * rpcbproc_getstat_4()
rpcb_rmtcallres * rpcbproc_bcast_4()
#define RPCBVERS_STAT
Definition: rpcb_prot.h:358
rpcb_rmtcallres * rpcbproc_callit_3_svc()
rpcb RPCB
Definition: rpcb_prot.h:158
#define RPCBSTAT_HIGHPROC
Definition: rpcb_prot.h:357
bool_t xdr_netbuf(XDR *, struct netbuf *)
Definition: rpcb_prot.c:344
bool_t xdr_rpcb_rmtcallres(XDR *, rpcb_rmtcallres *)
Definition: rpcb_prot.c:322
bool_t xdr_rpcblist_ptr(XDR *, rpcblist_ptr *)
Definition: rpcb_prot.c:108
Definition: xdr.h:103
Definition: types.h:144
xdrproc_t xdr_args
Definition: rpcb_prot.h:260
rpcprog_t prog
Definition: rpcb_prot.h:253
struct r_rpcb_rmtcallargs::@198 args
rpcvers_t vers
Definition: rpcb_prot.h:254
rpcproc_t proc
Definition: rpcb_prot.h:255
struct r_rpcb_rmtcallres::@200 results
xdrproc_t xdr_res
Definition: rpcb_prot.h:295
u_int32_t results_len
Definition: rpcb_prot.h:292
char * results_val
Definition: rpcb_prot.h:293
rpcb rpcb_map
Definition: rpcb_prot.h:173
struct rp__list * rpcb_next
Definition: rpcb_prot.h:174
Definition: rpcb_prot.h:326
rpcb_entry rpcb_entry_map
Definition: rpcb_prot.h:327
struct rpcb_entry_list * rpcb_entry_next
Definition: rpcb_prot.h:328
Definition: rpcb_prot.h:305
char * r_nc_proto
Definition: rpcb_prot.h:310
u_int r_nc_semantics
Definition: rpcb_prot.h:308
char * r_nc_protofmly
Definition: rpcb_prot.h:309
char * r_nc_netid
Definition: rpcb_prot.h:307
char * r_maddr
Definition: rpcb_prot.h:306
rpcproc_t proc
Definition: rpcb_prot.h:224
rpcvers_t vers
Definition: rpcb_prot.h:223
struct rpcb_rmtcallargs::@197 args
rpcprog_t prog
Definition: rpcb_prot.h:222
u_int results_len
Definition: rpcb_prot.h:271
char * results_val
Definition: rpcb_prot.h:272
struct rpcb_rmtcallres::@199 results
rpcbs_proc info
Definition: rpcb_prot.h:437
int setinfo
Definition: rpcb_prot.h:438
rpcbs_rmtcalllist_ptr rmtinfo
Definition: rpcb_prot.h:441
int unsetinfo
Definition: rpcb_prot.h:439
rpcbs_addrlist_ptr addrinfo
Definition: rpcb_prot.h:440
char * r_netid
Definition: rpcb_prot.h:143
rpcvers_t r_vers
Definition: rpcb_prot.h:142
char * r_owner
Definition: rpcb_prot.h:145
rpcprog_t r_prog
Definition: rpcb_prot.h:141
char * r_addr
Definition: rpcb_prot.h:144
RPCB rpcb_map
Definition: rpcb_prot.h:203
struct rpcblist * rpcb_next
Definition: rpcb_prot.h:204
rpcvers_t vers
Definition: rpcb_prot.h:367
struct rpcbs_addrlist * next
Definition: rpcb_prot.h:371
rpcprog_t prog
Definition: rpcb_prot.h:366
char * netid
Definition: rpcb_prot.h:370
rpcproc_t proc
Definition: rpcb_prot.h:388
rpcprog_t prog
Definition: rpcb_prot.h:386
rpcvers_t vers
Definition: rpcb_prot.h:387
struct rpcbs_rmtcalllist * next
Definition: rpcb_prot.h:393
Definition: svc.h:132
bool_t(* xdrproc_t)(XDR *,...)
Definition: xdr.h:144