ping.h

来自「NS-2.28的802.11e协议扩展源代码」· C头文件 代码 · 共 36 行

H
36
字号
/* * File: Header File for a new 'Ping' Agent Class for the ns *       network simulator * Author: Marc Greis (greis@cs.uni-bonn.de), May 1998 * */#ifndef ns_ping_h#define ns_ping_h#include "agent.h"#include "tclcl.h"#include "packet.h"#include "address.h"#include "ip.h"struct hdr_ping {  char ret;  double send_time;};class PingAgent : public Agent { public:  PingAgent();  int command(int argc, const char*const* argv);  void recv(Packet*, Handler*); protected:  int off_ping_;};#endif

⌨️ 快捷键说明

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