From 87ab2eda23062a72481eb3f512e3425c98a9d4b7 Mon Sep 17 00:00:00 2001 From: Richard Whitehouse Date: Sun, 17 Apr 2011 22:05:05 +0100 Subject: [PATCH] Add structure for identifying bridges in BPDU's in the manner specified by 802.11D --- src/devices/bridge/model/bpdu-header.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.34.1