summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/portmap-xdr.x
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/portmap-xdr.x')
-rw-r--r--rpc/xdr/src/portmap-xdr.x55
1 files changed, 55 insertions, 0 deletions
diff --git a/rpc/xdr/src/portmap-xdr.x b/rpc/xdr/src/portmap-xdr.x
new file mode 100644
index 00000000000..f60dcc76c8e
--- /dev/null
+++ b/rpc/xdr/src/portmap-xdr.x
@@ -0,0 +1,55 @@
+
+struct pmap_port_by_brick_req {
+ string brick<>;
+};
+
+struct pmap_port_by_brick_rsp {
+ int op_ret;
+ int op_errno;
+ int status;
+ int port;
+};
+
+
+struct pmap_brick_by_port_req {
+ int port;
+};
+
+struct pmap_brick_by_port_rsp {
+ int op_ret;
+ int op_errno;
+ int status;
+ string brick<>;
+};
+
+
+struct pmap_signup_req {
+ string brick<>;
+ int port;
+};
+
+struct pmap_signup_rsp {
+ int op_ret;
+ int op_errno;
+};
+
+
+struct pmap_signin_req {
+ string brick<>;
+ int port;
+};
+
+struct pmap_signin_rsp {
+ int op_ret;
+ int op_errno;
+};
+
+struct pmap_signout_req {
+ string brick<>;
+ int port;
+};
+
+struct pmap_signout_rsp {
+ int op_ret;
+ int op_errno;
+};