X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=greprotocol.h;h=621553400ca2365fc3636fe4cebd746a492da5e3;hb=66d3e5110affbc70766211aeff46c4f41e532ed1;hp=6930f20b601a9c932ea9d27384a970e4ecc2435d;hpb=7c67b21504e7758f4148386befc8cd80455a1a85;p=greproxy diff --git a/greprotocol.h b/greprotocol.h index 6930f20..6215534 100644 --- a/greprotocol.h +++ b/greprotocol.h @@ -12,9 +12,9 @@ class Reorderer; class GREProtocol : public Protocol { public: GREProtocol(const in6_addr &myaddr, const in6_addr &dst); - virtual void send_packet(uint16_t proto, const std::string &data); + virtual void send_packet(uint16_t proto, const std::string &data, int incoming_seq); virtual int fd() const; - void read_packet(Reorderer* sender); + void read_packet(Protocol* sender); private: int seq;