mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
Added state dump, fixed numerous RPC related bugs
This commit is contained in:
parent
f6e0bdb2f2
commit
96eb0ce492
10 changed files with 256 additions and 102 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <sys/socket.h>
|
||||
|
||||
#define BUF_SZ 32
|
||||
#define BUF_SZ 128
|
||||
#define ERR_OK 0
|
||||
|
||||
/* Userland RPC codes */
|
||||
|
@ -54,6 +54,7 @@
|
|||
#define RPC_MAP_REQ 21 // A call to determine whether an fd is mapped to the service
|
||||
#define RPC_RETVAL 22 // not RPC per se, but something we should codify
|
||||
#define RPC_KILL_INTERCEPT 23 // Tells the service we need to shut down all connections
|
||||
#define RPC_I_AM 24 // Tells the service the PID for the current client
|
||||
|
||||
/* Connection statuses */
|
||||
#define UNSTARTED 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue