| /src/lib/libc/rpc/ |
| xdr_stdio.c | 45 * xdr_stdio.c, XDR implementation on standard i/o file. 49 * This set of routines implements a XDR on a stdio stream. 59 #include <rpc/xdr.h> 65 static void xdrstdio_destroy(XDR *); 66 static bool_t xdrstdio_getlong(XDR *, long *); 67 static bool_t xdrstdio_putlong(XDR *, const long *); 68 static bool_t xdrstdio_getbytes(XDR *, char *, u_int); 69 static bool_t xdrstdio_putbytes(XDR *, const char *, u_int); 70 static u_int xdrstdio_getpos(XDR *); 71 static bool_t xdrstdio_setpos(XDR *, u_int) [all...] |
| xdr_sizeof.c | 37 * when serialized using XDR. 42 __FBSDID("$FreeBSD: src/lib/libc/xdr/xdr_sizeof.c,v 1.5.38.1 2010/12/21 17:10:29 kensmith Exp $"); 49 #include <rpc/xdr.h> 57 static bool_t x_putlong(XDR *, const long *); 58 static bool_t x_putbytes(XDR *, const char *, u_int); 59 static u_int x_getpostn(XDR *); 60 static bool_t x_setpostn(XDR *, u_int); 61 static int32_t *x_inline(XDR *, u_int); 63 static void x_destroy(XDR *); 67 x_putlong(XDR *xdrs, const long *longp [all...] |
| svc_dg.h | 46 XDR su_xdrs; /* XDR handle */
|
| rpc_internal.h | 32 * Private include file for XDR functions only used internally in libc. 36 bool_t __xdrrec_getrec(XDR *, enum xprt_stat *, bool_t); 37 bool_t __xdrrec_setnonblock(XDR *, int);
|
| auth_none.c | 58 #include <rpc/xdr.h> 71 static bool_t authnone_marshal(AUTH *, XDR *); 95 XDR xdr_stream; 96 XDR *xdrs; 120 authnone_marshal(AUTH *client, XDR *xdrs)
|
| pmap_prot.c | 56 #include <rpc/xdr.h> 65 xdr_pmap(XDR *xdrs, struct pmap *regs)
|
| xdr_rec.c | 45 * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking" 51 * There is a record marking layer between the xdr stream 76 #include <rpc/xdr.h> 90 static bool_t xdrrec_getlong(XDR *, long *); 91 static bool_t xdrrec_putlong(XDR *, const long *); 92 static bool_t xdrrec_getbytes(XDR *, char *, u_int); 94 static bool_t xdrrec_putbytes(XDR *, const char *, u_int); 95 static u_int xdrrec_getpos(XDR *); 96 static bool_t xdrrec_setpos(XDR *, u_int); 97 static int32_t *xdrrec_inline(XDR *, u_int) [all...] |
| /src/include/rpcsvc/ |
| yp_prot.h | 32 #include <rpc/rpc.h> /* for XDR */ 309 bool_t xdr_domainname(XDR *, char *); /* obsolete */ 310 bool_t xdr_peername(XDR *, char *); /* obsolete */ 311 bool_t xdr_mapname(XDR *, char *); /* obsolete */ 312 bool_t xdr_datum(XDR *, datum *); 313 bool_t xdr_ypdomain_wrap_string(XDR *, char **); 314 bool_t xdr_ypmap_wrap_string(XDR *, char **); 315 bool_t xdr_ypreq_key(XDR *, struct ypreq_key *); 316 bool_t xdr_ypreq_nokey(XDR *, struct ypreq_nokey *); 317 bool_t xdr_ypreq_xfr(XDR *, struct ypreq_xfr *) [all...] |
| /src/common/include/rpc/ |
| xdr.h | 1 /* $NetBSD: xdr.h,v 1.3 2024/02/05 21:46:04 andvar Exp $ */ 31 * from: @(#)xdr.h 1.19 87/04/22 SMI 32 * @(#)xdr.h 2.2 88/07/29 4.0 RPCSRC 36 * xdr.h, External Data Representation Serialization Routines. 46 * XDR provides a conventional way for converting between C data 56 * XDR *xdrs; 59 * xdrs is an instance of a XDR handle, to which or from which the data 61 * converted. The XDR handle contains an operation field which indicates 75 * Xdr operations. XDR_ENCODE causes the type to be encoded into the 94 * The XDR handle [all...] |
| /src/sys/fs/nfs/nlm/ |
| sm_inter.h | 99 /* the xdr functions */ 100 extern bool_t xdr_sm_name(XDR *, sm_name*); 101 extern bool_t xdr_my_id(XDR *, my_id*); 102 extern bool_t xdr_mon_id(XDR *, mon_id*); 103 extern bool_t xdr_mon(XDR *, mon*); 104 extern bool_t xdr_stat_chge(XDR *, stat_chge*); 105 extern bool_t xdr_sm_stat(XDR *, sm_stat*); 106 extern bool_t xdr_sm_res(XDR *, sm_res*); 107 extern bool_t xdr_sm_stat_res(XDR *, sm_stat_res*); 108 extern bool_t xdr_sm_status(XDR *, sm_status*) [all...] |
| sm_inter_xdr.c | 13 xdr_sm_name(XDR *xdrs, sm_name *objp) 22 xdr_my_id(XDR *xdrs, my_id *objp) 37 xdr_mon_id(XDR *xdrs, mon_id *objp) 48 xdr_mon(XDR *xdrs, mon *objp) 59 xdr_stat_chge(XDR *xdrs, stat_chge *objp) 70 xdr_sm_stat(XDR *xdrs, sm_stat *objp) 79 xdr_sm_res(XDR *xdrs, sm_res *objp) 88 xdr_sm_stat_res(XDR *xdrs, sm_stat_res *objp) 99 xdr_sm_status(XDR *xdrs, sm_status *objp)
|
| nlm_prot_xdr.c | 19 xdr_nlm_stats(XDR *xdrs, nlm_stats *objp) 28 xdr_nlm_holder(XDR *xdrs, nlm_holder *objp) 45 xdr_nlm_testrply(XDR *xdrs, nlm_testrply *objp) 62 xdr_nlm_stat(XDR *xdrs, nlm_stat *objp) 71 xdr_nlm_res(XDR *xdrs, nlm_res *objp) 82 xdr_nlm_testres(XDR *xdrs, nlm_testres *objp) 93 xdr_nlm_lock(XDR *xdrs, nlm_lock *objp) 112 xdr_nlm_lockargs(XDR *xdrs, nlm_lockargs *objp) 131 xdr_nlm_cancargs(XDR *xdrs, nlm_cancargs *objp) 146 xdr_nlm_testargs(XDR *xdrs, nlm_testargs *objp [all...] |
| nlm_prot.h | 411 /* the xdr functions */ 412 extern bool_t xdr_nlm_stats(XDR *, nlm_stats*); 413 extern bool_t xdr_nlm_holder(XDR *, nlm_holder*); 414 extern bool_t xdr_nlm_testrply(XDR *, nlm_testrply*); 415 extern bool_t xdr_nlm_stat(XDR *, nlm_stat*); 416 extern bool_t xdr_nlm_res(XDR *, nlm_res*); 417 extern bool_t xdr_nlm_testres(XDR *, nlm_testres*); 418 extern bool_t xdr_nlm_lock(XDR *, nlm_lock*); 419 extern bool_t xdr_nlm_lockargs(XDR *, nlm_lockargs*); 420 extern bool_t xdr_nlm_cancargs(XDR *, nlm_cancargs*) [all...] |
| /src/include/rpc/ |
| pmap_prot.h | 67 * This file has no interface to xdr routines for PMAPPROC_CALLIT. 101 extern bool_t xdr_pmap (XDR *, struct pmap *); 102 extern bool_t xdr_pmaplist (XDR *, struct pmaplist **); 103 extern bool_t xdr_pmaplist_ptr (XDR *, struct pmaplist *);
|
| pmap_rmt.h | 36 * Structures and XDR routines for parameters to and replies from 60 extern bool_t xdr_rmtcall_args (XDR *, struct rmtcallargs *); 61 extern bool_t xdr_rmtcallres (XDR *, struct rmtcallres *);
|
| auth_unix.h | 71 extern bool_t xdr_authunix_parms(XDR *, struct authunix_parms *);
|
| rpc_msg.h | 164 * XDR routine to handle an rpc message. 166 * XDR *xdrs; 169 extern bool_t xdr_callmsg (XDR *, struct rpc_msg *); 172 * XDR routine to pre-serialize the static part of an rpc message. 174 * XDR *xdrs; 177 extern bool_t xdr_callhdr (XDR *, struct rpc_msg *); 180 * XDR routine to handle an rpc reply. 182 * XDR *xdrs; 185 extern bool_t xdr_replymsg (XDR *, struct rpc_msg *); 189 * XDR routine to handle a accepted rpc reply [all...] |
| /src/common/lib/libc/rpc/ |
| xdr_mem.c | 45 * xdr_mem.h, XDR implementation using memory buffers. 59 #include <rpc/xdr.h> 72 #include <rpc/xdr.h> 80 static void xdrmem_destroy(XDR *); 81 static bool_t xdrmem_getlong_aligned(XDR *, long *); 82 static bool_t xdrmem_putlong_aligned(XDR *, const long *); 83 static bool_t xdrmem_getlong_unaligned(XDR *, long *); 84 static bool_t xdrmem_putlong_unaligned(XDR *, const long *); 85 static bool_t xdrmem_getbytes(XDR *, char *, u_int); 86 static bool_t xdrmem_putbytes(XDR *, const char *, u_int) [all...] |
| xdr.c | 1 /* $NetBSD: xdr.c,v 1.4 2024/05/12 23:52:57 msaitoh Exp $ */ 37 static char *sccsid = "@(#)xdr.c 1.35 87/08/12"; 38 static char *sccsid = "@(#)xdr.c 2.1 88/07/29 4.0 RPCSRC"; 40 __RCSID("$NetBSD: xdr.c,v 1.4 2024/05/12 23:52:57 msaitoh Exp $"); 45 * xdr.c, Generic XDR routines implementation. 49 * These are the "generic" xdr routines used to serialize and de-serialize 50 * most common data items. See xdr.h for more info on the interface to 51 * xdr. 58 #include <rpc/xdr.h [all...] |
| /src/lib/librpcsvc/ |
| rnusers.x | 85 %bool_t xdr_utmp(XDR *, struct ru_utmp *); 86 %bool_t xdr_utmpptr(XDR *, struct ru_utmp **); 87 %bool_t xdr_utmparr(XDR *, struct utmparr *); 88 %bool_t xdr_utmpidle(XDR *, struct utmpidle *); 89 %bool_t xdr_utmpidleptr(XDR *, struct utmpidle **); 90 %bool_t xdr_utmpidlearr(XDR *, struct utmpidlearr *); 113 % XDR *xdrs; 144 % XDR *xdrs; 156 % XDR *xdrs; 169 % XDR *xdrs [all...] |
| /src/lib/libc/yp/ |
| xdryp.c | 68 * XDR routines used by the YP protocol. Note that these routines do 86 #include <rpc/xdr.h> 118 static bool_t xdr_ypbind_binding(XDR *, struct ypbind_binding *); 119 static bool_t xdr_ypbind_resptype(XDR *, enum ypbind_resptype *); 120 static bool_t xdr_ypstat(XDR *, enum ypbind_resptype *); 121 static bool_t xdr_ypmaplist_str(XDR *, char *); 127 xdr_domainname(XDR *xdrs, char *objp) 140 xdr_peername(XDR *xdrs, char *objp) 153 xdr_mapname(XDR *xdrs, char *objp) 163 xdr_ypdomain_wrap_string(XDR *xdrs, char **objp [all...] |
| /src/usr.sbin/ypserv/ypserv/ |
| ypserv.h | 55 bool_t xdr_ypresp_all(XDR *, struct ypresp_all *); 66 bool_t ypdb_xdr_get_all(XDR *, struct ypreq_nokey *);
|
| ypserv_xdr.c | 16 #include <rpc/xdr.h> 22 xdr_ypresp_all(XDR *xdrs, struct ypresp_all *objp)
|
| /src/usr.sbin/ypserv/common/ |
| ypdef.h | 37 bool_t xdr_ypresp_xfr(XDR *, struct ypresp_xfr *);
|
| ypresp_xdr.c | 16 #include <rpc/xdr.h> 22 xdr_ypresp_xfr(XDR *xdrs, struct ypresp_xfr *objp)
|