printxor.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 44 行
HH
44 行
#ifndef CLICK_PRINTXOR_HH#define CLICK_PRINTXOR_HH#include <click/element.hh>#include <click/string.hh>#include "xorheader.hh"CLICK_DECLS/* * =c * PrintXor() * =s debugging * =d * Assumes input packets are encoded packet headers (ie a click_xored struct * from encodedheader.hh). Prints out a description of those packets. * * Keyword arguments are: * * =over 8 * * =a * Print */class PrintXor : public Element { public: PrintXor(); ~PrintXor(); const char *class_name() const { return "PrintXor"; } const char *processing() const { return AGNOSTIC; } //int configure(Vector<String> &, ErrorHandler *); Packet *simple_action(Packet *); static String to_string(struct click_xor_header *); //bool _print_anno; //bool _print_checksum;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?