X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=greprotocol.h;h=621553400ca2365fc3636fe4cebd746a492da5e3;hb=8e81c01b2de70c5e7e1a73d25ebbece0a95bd2c8;hp=6930f20b601a9c932ea9d27384a970e4ecc2435d;hpb=53c480e8b42d1257f99acf0d9a8d47f4aae8690d;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;