striptonet.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 42 行
HH
42 行
// -*- 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 + =
减小字号Ctrl + -
显示快捷键?