Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2008-07-24 11:41:15 +01:00
1 parent 732b7994de
commit ca2fef3bd8
13 files changed
+99 -32

No files matched your search

+3 -3
View File
@@ -228,7 +228,7 @@ public:
*
* \return whether the Send operation succeeded
*/
virtual bool SendFrom(Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber);
virtual bool SendFrom(Ptr<Packet> packet, const Address& source, const Address& dest, uint16_t protocolNumber) = 0;
/**
* \returns the node base class which contains this network
* interface.
@@ -309,12 +309,12 @@ public:
* sensed by the netdevice but which are intended to be received by
* other hosts.
*/
virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb);
virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb) = 0;
/**
* \return true if this interface supports a promiscuous mode, false otherwise.
*/
virtual bool SupportsPromiscuous (void) const;
virtual bool SupportsPromiscuous (void) const = 0;
};