src/internet-stack/ipv4-l4-protocol.h
changeset 3588 ad0a36bfdb62
parent 3266 1ae7df5cf87b
child 3820 c04ecfdce1ef
equal deleted inserted replaced
3587:53e2e87aebd0 3588:ad0a36bfdb62
    47 
    47 
    48   /**
    48   /**
    49    * \returns the protocol number of this protocol.
    49    * \returns the protocol number of this protocol.
    50    */
    50    */
    51   virtual int GetProtocolNumber (void) const = 0;
    51   virtual int GetProtocolNumber (void) const = 0;
    52   /**
       
    53    * \returns the version number of this protocol.
       
    54    */
       
    55   virtual int GetVersion (void) const = 0;
       
    56 
    52 
    57   /**
    53   /**
    58    * \param p packet to forward up
    54    * \param p packet to forward up
    59    * \param source source address of packet received
    55    * \param source source address of packet received
    60    * \param destination address of packet received
    56    * \param destination address of packet received