Home
last modified time | relevance | path

Searched refs:XDR (Results 1 – 25 of 59) sorted by relevance

123

/dragonfly/include/rpc/
H A Dxdr.h123 } XDR; typedef
139 typedef bool_t (*xdrproc_t)(XDR *, ...);
162 xdr_getint32(XDR *xdrs, int32_t *ip) in xdr_getint32()
173 xdr_putint32(XDR *xdrs, int32_t *ip) in xdr_putint32()
283 extern bool_t xdr_int(XDR *, int *);
284 extern bool_t xdr_u_int(XDR *, u_int *);
285 extern bool_t xdr_long(XDR *, long *);
287 extern bool_t xdr_short(XDR *, short *);
305 extern bool_t xdr_char(XDR *, char *);
356 extern bool_t xdrrec_skiprecord(XDR *);
[all …]
H A Drpc_msg.h168 extern bool_t xdr_callmsg(XDR *, struct rpc_msg *);
176 extern bool_t xdr_callhdr(XDR *, struct rpc_msg *);
184 extern bool_t xdr_replymsg(XDR *, struct rpc_msg *);
192 extern bool_t xdr_accepted_reply(XDR *, struct accepted_reply *);
200 extern bool_t xdr_rejected_reply(XDR *, struct rejected_reply *);
H A Dpmap_prot.h100 extern bool_t xdr_pmap(XDR *, struct pmap *);
101 extern bool_t xdr_pmaplist(XDR *, struct pmaplist **);
102 extern bool_t xdr_pmaplist_ptr(XDR *, struct pmaplist *);
H A Dpmap_rmt.h59 bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *);
60 bool_t xdr_rmtcallres(XDR *, struct rmtcallres *);
H A Dauth_des.h117 bool_t xdr_authdes_cred(XDR *, struct authdes_cred *);
118 bool_t xdr_authdes_verf(XDR *, struct authdes_verf *);
H A Dauth_kerb.h135 extern bool_t xdr_authkerb_cred(XDR *, struct authkerb_cred *);
136 extern bool_t xdr_authkerb_verf(XDR *, struct authkerb_verf *);
/dragonfly/lib/libc/xdr/
H A Dxdr_mem.c57 static void xdrmem_destroy(XDR *);
65 static u_int xdrmem_getpos(XDR *);
66 static bool_t xdrmem_setpos(XDR *, u_int);
111 xdrmem_destroy(XDR *xdrs __unused) in xdrmem_destroy()
117 xdrmem_getlong_aligned(XDR *xdrs, long *lp) in xdrmem_getlong_aligned()
129 xdrmem_putlong_aligned(XDR *xdrs, const long *lp) in xdrmem_putlong_aligned()
141 xdrmem_getlong_unaligned(XDR *xdrs, long *lp) in xdrmem_getlong_unaligned()
169 xdrmem_getbytes(XDR *xdrs, char *addr, u_int len) in xdrmem_getbytes()
193 xdrmem_getpos(XDR *xdrs) in xdrmem_getpos()
201 xdrmem_setpos(XDR *xdrs, u_int pos) in xdrmem_setpos()
[all …]
H A Dxdr_stdio.c53 static void xdrstdio_destroy(XDR *);
54 static bool_t xdrstdio_getlong(XDR *, long *);
55 static bool_t xdrstdio_putlong(XDR *, const long *);
58 static u_int xdrstdio_getpos(XDR *);
59 static bool_t xdrstdio_setpos(XDR *, u_int);
60 static int32_t *xdrstdio_inline(XDR *, u_int);
98 xdrstdio_destroy(XDR *xdrs) in xdrstdio_destroy()
105 xdrstdio_getlong(XDR *xdrs, long *lp) in xdrstdio_getlong()
116 xdrstdio_putlong(XDR *xdrs, const long *lp) in xdrstdio_putlong()
145 xdrstdio_getpos(XDR *xdrs) in xdrstdio_getpos()
[all …]
H A Dxdr.c81 XDR x; in xdr_free()
102 xdr_int(XDR *xdrs, int *ip) in xdr_int()
130 xdr_u_int(XDR *xdrs, u_int *up) in xdr_u_int()
160 xdr_long(XDR *xdrs, long *lp) in xdr_long()
179 xdr_u_long(XDR *xdrs, u_long *ulp) in xdr_u_long()
285 xdr_short(XDR *xdrs, short *sp) in xdr_short()
313 xdr_u_short(XDR *xdrs, u_short *usp) in xdr_u_short()
427 xdr_char(XDR *xdrs, char *cp) in xdr_char()
443 xdr_u_char(XDR *xdrs, u_char *cp) in xdr_u_char()
459 xdr_bool(XDR *xdrs, bool_t *bp) in xdr_bool()
[all …]
H A Dxdr_sizeof.c50 x_putlong(XDR *xdrs, const long *longp __unused) in x_putlong()
58 x_putbytes(XDR *xdrs, const char *bp __unused, u_int len) in x_putbytes()
65 x_getpostn(XDR *xdrs) in x_getpostn()
72 x_setpostn(XDR *xdrs __unused, u_int pos __unused) in x_setpostn()
79 x_inline(XDR *xdrs, u_int len) in x_inline()
113 x_destroy(XDR *xdrs) in x_destroy()
127 XDR x; in xdr_sizeof()
131 typedef bool_t (* dummyfunc1)(XDR *, long *); in xdr_sizeof()
132 typedef bool_t (* dummyfunc2)(XDR *, caddr_t, u_int); in xdr_sizeof()
H A Dxdr_rec.c77 static u_int xdrrec_getpos(XDR *);
78 static bool_t xdrrec_setpos(XDR *, u_int);
80 static void xdrrec_destroy(XDR *);
227 xdrrec_getlong(XDR *xdrs, long *lp) in xdrrec_getlong()
249 xdrrec_putlong(XDR *xdrs, const long *lp) in xdrrec_putlong()
319 xdrrec_getpos(XDR *xdrs) in xdrrec_getpos()
344 xdrrec_setpos(XDR *xdrs, u_int pos) in xdrrec_setpos()
381 xdrrec_inline(XDR *xdrs, u_int len) in xdrrec_inline()
410 xdrrec_destroy(XDR *xdrs) in xdrrec_destroy()
429 xdrrec_skiprecord(XDR *xdrs) in xdrrec_skiprecord()
[all …]
H A Dxdr_reference.c71 xdr_reference(XDR *xdrs, caddr_t *pp, u_int size, xdrproc_t proc) in xdr_reference()
124 xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) in xdr_pointer()
/dragonfly/include/rpcsvc/
H A Dyp_prot.h308 bool_t xdr_datum(XDR *, datum *);
309 bool_t xdr_ypreq_key(XDR *, struct ypreq_key *);
310 bool_t xdr_ypreq_nokey(XDR *, struct ypreq_nokey *);
311 bool_t xdr_ypreq_xfr(XDR *, struct ypreq_xfr *);
312 bool_t xdr_ypresp_val(XDR *, struct ypresp_val *);
314 bool_t xdr_ypbind_resp(XDR *, struct ypbind_resp *);
315 bool_t xdr_ypbind_setdom(XDR *, struct ypbind_setdom *);
316 bool_t xdr_yp_inaddr(XDR *, struct inaddr *);
317 bool_t xdr_ypmap_parms(XDR *, struct ypmap_parms *);
319 bool_t xdr_ypresp_order(XDR *, struct ypresp_order *);
[all …]
/dragonfly/lib/libc/rpc/
H A Dkey_prot_xdr.c47 xdr_keystatus(XDR *xdrs, keystatus *objp) in xdr_keystatus()
56 xdr_keybuf(XDR *xdrs, keybuf objp) in xdr_keybuf()
65 xdr_netnamestr(XDR *xdrs, netnamestr *objp) in xdr_netnamestr()
74 xdr_cryptkeyarg(XDR *xdrs, cryptkeyarg *objp) in xdr_cryptkeyarg()
85 xdr_cryptkeyarg2(XDR *xdrs, cryptkeyarg2 *objp) in xdr_cryptkeyarg2()
98 xdr_cryptkeyres(XDR *xdrs, cryptkeyres *objp) in xdr_cryptkeyres()
115 xdr_unixcred(XDR *xdrs, unixcred *objp) in xdr_unixcred()
131 xdr_getcredres(XDR *xdrs, getcredres *objp) in xdr_getcredres()
148 xdr_key_netstarg(XDR *xdrs, key_netstarg *objp) in xdr_key_netstarg()
161 xdr_key_netstres(XDR *xdrs, key_netstres *objp) in xdr_key_netstres()
H A Drpcb_prot.c52 xdr_rpcb(XDR *xdrs, RPCB *objp) in xdr_rpcb()
96 xdr_rpcblist_ptr(XDR *xdrs, rpcblist_ptr *rp) in xdr_rpcblist_ptr()
148 xdr_rpcblist(XDR *xdrs, RPCBLIST **rp) in xdr_rpcblist()
158 xdr_rpcb_entry(XDR *xdrs, rpcb_entry *objp) in xdr_rpcb_entry()
179 xdr_rpcb_entry_list_ptr(XDR *xdrs, rpcb_entry_list_ptr *rp) in xdr_rpcb_entry_list_ptr()
232 xdr_rpcb_rmtcallargs(XDR *xdrs, struct rpcb_rmtcallargs *p) in xdr_rpcb_rmtcallargs()
282 xdr_rpcb_rmtcallres(XDR *xdrs, struct rpcb_rmtcallres *p) in xdr_rpcb_rmtcallres()
298 xdr_netbuf(XDR *xdrs, struct netbuf *objp) in xdr_netbuf()
H A Drpcb_st_xdr.c49 xdr_rpcbs_addrlist(XDR *xdrs, rpcbs_addrlist *objp) in xdr_rpcbs_addrlist()
83 xdr_rpcbs_rmtcalllist(XDR *xdrs, rpcbs_rmtcalllist *objp) in xdr_rpcbs_rmtcalllist()
194 xdr_rpcbs_proc(XDR *xdrs, rpcbs_proc objp) in xdr_rpcbs_proc()
204 xdr_rpcbs_addrlist_ptr(XDR *xdrs, rpcbs_addrlist_ptr *objp) in xdr_rpcbs_addrlist_ptr()
214 xdr_rpcbs_rmtcalllist_ptr(XDR *xdrs, rpcbs_rmtcalllist_ptr *objp) in xdr_rpcbs_rmtcalllist_ptr()
224 xdr_rpcb_stat(XDR *xdrs, rpcb_stat *objp) in xdr_rpcb_stat()
250 xdr_rpcb_stat_byvers(XDR *xdrs, rpcb_stat_byvers objp) in xdr_rpcb_stat_byvers()
H A Dauth_unix.c66 static bool_t authunix_marshal(AUTH *, XDR *);
95 XDR xdrs; in authunix_create()
210 authunix_marshal(AUTH *auth, XDR *xdrs) in authunix_marshal()
225 XDR xdrs; in authunix_validate()
259 XDR xdrs; in authunix_refresh()
325 XDR xdr_stream; in marshal_new_auth()
326 XDR *xdrs = &xdr_stream; in marshal_new_auth()
H A Dauth_none.c58 static bool_t authnone_marshal(AUTH *, XDR *);
76 XDR xdr_stream; in authnone_create()
77 XDR *xdrs; in authnone_create()
105 authnone_marshal(AUTH *client __unused, XDR *xdrs) in authnone_marshal()
H A Drpc_prot.c67 xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap) in xdr_opaque_auth()
83 xdr_des_block(XDR *xdrs, des_block *blkp) in xdr_des_block()
98 xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar) in xdr_accepted_reply()
135 xdr_rejected_reply(XDR *xdrs, struct rejected_reply *rr) in xdr_rejected_reply()
173 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg) in xdr_replymsg()
201 xdr_callhdr(XDR *xdrs, struct rpc_msg *cmsg) in xdr_callhdr()
H A Dsvc_raw.c64 XDR xdr_stream;
121 XDR *xdrs; in svc_raw_recv()
145 XDR *xdrs; in svc_raw_reply()
186 XDR *xdrs; in svc_raw_freeargs()
H A Dclnt_raw.c64 XDR xdr_stream;
90 XDR *xdrs = &clp->xdr_stream; in clnt_raw_create()
141 XDR *xdrs = &clp->xdr_stream; in clnt_raw_call()
239 XDR *xdrs = &clp->xdr_stream; in clnt_raw_freeres()
H A Dpmap_prot2.c90 xdr_pmaplist(XDR *xdrs, struct pmaplist **rp) in xdr_pmaplist()
132 xdr_pmaplist_ptr(XDR *xdrs, struct pmaplist *rp) in xdr_pmaplist_ptr()
H A Drpc_com.h83 bool_t __xdrrec_setnonblock(XDR *, int);
84 bool_t __xdrrec_getrec(XDR *, enum xprt_stat *, bool_t);
H A Dauthdes_prot.c50 xdr_authdes_cred(XDR *xdrs, struct authdes_cred *cred) in xdr_authdes_cred()
77 xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf) in xdr_authdes_verf()
/dragonfly/usr.bin/showmount/
H A Dshowmount.c88 static int xdr_mntdump(XDR *, struct mountlist **);
89 static int xdr_exports(XDR *, struct exportslist **);
247 xdr_mntdump(XDR *xdrsp, struct mountlist **mlp) in xdr_mntdump()
327 xdr_exports(XDR *xdrsp, struct exportslist **exp) in xdr_exports()

123