From: Saverio Proto Date: Sat, 28 Jun 2014 09:38:40 +0000 (+0200) Subject: Adding ports and seqno to packet header X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=84db3f984c803cac2da3e6ea950987df59abcf28 Adding ports and seqno to packet header --- diff --git a/src/meshlink_internal.h b/src/meshlink_internal.h index 5279a63d..8700b94e 100644 --- a/src/meshlink_internal.h +++ b/src/meshlink_internal.h @@ -133,6 +133,9 @@ struct meshlink_node { typedef struct meshlink_packethdr { uint8_t destination[16]; uint8_t source[16]; + uint16_t dport; + uint16_t sport; + uint16_t seqno; } __attribute__ ((__packed__)) meshlink_packethdr_t; extern void meshlink_send_from_queue(event_loop_t* el,meshlink_handle_t *mesh);