X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.h;h=c16fdf81d7aabfd7f08ce05e3250f16124c305e4;hb=0b8b23e0dd7219344543f135ca0aeba8a4a42d48;hp=540a7c3fb6aa7455791727bbdf5e150f27a78df6;hpb=268c8545aaf83b7433f43402f5c77e39e20006ef;p=tinc diff --git a/src/protocol.h b/src/protocol.h index 540a7c3f..c16fdf81 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,11 @@ 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, + REQ_PACKET, LAST /* Guardian for the highest request number */ } request_t;