--- 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