src/internet-node/udp-l4-protocol.h
changeset 2503 e667dc0f350e
parent 2326 eec07777d1a2
parent 2498 e01570293b98
child 2542 a9b88fdc09d6
--- a/src/internet-node/udp-l4-protocol.h	Tue Feb 26 01:39:59 2008 +0100
+++ b/src/internet-node/udp-l4-protocol.h	Wed Feb 27 22:19:39 2008 +0100
@@ -41,14 +41,18 @@
  */
 class UdpL4Protocol : public Ipv4L4Protocol {
 public:
+  static TypeId GetTypeId (void);
   static const uint8_t PROT_NUMBER;
   /**
    * \brief Constructor
    * \param node The node this protocol is associated with
    */
-  UdpL4Protocol (Ptr<Node> node);
+  UdpL4Protocol ();
   virtual ~UdpL4Protocol ();
 
+  virtual int GetProtocolNumber (void) const;
+  virtual int GetVersion (void) const;
+
   /**
    * \return A smart Socket pointer to a UdpSocket, allocated by this instance
    * of the UDP protocol