The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
frametypes.h
Go to the documentation of this file.
1 
63 #define FRAMETYPE_END 0
64 
82 #define FRAMETYPE_SIG 1
83 
104 #define FRAMETYPE_CRYPTCURVE25519 2
105 
122 #define FRAMETYPE_COMPRESS 3
123 
138 #define FRAMETYPE_REQID 4
139 
152 #define FRAMETYPE_PKTDATA 6
153 
167 #define FRAMETYPE_WALLCLOCK 7
168 
180 #define FRAMETYPE_INTERFACE 8
181 
192 #define FRAMETYPE_HOSTNAME 9
193 
206 #define FRAMETYPE_IPADDR 10
207 
219 #define FRAMETYPE_MACADDR 11
220 
232 #define FRAMETYPE_PORTNUM 12
233 
244 #define FRAMETYPE_IPPORT 13
245 
257 #define FRAMETYPE_HBINTERVAL 14
258 
270 #define FRAMETYPE_HBDEADTIME 15
271 
283 #define FRAMETYPE_HBWARNTIME 16
284 
295 #define FRAMETYPE_PATHNAME 17
296 
308 #define FRAMETYPE_JSDISCOVER 19
309 
319 #define FRAMETYPE_CONFIGJSON 20
320 
330 #define FRAMETYPE_CSTRINGVAL 21
331 
342 #define FRAMETYPE_CINTVAL 22
343 
356 #define FRAMETYPE_ELAPSEDTIME 23
357 
368 #define FRAMETYPE_DISCNAME 24
369 
381 #define FRAMETYPE_DISCINTERVAL 25
382 
394 #define FRAMETYPE_DISCJSON 26
395 
406 #define FRAMETYPE_RSCJSON 27
407 
418 #define FRAMETYPE_RSCJSONREPLY 28
419 
430 #define FRAMETYPE_KEYID 29
431 
443 #define FRAMETYPE_PUBKEYCURVE25519 30
444 #define FRAMETYPEMAP { \
447  {FRAMETYPE_END, /*0*/ frame_tlvconstructor}, \
448  {FRAMETYPE_SIG, /*1*/ signframe_tlvconstructor}, \
449  {FRAMETYPE_CRYPTCURVE25519, /*2*/ cryptcurve25519_tlvconstructor}, \
450  {FRAMETYPE_COMPRESS, /*3*/ compressframe_tlvconstructor}, \
451  {FRAMETYPE_REQID, /*4*/ seqnoframe_tlvconstructor}, \
452  {FRAMETYPE_PKTDATA, /*6*/ frame_tlvconstructor}, \
453  {FRAMETYPE_WALLCLOCK, /*7*/ intframe_tlvconstructor}, \
454  {FRAMETYPE_INTERFACE, /*8*/ cstringframe_tlvconstructor}, \
455  {FRAMETYPE_HOSTNAME, /*9*/ cstringframe_tlvconstructor}, \
456  {FRAMETYPE_IPADDR, /*10*/ addrframe_tlvconstructor}, \
457  {FRAMETYPE_MACADDR, /*11*/ addrframe_tlvconstructor}, \
458  {FRAMETYPE_PORTNUM, /*12*/ intframe_tlvconstructor}, \
459  {FRAMETYPE_IPPORT, /*13*/ ipportframe_tlvconstructor}, \
460  {FRAMETYPE_HBINTERVAL, /*14*/ intframe_tlvconstructor}, \
461  {FRAMETYPE_HBDEADTIME, /*15*/ intframe_tlvconstructor}, \
462  {FRAMETYPE_HBWARNTIME, /*16*/ intframe_tlvconstructor}, \
463  {FRAMETYPE_PATHNAME, /*17*/ cstringframe_tlvconstructor}, \
464  {FRAMETYPE_JSDISCOVER, /*19*/ cstringframe_tlvconstructor}, \
465  {FRAMETYPE_CONFIGJSON, /*20*/ cstringframe_tlvconstructor}, \
466  {FRAMETYPE_CSTRINGVAL, /*21*/ cstringframe_tlvconstructor}, \
467  {FRAMETYPE_CINTVAL, /*22*/ intframe_tlvconstructor}, \
468  {FRAMETYPE_ELAPSEDTIME, /*23*/ intframe_tlvconstructor}, \
469  {FRAMETYPE_DISCNAME, /*24*/ cstringframe_tlvconstructor}, \
470  {FRAMETYPE_DISCINTERVAL, /*25*/ intframe_tlvconstructor}, \
471  {FRAMETYPE_DISCJSON, /*26*/ cstringframe_tlvconstructor}, \
472  {FRAMETYPE_RSCJSON, /*27*/ cstringframe_tlvconstructor}, \
473  {FRAMETYPE_RSCJSONREPLY, /*28*/ cstringframe_tlvconstructor}, \
474  {FRAMETYPE_KEYID, /*29*/ cstringframe_tlvconstructor}, \
475  {FRAMETYPE_PUBKEYCURVE25519, /*30*/ frame_tlvconstructor}, \
476 }