X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol.h;h=f72d42d8999869c8f2baa27daf2dbad868a3660a;hb=9ae205157e4ba739dccab09cdbbc583c162b675a;hp=060d7dff8b201a4a923615652e6e1d50b708259c;hpb=a23ddd4f4e273b2ed68fe173b4faa69aadc98756;p=meshlink diff --git a/src/protocol.h b/src/protocol.h index 060d7dff..f72d42d8 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -36,7 +36,7 @@ /* Request numbers */ typedef enum request_t { - ALL = -1, /* Guardian for allow_request */ + ALL = -1, /* Guardian for allow_request */ ID = 0, METAKEY, CHALLENGE, CHAL_REPLY, ACK, STATUS, ERROR, TERMREQ, PING, PONG, @@ -44,11 +44,11 @@ typedef enum request_t { ADD_EDGE, DEL_EDGE, KEY_CHANGED, REQ_KEY, ANS_KEY, PACKET, - /* Tinc 1.1 requests */ + /* Extended requests */ CONTROL, REQ_PUBKEY, ANS_PUBKEY, REQ_SPTPS, - LAST /* Guardian for the highest request number */ + NUM_REQUESTS } request_t; typedef enum request_error_t {