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

📄 ip6mirror.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_IP6MIRROR_HH#define CLICK_IP6MIRROR_HH#include <click/element.hh>CLICK_DECLS/*=cIP6Mirror=s ip6swaps IP6 source and destination=dIncoming packets must have their IP6 header annotations set. Swaps packets'source and destination IP6 addresses. Packets containing TCP or UDPheaders---that is, first fragments of packets with protocol 6 or 17---alsohave their source and destination ports swapped.The TCP or UDP checksums are not changed. They don't need to be; theseswap operations do not affect checksums.*/class IP6Mirror : public Element { public:  IP6Mirror();  ~IP6Mirror();  const char *class_name() const		{ return "IP6Mirror"; }  const char *port_count() const		{ return PORTS_1_1; }  const char *processing() const		{ return AGNOSTIC; }  Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif /* IP6MIRROR_HH */

⌨️ 快捷键说明

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