summaryrefslogtreecommitdiffstats
path: root/freebsd/include/rpc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-09 08:48:05 (UTC)
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-10 12:09:54 (UTC)
commit9880635f2e642380b69b85e00271649b3a2fc2de (patch)
treee2ac34d279c1bfd3df2694461d8e0e509da1ab24 /freebsd/include/rpc
parent60b1d40751c8b3235b7ccbf3bb6ad0c562562f01 (diff)
downloadrtems-libbsd-9880635f2e642380b69b85e00271649b3a2fc2de.tar.bz2
RPC(3): Port to RTEMS
Diffstat (limited to 'freebsd/include/rpc')
-rw-r--r--freebsd/include/rpc/clnt_stat.h3
-rw-r--r--freebsd/include/rpc/rpc_msg.h12
-rw-r--r--freebsd/include/rpc/svc.h3
3 files changed, 12 insertions, 6 deletions
diff --git a/freebsd/include/rpc/clnt_stat.h b/freebsd/include/rpc/clnt_stat.h
index 6148b4e..a0cf01b 100644
--- a/freebsd/include/rpc/clnt_stat.h
+++ b/freebsd/include/rpc/clnt_stat.h
@@ -73,7 +73,8 @@ enum clnt_stat {
RPC_STALERACHANDLE = 25,
RPC_CANTCONNECT = 26, /* couldn't make connection (cots) */
RPC_XPRTFAILED = 27, /* received discon from remote (cots) */
- RPC_CANTCREATESTREAM = 28 /* can't push rpc module (cots) */
+ RPC_CANTCREATESTREAM = 28, /* can't push rpc module (cots) */
+ _CLNT_STAT = 0xffffffff
};
#ifdef __cplusplus
diff --git a/freebsd/include/rpc/rpc_msg.h b/freebsd/include/rpc/rpc_msg.h
index 6e8d074..fdde387 100644
--- a/freebsd/include/rpc/rpc_msg.h
+++ b/freebsd/include/rpc/rpc_msg.h
@@ -53,12 +53,14 @@
enum msg_type {
CALL=0,
- REPLY=1
+ REPLY=1,
+ _MSG_TYPE = 0xffffffff
};
enum reply_stat {
MSG_ACCEPTED=0,
- MSG_DENIED=1
+ MSG_DENIED=1,
+ _REPLY_STAT = 0xffffffff
};
enum accept_stat {
@@ -67,12 +69,14 @@ enum accept_stat {
PROG_MISMATCH=2,
PROC_UNAVAIL=3,
GARBAGE_ARGS=4,
- SYSTEM_ERR=5
+ SYSTEM_ERR=5,
+ _ACCEPT_STAT = 0xffffffff
};
enum reject_stat {
RPC_MISMATCH=0,
- AUTH_ERROR=1
+ AUTH_ERROR=1,
+ _REJECT_STAT = 0xffffffff
};
/*
diff --git a/freebsd/include/rpc/svc.h b/freebsd/include/rpc/svc.h
index 2af5550..51f278a 100644
--- a/freebsd/include/rpc/svc.h
+++ b/freebsd/include/rpc/svc.h
@@ -81,7 +81,8 @@
enum xprt_stat {
XPRT_DIED,
XPRT_MOREREQS,
- XPRT_IDLE
+ XPRT_IDLE,
+ _XPRT_STAT = 0xffffffff
};
/*