setudpchecksum.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 35 行

HH
35
字号
// -*- c-basic-offset: 4 -*-#ifndef CLICK_SETUDPCHECKSUM_HH#define CLICK_SETUDPCHECKSUM_HH#include <click/element.hh>#include <click/glue.hh>CLICK_DECLS/* * =c * SetUDPChecksum() * =s UDP * sets UDP packets' checksums * =d * Input packets should be UDP in IP. * * Calculates the UDP checksum and sets the UDP header's checksum field. Uses * IP header fields to generate the pseudo-header. * * =a CheckUDPHeader, SetIPChecksum, CheckIPHeader, SetTCPChecksum */class SetUDPChecksum : public Element { public:        SetUDPChecksum();    ~SetUDPChecksum();      const char *class_name() const	{ return "SetUDPChecksum"; }    const char *processing() const	{ return AGNOSTIC; }    Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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