src/applications/v4ping/v4ping.h
changeset 5330 2187778d6f54
parent 4026 58ae52c5845f
child 5715 e84ad4735c4b
equal deleted inserted replaced
5326:4ee18c4581dd 5330:2187778d6f54
     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);