summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rpc/PROTOCOL6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/PROTOCOL b/src/rpc/PROTOCOL
index 4022556..216c9bd 100644
--- a/src/rpc/PROTOCOL
+++ b/src/rpc/PROTOCOL
@@ -19,17 +19,17 @@
ifname : iflen
'\0' : 1
msg : msglen
-
+ A PM is the same as a query, except the ifname starts with a 0xff char
+and contains an idstr instead of an ifname.
Sending a query (server -> rclient)
'Q' : 1
ifid : 4
rinfo: SKABUS_RPC_RINFO_PACK
- contains serial(8), deadline(12), timestamp(12), uid(4), gid(4), idstr(SKABUS_RPC_IDSTR_SIZE), '\0'(1)
+ contains serial(8), deadline(12), timestamp(12), uid(sizeof(uid_t)), gid(sizeof(gid_t)), idstr(SKABUS_RPC_IDSTR_SIZE), '\0'(1)
msg : msglen
-
Sending a reply (rclient -> server)
'R' : 1