getip6address.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 45 行
HH
45 行
#ifndef CLICK_GETIP6ADDRESS_HH#define CLICK_GETIP6ADDRESS_HH#include <click/element.hh>#include <click/ip6address.hh>CLICK_DECLS/* * =c * GetIP6Address(offset) * =s IPv6 * * =d * Copies 16 bytes from the packet , starting at OFFSET, to the destination IP6 * address annotation. The offset is usually 24, to fetch the dst address from * an IP6 packet (w/o ether header). * * The destination address annotation is used by elements * that need to know where the packet is going. * Such elements include NDSol and LookupIP6Route. * * =a NDSol, LookupIP6Route, SetIP6Address, StoreIP6Address */class GetIP6Address : public Element { int _offset; public: GetIP6Address(); ~GetIP6Address(); const char *class_name() const { return "GetIP6Address"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); Packet *simple_action(Packet *); };CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?