add Ipv4 and Udp node capabilities, rework Copy methods to include an extra Node * argument

This commit is contained in:
Mathieu Lacage committed 2007-02-12 13:06:05 +01:00
1 parent 1a6536aa02
commit 39181efea1
22 files changed
+256 -133

No files matched your search

+2 -2
View File
@@ -29,6 +29,7 @@ namespace ns3 {
class Packet;
class NetDevice;
class Node;
/**
@@ -37,13 +38,12 @@ class NetDevice;
class L3Protocol {
public:
L3Protocol(int protocolNumber, int version);
L3Protocol (L3Protocol const &o);
virtual ~L3Protocol ();
int GetProtocolNumber (void) const;
int GetVersion() const;
virtual L3Protocol* Copy() const = 0;
virtual L3Protocol* Copy(Node *node) const = 0;
/**
* Lower layer calls this method after calling L3Demux::Lookup
* The ARP subclass needs to know from which NetDevice this