⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getip6address.hh

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 HH
字号:
#ifndef CLICK_GETIP6ADDRESS_HH#define CLICK_GETIP6ADDRESS_HH#include <click/element.hh>#include <click/ip6address.hh>CLICK_DECLS/* * =c * GetIP6Address(OFFSET) * =s ip6 * * =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 *port_count() const	{ return PORTS_1_1; }  const char *processing() const	{ return AGNOSTIC; }  int configure(Vector<String> &, ErrorHandler *);  Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -