#include <assert.h>
#include <stdint.h>
+#include <sys/time.h>
#include <algorithm>
#include <map>
int seq;
uint16_t proto;
std::string data;
+ timeval ts;
bool operator> (const GREPacket &other) const {
return seq > other.seq;
Sender* sender;
int last_seq;
+ timeval last_sent_packet;
std::priority_queue<GREPacket, std::vector<GREPacket>, std::greater<GREPacket>> packet_buffer;
std::map<int, int> ccs;