]> git.sesse.net Git - greproxy/blobdiff - greprotocol.h
Make Reorderer into a Protocol.
[greproxy] / greprotocol.h
index 6930f20b601a9c932ea9d27384a970e4ecc2435d..621553400ca2365fc3636fe4cebd746a492da5e3 100644 (file)
@@ -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;