diff -r 76af339a9316 src/mesh/model/dot11s/hwmp-protocol.h --- a/src/mesh/model/dot11s/hwmp-protocol.h Thu Jun 08 19:26:39 2017 +0300 +++ b/src/mesh/model/dot11s/hwmp-protocol.h Fri Jun 09 19:21:29 2017 +0530 @@ -73,11 +73,13 @@ /** * \brief structure of unreachable destination - address and sequence number */ - typedef struct + struct FailedDestination { Mac48Address destination; ///< destination address uint32_t seqnum; ///< sequence number - } FailedDestination; + }; + + typedef struct FailedDestination FailedDestination; /// Route request, inherited from MeshL2RoutingProtocol bool RequestRoute (uint32_t sourceIface, const Mac48Address source, const Mac48Address destination, Ptr packet, uint16_t protocolType, RouteReplyCallback routeReply); diff -r 76af339a9316 src/wifi/model/mac-low.h --- a/src/wifi/model/mac-low.h Thu Jun 08 19:26:39 2017 +0300 +++ b/src/wifi/model/mac-low.h Fri Jun 09 19:21:29 2017 +0530 @@ -1094,13 +1094,14 @@ /** * A struct for packet, Wifi header, and timestamp. */ - typedef struct + struct Item { Ptr packet; //!< the packet WifiMacHeader hdr; //!< the header Time timestamp; //!< the timestamp - } Item; //!< item structure + }; //!< item structure + typedef struct Item Item; /** * typedef for an iterator for a list of DcfManager. */