From: Richard Whitehouse Date: Sun, 17 Apr 2011 21:05:05 +0000 (+0100) Subject: Add structure for identifying bridges in BPDU's in the manner specified by 802.11D X-Git-Url: https://git.richardwhiuk.com/?a=commitdiff_plain;h=87ab2eda23062a72481eb3f512e3425c98a9d4b7;p=ns-moose.git Add structure for identifying bridges in BPDU's in the manner specified by 802.11D --- diff --git a/src/devices/bridge/model/bpdu-header.h b/src/devices/bridge/model/bpdu-header.h index eb2dc57..18df92a 100644 --- a/src/devices/bridge/model/bpdu-header.h +++ b/src/devices/bridge/model/bpdu-header.h @@ -22,6 +22,7 @@ #define BRIDGE_BPDU_HEADER_H #include "ns3/header.h" +#include "ns3/mac48-address.h" #include namespace ns3 { @@ -58,6 +59,11 @@ private: }; +struct BpduBridgeIdentifier { + uint16_t priority; + Mac48Address address; +}; + /** * \ingroup bridge * \brief The packet header for an Configuration BPDU packet header