HomeSort by relevance Sort by last modified time
    Searched refs:xdr (Results 1 - 25 of 175) sorted by null

1 2 3 4 5 6 7

  /hardware/msm7k/librpc/
svc_clnt_common.c 12 static void xdr_std_destroy(xdr_s_type *xdr)
17 static bool_t xdr_std_control(xdr_s_type *xdr, int request, void *info)
19 return r_control(xdr->fd, request, info);
22 static bool_t xdr_std_msg_done(xdr_s_type *xdr)
29 static bool_t xdr_std_msg_start(xdr_s_type *xdr,
58 if (rpc_msg_type == RPC_MSG_CALL) xdr->xid++;
65 xdr->out_next = (RPC_OFFSET+2)*sizeof(uint32);
68 ((uint32 *)xdr->out_msg)[RPC_OFFSET] = htonl(xdr->xid);
70 ((uint32 *)xdr->out_msg)[RPC_OFFSET+1] = htonl(rpc_msg_type)
281 xdr_s_type *xdr = (xdr_s_type *)calloc(1, sizeof(xdr_s_type)); local
299 xdr_s_type *xdr = (xdr_s_type *)calloc(1, sizeof(xdr_s_type)); local
    [all...]
rpc.c 4 * Functions to compose RPC messages from XDR primitives
8 xdr_s_type *xdr,
17 xdr->x_prog = prog;
18 xdr->x_proc = proc;
20 return (XDR_MSG_START(xdr, RPC_MSG_CALL) &&
21 XDR_SEND_UINT32(xdr, &vers) &&
22 XDR_SEND_UINT32(xdr, &prog) &&
23 XDR_SEND_UINT32(xdr, &ver) &&
24 XDR_SEND_UINT32(xdr, &proc) &&
25 xdr_send_auth(xdr, cred) &
    [all...]
clnt.c 29 xdr_s_type *xdr; member in struct:CLIENT
62 extern void xdr_destroy_common(xdr_s_type *xdr);
63 extern bool_t xdr_recv_reply_header (xdr_s_type *xdr, rpc_reply_header *reply);
79 (client->xdr->x_prog | 0x01000000),
80 client->xdr->x_vers);
92 (client->xdr->x_prog | 0x01000000),
93 client->xdr->x_vers);
104 ntohl(((uint32 *)(client->xdr->in_msg))[RPC_OFFSET+3]);
106 ntohl(((uint32 *)(client->xdr->in_msg))[RPC_OFFSET+4]);
110 XDR **svc_xdr = (XDR **)svc
311 xdr_s_type *xdr = client->xdr; local
    [all...]
xdr.c 7 * Primitives for stuffing data into and retrieving data from an XDR
10 bool_t xdr_bytes (XDR *xdr, char **cpp, u_int *sizep, u_int maxsize)
12 switch(xdr->x_op) {
14 if(!XDR_RECV_UINT(xdr, sizep) || *sizep > maxsize)
21 return XDR_RECV_BYTES(xdr, (uint8 *) *cpp, *sizep);
23 return (XDR_SEND_UINT(xdr, sizep) &&
25 XDR_SEND_BYTES(xdr, (uint8 *) *cpp, *sizep));
38 bool_t xdr_send_enum (xdr_s_type *xdr, const void *value, uint32 size)
42 return XDR_SEND_INT32(xdr, (int32 *) value)
    [all...]
svc.c 52 extern XDR *xdr_init_common(const char *name, int is_client);
53 extern void xdr_destroy_common(XDR *xdr);
64 the XDR for server entries which represent a callback client. Those
67 XDR *xdr; member in struct:registered_server_struct
68 /* Because the xdr is NULL for callback clients (as opposed to true
131 if (trav->xdr->fd == n) {
133 if (trav->xdr->xops->read(trav->xdr) == 0)
    [all...]
Android.mk 5 LOCAL_SRC_FILES:= xdr.c rpc.c svc.c clnt.c ops.c svc_clnt_common.c
22 rpc/xdr.h
  /hardware/msm7k/librpc/rpc/
xdr.h 31 * xdr.h, External Data Representation Serialization Routines.
44 Macros for calling primitive XDR routines (this is independent of RPC)
47 #define XDR_RECV_BYTES(XDR, BUF, LEN) (XDR)->xops->recv_bytes(XDR, BUF, LEN)
48 #define XDR_RECV_INT16(XDR, VALUE) (XDR)->xops->recv_int16(XDR, VALUE)
49 #define XDR_RECV_INT32(XDR, VALUE) (XDR)->xops->recv_int32(XDR, VALUE
    [all...]
pmap_clnt.h 45 #include <rpc/xdr.h>
rpc.h 45 #include <rpc/xdr.h>
types.h 39 * XDR provides a conventional way for converting between C data
49 * XDR *xdrs;
52 * xdrs is an instance of a XDR handle, to which or from which the data
54 * converted. The XDR handle contains an operation field which indicates
78 typedef int bool_t; /* This has to be a long, as it is used for XDR boolean too, which is a 4-byte value */
100 * Xdr operations. XDR_ENCODE causes the type to be encoded into the
117 * The XDR handle.
122 typedef struct xdr_struct XDR;
130 * bool_t (*xdrproc_t)(XDR *, caddr_t *);
132 typedef bool_t (*xdrproc_t) (XDR *, void *,...)
    [all...]
clnt.h 139 xdr - the XDR to use to send the RPC message
180 xdr - the XDR to use to send the RPC message
209 extern bool_t clnt_freeres( CLIENT *xdr, xdrproc_t xdr_res, caddr_t res_ptr );
210 extern void clnt_destroy( CLIENT *xdr );
svc.h 183 * xdr.h - xdr_void for the xdr routine. HOWEVER, tcp based rpc allows
192 extern bool_t svc_getargs(SVCXPRT *xdr, xdrproc_t xdr_args, caddr_t args_ptr);
193 extern bool_t svc_freeargs(SVCXPRT *xdr, xdrproc_t xdr_args, caddr_t args_ptr);
  /external/kernel-headers/original/linux/sunrpc/
xdr.h 2 * include/linux/sunrpc/xdr.h
31 * This is the generic XDR function. rqstp is either a rpc_rqst (client
38 * Basic structure for transmission/reception of a client XDR message.
59 len; /* Length of XDR encoded message */
64 * pre-xdr'ed macros.
89 * Miscellaneous XDR helper functions
128 * Adjust kvec to reflect end of xdr'ed data (RPC client XDR)
137 * XDR buffer helper functions
180 * Provide some simple tools for XDR buffer overflow-checking etc
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpc/
auth_unix.h 52 #include <rpc/xdr.h>
75 extern bool_t xdr_authunix_parms (XDR *__xdrs, struct authunix_parms *__p)
pmap_prot.h 43 #include <rpc/xdr.h>
73 * This file has no interface to xdr routines for PMAPPROC_CALLIT.
97 extern bool_t xdr_pmap (XDR *__xdrs, struct pmap *__regs) __THROW;
104 extern bool_t xdr_pmaplist (XDR *__xdrs, struct pmaplist **__rp) __THROW;
pmap_rmt.h 32 * Structures and XDR routines for parameters to and replies from
44 #include <rpc/xdr.h>
54 extern bool_t xdr_rmtcall_args (XDR *__xdrs, struct rmtcallargs *__crp)
64 extern bool_t xdr_rmtcallres (XDR *__xdrs, struct rmtcallres *__crp) __THROW;
rpc.h 45 #include <rpc/xdr.h> /* generic (de)serializer */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpc/
auth_unix.h 52 #include <rpc/xdr.h>
75 extern bool_t xdr_authunix_parms (XDR *__xdrs, struct authunix_parms *__p)
pmap_prot.h 43 #include <rpc/xdr.h>
73 * This file has no interface to xdr routines for PMAPPROC_CALLIT.
97 extern bool_t xdr_pmap (XDR *__xdrs, struct pmap *__regs) __THROW;
104 extern bool_t xdr_pmaplist (XDR *__xdrs, struct pmaplist **__rp) __THROW;
pmap_rmt.h 32 * Structures and XDR routines for parameters to and replies from
44 #include <rpc/xdr.h>
54 extern bool_t xdr_rmtcall_args (XDR *__xdrs, struct rmtcallargs *__crp)
64 extern bool_t xdr_rmtcallres (XDR *__xdrs, struct rmtcallres *__crp) __THROW;
rpc.h 45 #include <rpc/xdr.h> /* generic (de)serializer */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpc/
auth_unix.h 52 #include <rpc/xdr.h>
75 extern bool_t xdr_authunix_parms (XDR *__xdrs, struct authunix_parms *__p)
pmap_prot.h 43 #include <rpc/xdr.h>
73 * This file has no interface to xdr routines for PMAPPROC_CALLIT.
97 extern bool_t xdr_pmap (XDR *__xdrs, struct pmap *__regs) __THROW;
104 extern bool_t xdr_pmaplist (XDR *__xdrs, struct pmaplist **__rp) __THROW;
pmap_rmt.h 32 * Structures and XDR routines for parameters to and replies from
44 #include <rpc/xdr.h>
54 extern bool_t xdr_rmtcall_args (XDR *__xdrs, struct rmtcallargs *__crp)
64 extern bool_t xdr_rmtcallres (XDR *__xdrs, struct rmtcallres *__crp) __THROW;
rpc.h 45 #include <rpc/xdr.h> /* generic (de)serializer */

Completed in 127 milliseconds

1 2 3 4 5 6 7