2 #define _TUNPROTOCOL_H 1
9 class TUNProtocol : public Protocol {
11 TUNProtocol(const char *devname);
12 virtual void send_packet(uint16_t proto, const std::string &data);
13 virtual int fd() const;
14 void read_packet(Protocol* sender);
20 #endif // !defined(_TUNPROTOCOL_H)