]> git.meshlink.io Git - meshlink/blobdiff - src/control_common.h
Fix pointer arithmetic when creating and verifying message authentication codes.
[meshlink] / src / control_common.h
index 2b7795562299ae91da1029c14132bb0ed580da4f..6384651a04b02d2ecbe309d7d08832d2fdf4fe3a 100644 (file)
@@ -33,6 +33,7 @@ enum request_type {
        REQ_DUMP_GRAPH,
        REQ_PURGE,
        REQ_SET_DEBUG,
+       REQ_RETRY,
 };
 
 #define TINC_CTL_VERSION_CURRENT 0
@@ -40,6 +41,7 @@ enum request_type {
 /* This greeting is sent by the server on socket open. */
 typedef struct tinc_ctl_greeting_t {
        int version;
+       pid_t pid;
 } tinc_ctl_greeting_t;
 
 /* A single request or response header. */