equal
deleted
inserted
replaced
7 |
7 |
8 namespace ns3 { |
8 namespace ns3 { |
9 |
9 |
10 class Socket; |
10 class Socket; |
11 |
11 |
|
12 /** |
|
13 * \brief an application which sends one ICMP ECHO request, waits for a REPLYs |
|
14 * and reports the calculated RTT. |
|
15 * |
|
16 * Note: The RTT calculated is reported through a trace source. |
|
17 */ |
12 class V4Ping : public Application |
18 class V4Ping : public Application |
13 { |
19 { |
14 public: |
20 public: |
15 static TypeId GetTypeId (void); |
21 static TypeId GetTypeId (void); |
16 |
22 |
|
23 /** |
|
24 * create a pinger applications |
|
25 */ |
17 V4Ping (); |
26 V4Ping (); |
18 virtual ~V4Ping (); |
27 virtual ~V4Ping (); |
19 |
28 |
20 private: |
29 private: |
21 void Write32 (uint8_t *buffer, uint32_t data); |
30 void Write32 (uint8_t *buffer, uint32_t data); |