diff options
author | Joseph Henry <joseph.henry@gmail.com> | 2015-10-29 17:57:59 -0700 |
---|---|---|
committer | Joseph Henry <joseph.henry@gmail.com> | 2015-10-29 17:57:59 -0700 |
commit | 96eb0ce49262b5a8a7a99993733d52dbcf135f01 (patch) | |
tree | d522bd305a833b12309421fa05e4bcf783284326 /netcon/Intercept.h | |
parent | f6e0bdb2f2a518310d4875ffb608d08ed8442aa4 (diff) | |
download | infinitytier-96eb0ce49262b5a8a7a99993733d52dbcf135f01.tar.gz infinitytier-96eb0ce49262b5a8a7a99993733d52dbcf135f01.zip |
Added state dump, fixed numerous RPC related bugs
Diffstat (limited to 'netcon/Intercept.h')
-rwxr-xr-x | netcon/Intercept.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netcon/Intercept.h b/netcon/Intercept.h index 71012be3..86fb0049 100755 --- a/netcon/Intercept.h +++ b/netcon/Intercept.h @@ -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 |