/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...] |
/hardware/msm7k/librpc/ |
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...] |
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...] |
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...] |
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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
bootparam_prot.h | 94 /* the xdr functions */ 97 extern bool_t xdr_bp_machine_name_t (XDR *, bp_machine_name_t*); 98 extern bool_t xdr_bp_path_t (XDR *, bp_path_t*); 99 extern bool_t xdr_bp_fileid_t (XDR *, bp_fileid_t*); 100 extern bool_t xdr_ip_addr_t (XDR *, ip_addr_t*); 101 extern bool_t xdr_bp_address (XDR *, bp_address*); 102 extern bool_t xdr_bp_whoami_arg (XDR *, bp_whoami_arg*); 103 extern bool_t xdr_bp_whoami_res (XDR *, bp_whoami_res*); 104 extern bool_t xdr_bp_getfile_arg (XDR *, bp_getfile_arg*); 105 extern bool_t xdr_bp_getfile_res (XDR *, bp_getfile_res*) [all...] |
mount.h | 112 /* the xdr functions */ 115 extern bool_t xdr_fhandle (XDR *, fhandle); 116 extern bool_t xdr_fhstatus (XDR *, fhstatus*); 117 extern bool_t xdr_dirpath (XDR *, dirpath*); 118 extern bool_t xdr_name (XDR *, name*); 119 extern bool_t xdr_mountlist (XDR *, mountlist*); 120 extern bool_t xdr_mountbody (XDR *, mountbody*); 121 extern bool_t xdr_groups (XDR *, groups*); 122 extern bool_t xdr_groupnode (XDR *, groupnode*); 123 extern bool_t xdr_exports (XDR *, exports*) [all...] |
nfs_prot.h | 380 /* the xdr functions */ 383 extern bool_t xdr_nfsstat (XDR *, nfsstat*); 384 extern bool_t xdr_ftype (XDR *, ftype*); 385 extern bool_t xdr_nfs_fh (XDR *, nfs_fh*); 386 extern bool_t xdr_nfstime (XDR *, nfstime*); 387 extern bool_t xdr_fattr (XDR *, fattr*); 388 extern bool_t xdr_sattr (XDR *, sattr*); 389 extern bool_t xdr_filename (XDR *, filename*); 390 extern bool_t xdr_nfspath (XDR *, nfspath*); 391 extern bool_t xdr_attrstat (XDR *, attrstat*) [all...] |
klm_prot.h | 108 /* the xdr functions */ 111 extern bool_t xdr_klm_stats (XDR *, klm_stats*); 112 extern bool_t xdr_klm_lock (XDR *, klm_lock*); 113 extern bool_t xdr_klm_holder (XDR *, klm_holder*); 114 extern bool_t xdr_klm_stat (XDR *, klm_stat*); 115 extern bool_t xdr_klm_testrply (XDR *, klm_testrply*); 116 extern bool_t xdr_klm_lockargs (XDR *, klm_lockargs*); 117 extern bool_t xdr_klm_testargs (XDR *, klm_testargs*); 118 extern bool_t xdr_klm_unlockargs (XDR *, klm_unlockargs*);
|
sm_inter.h | 107 /* the xdr functions */ 110 extern bool_t xdr_sm_name (XDR *, sm_name*); 111 extern bool_t xdr_my_id (XDR *, my_id*); 112 extern bool_t xdr_mon_id (XDR *, mon_id*); 113 extern bool_t xdr_mon (XDR *, mon*); 114 extern bool_t xdr_sm_stat (XDR *, sm_stat*); 115 extern bool_t xdr_res (XDR *, res*); 116 extern bool_t xdr_sm_stat_res (XDR *, sm_stat_res*); 117 extern bool_t xdr_status (XDR *, status*);
|
rquota.h | 75 /* the xdr functions */ 78 extern bool_t xdr_getquota_args (XDR *, getquota_args*); 79 extern bool_t xdr_rquota (XDR *, rquota*); 80 extern bool_t xdr_gqr_status (XDR *, gqr_status*); 81 extern bool_t xdr_getquota_rslt (XDR *, getquota_rslt*);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
bootparam_prot.h | 94 /* the xdr functions */ 97 extern bool_t xdr_bp_machine_name_t (XDR *, bp_machine_name_t*); 98 extern bool_t xdr_bp_path_t (XDR *, bp_path_t*); 99 extern bool_t xdr_bp_fileid_t (XDR *, bp_fileid_t*); 100 extern bool_t xdr_ip_addr_t (XDR *, ip_addr_t*); 101 extern bool_t xdr_bp_address (XDR *, bp_address*); 102 extern bool_t xdr_bp_whoami_arg (XDR *, bp_whoami_arg*); 103 extern bool_t xdr_bp_whoami_res (XDR *, bp_whoami_res*); 104 extern bool_t xdr_bp_getfile_arg (XDR *, bp_getfile_arg*); 105 extern bool_t xdr_bp_getfile_res (XDR *, bp_getfile_res*) [all...] |
mount.h | 112 /* the xdr functions */ 115 extern bool_t xdr_fhandle (XDR *, fhandle); 116 extern bool_t xdr_fhstatus (XDR *, fhstatus*); 117 extern bool_t xdr_dirpath (XDR *, dirpath*); 118 extern bool_t xdr_name (XDR *, name*); 119 extern bool_t xdr_mountlist (XDR *, mountlist*); 120 extern bool_t xdr_mountbody (XDR *, mountbody*); 121 extern bool_t xdr_groups (XDR *, groups*); 122 extern bool_t xdr_groupnode (XDR *, groupnode*); 123 extern bool_t xdr_exports (XDR *, exports*) [all...] |
nfs_prot.h | 380 /* the xdr functions */ 383 extern bool_t xdr_nfsstat (XDR *, nfsstat*); 384 extern bool_t xdr_ftype (XDR *, ftype*); 385 extern bool_t xdr_nfs_fh (XDR *, nfs_fh*); 386 extern bool_t xdr_nfstime (XDR *, nfstime*); 387 extern bool_t xdr_fattr (XDR *, fattr*); 388 extern bool_t xdr_sattr (XDR *, sattr*); 389 extern bool_t xdr_filename (XDR *, filename*); 390 extern bool_t xdr_nfspath (XDR *, nfspath*); 391 extern bool_t xdr_attrstat (XDR *, attrstat*) [all...] |
klm_prot.h | 108 /* the xdr functions */ 111 extern bool_t xdr_klm_stats (XDR *, klm_stats*); 112 extern bool_t xdr_klm_lock (XDR *, klm_lock*); 113 extern bool_t xdr_klm_holder (XDR *, klm_holder*); 114 extern bool_t xdr_klm_stat (XDR *, klm_stat*); 115 extern bool_t xdr_klm_testrply (XDR *, klm_testrply*); 116 extern bool_t xdr_klm_lockargs (XDR *, klm_lockargs*); 117 extern bool_t xdr_klm_testargs (XDR *, klm_testargs*); 118 extern bool_t xdr_klm_unlockargs (XDR *, klm_unlockargs*);
|
sm_inter.h | 107 /* the xdr functions */ 110 extern bool_t xdr_sm_name (XDR *, sm_name*); 111 extern bool_t xdr_my_id (XDR *, my_id*); 112 extern bool_t xdr_mon_id (XDR *, mon_id*); 113 extern bool_t xdr_mon (XDR *, mon*); 114 extern bool_t xdr_sm_stat (XDR *, sm_stat*); 115 extern bool_t xdr_res (XDR *, res*); 116 extern bool_t xdr_sm_stat_res (XDR *, sm_stat_res*); 117 extern bool_t xdr_status (XDR *, status*);
|
rquota.h | 75 /* the xdr functions */ 78 extern bool_t xdr_getquota_args (XDR *, getquota_args*); 79 extern bool_t xdr_rquota (XDR *, rquota*); 80 extern bool_t xdr_gqr_status (XDR *, gqr_status*); 81 extern bool_t xdr_getquota_rslt (XDR *, getquota_rslt*);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
bootparam_prot.h | 94 /* the xdr functions */ 97 extern bool_t xdr_bp_machine_name_t (XDR *, bp_machine_name_t*); 98 extern bool_t xdr_bp_path_t (XDR *, bp_path_t*); 99 extern bool_t xdr_bp_fileid_t (XDR *, bp_fileid_t*); 100 extern bool_t xdr_ip_addr_t (XDR *, ip_addr_t*); 101 extern bool_t xdr_bp_address (XDR *, bp_address*); 102 extern bool_t xdr_bp_whoami_arg (XDR *, bp_whoami_arg*); 103 extern bool_t xdr_bp_whoami_res (XDR *, bp_whoami_res*); 104 extern bool_t xdr_bp_getfile_arg (XDR *, bp_getfile_arg*); 105 extern bool_t xdr_bp_getfile_res (XDR *, bp_getfile_res*) [all...] |
mount.h | 112 /* the xdr functions */ 115 extern bool_t xdr_fhandle (XDR *, fhandle); 116 extern bool_t xdr_fhstatus (XDR *, fhstatus*); 117 extern bool_t xdr_dirpath (XDR *, dirpath*); 118 extern bool_t xdr_name (XDR *, name*); 119 extern bool_t xdr_mountlist (XDR *, mountlist*); 120 extern bool_t xdr_mountbody (XDR *, mountbody*); 121 extern bool_t xdr_groups (XDR *, groups*); 122 extern bool_t xdr_groupnode (XDR *, groupnode*); 123 extern bool_t xdr_exports (XDR *, exports*) [all...] |
nfs_prot.h | 380 /* the xdr functions */ 383 extern bool_t xdr_nfsstat (XDR *, nfsstat*); 384 extern bool_t xdr_ftype (XDR *, ftype*); 385 extern bool_t xdr_nfs_fh (XDR *, nfs_fh*); 386 extern bool_t xdr_nfstime (XDR *, nfstime*); 387 extern bool_t xdr_fattr (XDR *, fattr*); 388 extern bool_t xdr_sattr (XDR *, sattr*); 389 extern bool_t xdr_filename (XDR *, filename*); 390 extern bool_t xdr_nfspath (XDR *, nfspath*); 391 extern bool_t xdr_attrstat (XDR *, attrstat*) [all...] |
klm_prot.h | 108 /* the xdr functions */ 111 extern bool_t xdr_klm_stats (XDR *, klm_stats*); 112 extern bool_t xdr_klm_lock (XDR *, klm_lock*); 113 extern bool_t xdr_klm_holder (XDR *, klm_holder*); 114 extern bool_t xdr_klm_stat (XDR *, klm_stat*); 115 extern bool_t xdr_klm_testrply (XDR *, klm_testrply*); 116 extern bool_t xdr_klm_lockargs (XDR *, klm_lockargs*); 117 extern bool_t xdr_klm_testargs (XDR *, klm_testargs*); 118 extern bool_t xdr_klm_unlockargs (XDR *, klm_unlockargs*);
|
sm_inter.h | 107 /* the xdr functions */ 110 extern bool_t xdr_sm_name (XDR *, sm_name*); 111 extern bool_t xdr_my_id (XDR *, my_id*); 112 extern bool_t xdr_mon_id (XDR *, mon_id*); 113 extern bool_t xdr_mon (XDR *, mon*); 114 extern bool_t xdr_sm_stat (XDR *, sm_stat*); 115 extern bool_t xdr_res (XDR *, res*); 116 extern bool_t xdr_sm_stat_res (XDR *, sm_stat_res*); 117 extern bool_t xdr_status (XDR *, status*);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpc/ |
xdr.h | 31 * xdr.h, External Data Representation Serialization Routines. 49 * XDR provides a conventional way for converting between C data 59 * XDR *xdrs; 62 * xdrs is an instance of a XDR handle, to which or from which the data 64 * converted. The XDR handle contains an operation field which indicates 78 * Xdr operations. XDR_ENCODE causes the type to be encoded into the 106 * The XDR handle. 111 typedef struct XDR XDR; 112 struct XDR [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpc/ |
xdr.h | 31 * xdr.h, External Data Representation Serialization Routines. 49 * XDR provides a conventional way for converting between C data 59 * XDR *xdrs; 62 * xdrs is an instance of a XDR handle, to which or from which the data 64 * converted. The XDR handle contains an operation field which indicates 78 * Xdr operations. XDR_ENCODE causes the type to be encoded into the 106 * The XDR handle. 111 typedef struct XDR XDR; 112 struct XDR [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpc/ |
xdr.h | 31 * xdr.h, External Data Representation Serialization Routines. 49 * XDR provides a conventional way for converting between C data 59 * XDR *xdrs; 62 * xdrs is an instance of a XDR handle, to which or from which the data 64 * converted. The XDR handle contains an operation field which indicates 78 * Xdr operations. XDR_ENCODE causes the type to be encoded into the 106 * The XDR handle. 111 typedef struct XDR XDR; 112 struct XDR [all...] |