implement IsBridged for net devices

This commit is contained in:
Craig Dowell committed 2008-11-18 16:23:31 -08:00
1 parent 98e2d0eedb
commit a7611d2b30
13 files changed
+62

No files matched your search

+9
View File
@@ -184,6 +184,15 @@ public:
virtual Address GetMulticast (Ipv6Address addr) const = 0;
/**
* \brief Return true if the net device is acting as a bridge.
*
* \return value of m_isBridge flag
*/
virtual bool IsBridge (void) const = 0;
/**
* \brief Return true if the net device is on a point-to-point link.
*
* \return value of m_isPointToPoint flag
*/
virtual bool IsPointToPoint (void) const = 0;