macros to ensure proper initialization
This commit is contained in:
1 parent
4d013a8d3d
commit
b353cfa1c2
8 files changed
+32
No files matched your search
@@ -27,6 +27,8 @@
|
||||
|
||||
NS_DEBUG_COMPONENT_DEFINE ("EthernetHeader");
|
||||
|
||||
NS_HEADER_ENSURE_REGISTERED (ns3::EthernetHeader);
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
uint32_t
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
NS_DEBUG_COMPONENT_DEFINE ("EthernetTrailer");
|
||||
|
||||
NS_TRAILER_ENSURE_REGISTERED (ns3::EthernetTrailer);
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
bool EthernetTrailer::m_calcFcs = false;
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include "ns3/assert.h"
|
||||
#include <string>
|
||||
|
||||
NS_HEADER_ENSURE_REGISTERED (ns3::LlcSnapHeader);
|
||||
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
|
||||
Reference in new issue
Block a user