📄 striptonet.hh
字号:
// -*- mode: c++; c-basic-offset: 4 -*-#ifndef CLICK_STRIPTONET_HH#define CLICK_STRIPTONET_HH#include <click/element.hh>CLICK_DECLS/* * =c * * StripToNetworkHeader() * * =s encapsulation * * strips everything preceding network header * * =d * * Strips any data preceding the network header from every passing packet. * Requires a network header annotation, such as an IP header annotation, * on every packet. * If the packet's network header annotation points before the start of the * packet data, then StripToNetworkHeader will move the packet data pointer * back, to point at the network header. * * =a Strip */class StripToNetworkHeader : public Element { public: StripToNetworkHeader(); ~StripToNetworkHeader(); const char *class_name() const { return "StripToNetworkHeader"; } const char *processing() const { return AGNOSTIC; } Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -