-/// A channel.
-struct meshlink_channel {
- struct node_t *node;
- void *priv;
- bool in_callback;
-
- struct utcp_connection *c;
- meshlink_channel_receive_cb_t receive_cb;
-};
-
-/// Header for data packets routed between nodes
-typedef struct meshlink_packethdr {
- uint8_t destination[16];
- uint8_t source[16];
-} __attribute__((__packed__)) meshlink_packethdr_t;
-