X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.h;h=41f74ab4bcd5f736df1641cac6a12410f390d2f3;hb=9e76c464b26b066e1eb3aa5232e573792e28020d;hp=540a7c3fb6aa7455791727bbdf5e150f27a78df6;hpb=19be9cf7150858311f7898fa3fb525d692d02f64;p=tinc diff --git a/src/protocol.h b/src/protocol.h index 540a7c3f..41f74ab4 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -24,7 +24,7 @@ /* Protocol version. Different major versions are incompatible. */ #define PROT_MAJOR 17 -#define PROT_MINOR 2 +#define PROT_MINOR 2 /* Should not exceed 255! */ /* Silly Windows */ @@ -43,7 +43,10 @@ typedef enum request_t { ADD_EDGE, DEL_EDGE, KEY_CHANGED, REQ_KEY, ANS_KEY, PACKET, + /* Tinc 1.1 requests */ CONTROL, + REQ_PUBKEY, ANS_PUBKEY, + REQ_SPTPS, LAST /* Guardian for the highest request number */ } request_t;