src/node/ethernet-trailer.h
changeset 1232 2e8c3f8bb77f
parent 1151 527d7b7e25af
child 1866 e7dbcc4df546
--- a/src/node/ethernet-trailer.h	Tue Aug 07 08:36:31 2007 +0200
+++ b/src/node/ethernet-trailer.h	Wed Aug 08 09:12:55 2007 +0200
@@ -43,7 +43,7 @@
    * \brief Construct a null ethernet trailer
    */
   EthernetTrailer ();
-  virtual ~EthernetTrailer ();
+
   /**
    * \brief Enable or disabled FCS checking and calculations
    * \param enable If true, enables FCS calculations.
@@ -81,12 +81,12 @@
    */ 
   uint32_t GetTrailerSize() const;
 
+  std::string GetName (void) const;
+  void Print (std::ostream &os) const;
+  uint32_t GetSerializedSize (void) const;
+  void Serialize (Buffer::Iterator end) const;
+  uint32_t Deserialize (Buffer::Iterator end);
 private:
-  virtual std::string DoGetName (void) const;
-  virtual void PrintTo (std::ostream &os) const;
-  virtual uint32_t GetSerializedSize (void) const;
-  virtual void SerializeTo (Buffer::Iterator end) const;
-  virtual uint32_t DeserializeFrom (Buffer::Iterator end);
 
   /**
    * Initializes the trailer parameters during construction.
@@ -102,7 +102,7 @@
 
 };
 
-}; // namespace ns3
+} // namespace ns3
 
 
 #endif /* ETHERNET_TRAILER_H */