setipaddress.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 40 行
HH
40 行
#ifndef CLICK_SETIPADDRESS_HH#define CLICK_SETIPADDRESS_HH#include <click/element.hh>#include <click/ipaddress.hh>CLICK_DECLS/* * =c * SetIPAddress(IP) * =s IP, annotations * sets destination IP address annotations * =d * Set the destination IP address annotation of incoming packets to the * static IP address IP. * * =a StoreIPAddress, GetIPAddress */class SetIPAddress : public Element { IPAddress _ip; public: SetIPAddress(); ~SetIPAddress(); const char *class_name() const { return "SetIPAddress"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } Packet *simple_action(Packet *); };CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?