#ifndef _MARTE_FRESCAN_PACKETS_H_
#define _MARTE_FRESCAN_PACKETS_H_
+#include <time.h> // struct timespec
#include <stdint.h> // uint8_t ...
#include "frescan.h" // frescan_flags_t
#include <misc/linux_list.h> // struct list_head
* @buffer_head: pointer to first byte of the buffer that is going to be sent
* @buffer_read_pointer: pointer to the part of the buffer being read
* @buffer_pending_bytes: bytes waiting to be sent
+ * @timestamp: time when the packet was enqueued (activation time)
* @pool_pos: position in the packets pool to know how to free it
*
* NOTE: the buffers could also be used on the receiving part to support
uint8_t *buffer_head; // only for sending packets
uint8_t *buffer_read_pointer; // only for sending packets
uint32_t buffer_pending_bytes; // only for sending packets
+ struct timespec timestamp;
int pool_pos;
} frescan_packet_t;