struct ecdsa *invitation_key;
debug_t debug_level;
- bool bypass_security;
};
/// A handle for a MeshLink node.
extern meshlink_handle_t *mesh;
+/// Header for data packets routed between nodes
+typedef struct meshlink_packethdr {
+ uint8_t destination[16];
+ uint8_t source[16];
+} __attribute__ ((__packed__)) meshlink_packethdr_t;
+
#endif // MESHLINK_INTERNAL_H