#ifndef _LIB_NETWORK_FORMAT_SERIALIZER_H_ #define _LIB_NETWORK_FORMAT_SERIALIZER_H_ #define SGCA_PLANE 0x01 #define SGCA_VIEWTERM 0x02 #define SGCA_CTRLTERM 0x04 #include "../../header.h"; struct view{ int x; int y; int z; int cap; int speed; char id[6]; }; // 26 bytes struct ctrl{ int cap; int speed; int z; }; // 12 bytes struct netflow{ char type; char flags; char data[39]; } // 41 bytes #endif