RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Enumerations | Functions
rpc_msg.h File Reference
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/auth.h>
Include dependency graph for rpc_msg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  accepted_reply
 
struct  rejected_reply
 
struct  reply_body
 
struct  call_body
 
struct  rpc_msg
 

Macros

#define RPC_MSG_VERSION   ((u_int32_t) 2)
 
#define RPC_SERVICE_PORT   ((u_short) 2048)
 
#define ar_results   ru.AR_results
 
#define ar_vers   ru.AR_versions
 
#define rj_vers   ru.RJ_versions
 
#define rj_why   ru.RJ_why
 
#define rp_acpt   ru.RP_ar
 
#define rp_rjct   ru.RP_dr
 
#define rm_call   ru.RM_cmb
 
#define rm_reply   ru.RM_rmb
 
#define acpted_rply   ru.RM_rmb.ru.RP_ar
 
#define rjcted_rply   ru.RM_rmb.ru.RP_dr
 

Enumerations

enum  msg_type { CALL =0, REPLY =1, _MSG_TYPE = 0xffffffff }
 
enum  reply_stat { MSG_ACCEPTED =0, MSG_DENIED =1, _REPLY_STAT = 0xffffffff }
 
enum  accept_stat {
  SUCCESS =0, PROG_UNAVAIL =1, PROG_MISMATCH =2, PROC_UNAVAIL =3,
  GARBAGE_ARGS =4, SYSTEM_ERR =5, _ACCEPT_STAT = 0xffffffff
}
 
enum  reject_stat { RPC_MISMATCH =0, AUTH_ERROR =1, _REJECT_STAT = 0xffffffff }
 

Functions

__BEGIN_DECLS bool_t xdr_callmsg (XDR *, struct rpc_msg *)
 
bool_t xdr_callhdr (XDR *, struct rpc_msg *)
 
bool_t xdr_replymsg (XDR *, struct rpc_msg *)
 
void _seterr_reply (struct rpc_msg *, struct rpc_err *)