From 84db3f984c803cac2da3e6ea950987df59abcf28 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Sat, 28 Jun 2014 11:38:40 +0200 Subject: [PATCH] Adding ports and seqno to packet header --- src/meshlink_internal.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5