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

📄 stripipheader.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_STRIPIPHEADER_HH#define CLICK_STRIPIPHEADER_HH#include <click/element.hh>CLICK_DECLS/* * =c * StripIPHeader() * =s ip * strips outermost IP header * =d * * Strips the outermost IP header from IP packets, based on the IP Header * annotation. * * Note that the packet's annotations are not changed.  Thus, the packet's IP * header annotation continues to point at the IP header, even though the IP * header's data is now out of range.  To correctly handle an IP-in-IP packet, * you will probably need to follow StripIPHeader with a CheckIPHeader or * MarkIPHeader element, thus marking the packet's inner header. * * =a CheckIPHeader, CheckIPHeader2, MarkIPHeader, UnstripIPHeader, Strip */class StripIPHeader : public Element { public:    StripIPHeader();    ~StripIPHeader();    const char *class_name() const		{ return "StripIPHeader"; }    const char *port_count() const		{ return PORTS_1_1; }    Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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