]> git.sesse.net Git - greproxy/blobdiff - greprotocol.h
Run include-what-you-use.
[greproxy] / greprotocol.h
index 6930f20b601a9c932ea9d27384a970e4ecc2435d..9cec54b7658897e0a98f158d2ff130998e0cc9e7 100644 (file)
@@ -1,20 +1,21 @@
 #ifndef _GREPROTOCOL_H
 #define _GREPROTOCOL_H
 
-#include "protocol.h"
-
 #include <arpa/inet.h>
+#include <netinet/in.h>
 #include <stdint.h>
 #include <string>
 
+#include "protocol.h"
+
 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;