#ifndef INCLUDE_DINETRPCLLSNIFFER_H_ #define INCLUDE_DINETRPCLLSNIFFER_H_ #include #include "tins/tcp_ip/stream_follower.h" #include #include #include #include class DinetrpcllSniffer : public Di::Application { public: void loadDefaultConfig(void); /** Configure DinetrpcllSniffer instance */ int init(void); /** * get the application name * @return string with application name */ std::string getApplicationName(void); /** * get the application version * @return string with application version */ std::string getApplicationVersion(void); /** * Run the proxy instance */ int run(void); /** Control running state of proxy */ void stop(void); private: ProtocolFacade __protoFacade; std::map> __buffers; bool __handler(const Tins::Packet& pkt); uint64_t pack; }; #endif // INCLUDE_DINETRPCLLSNIFFER_H_