Go to the source code of this file.
Classes | |
struct | anonymous_namespace{buffer.cc}::Zeroes |
Zero-filled buffer. More... | |
Namespaces | |
namespace | anonymous_namespace{buffer.cc} |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Macros | |
#define | DESTROYED ((Buffer::FreeList*)MAGIC_DESTROYED) |
#define | IS_DESTROYED(x) (x == (Buffer::FreeList*)MAGIC_DESTROYED) |
#define | IS_INITIALIZED(x) (!IS_UNINITIALIZED(x) && !IS_DESTROYED(x)) |
#define | IS_UNINITIALIZED(x) (x == (Buffer::FreeList*)0) |
#define | LOG_INTERNAL_STATE(y) |
#define | MAGIC_DESTROYED (~(long)0) |
#define | UNINITIALIZED ((Buffer::FreeList*)0) |
Variables | |
constexpr uint32_t | ns3::ALLOC_OVER_PROVISION = 100 |
Additional bytes to over-provision. | |
struct anonymous_namespace{buffer.cc}::Zeroes | anonymous_namespace{buffer.cc}::g_zeroes |
Zero-filled buffer. | |
#define DESTROYED ((Buffer::FreeList*)MAGIC_DESTROYED) |
Definition at line 69 of file buffer.cc.
Referenced by ns3::Buffer::LocalStaticDestructor::~LocalStaticDestructor().
#define IS_DESTROYED | ( | x | ) | (x == (Buffer::FreeList*)MAGIC_DESTROYED) |
Definition at line 67 of file buffer.cc.
Referenced by ns3::Buffer::Recycle().
#define IS_INITIALIZED | ( | x | ) | (!IS_UNINITIALIZED(x) && !IS_DESTROYED(x)) |
Definition at line 68 of file buffer.cc.
Referenced by ns3::Buffer::LocalStaticDestructor::~LocalStaticDestructor(), ns3::Buffer::Create(), and ns3::Buffer::Recycle().
#define IS_UNINITIALIZED | ( | x | ) | (x == (Buffer::FreeList*)0) |
Definition at line 66 of file buffer.cc.
Referenced by ns3::Buffer::Create(), and ns3::Buffer::Recycle().
#define LOG_INTERNAL_STATE | ( | y | ) |
Definition at line 13 of file buffer.cc.
Referenced by ns3::Buffer::AddAtEnd(), ns3::Buffer::AddAtStart(), ns3::Buffer::CheckInternalState(), ns3::Buffer::RemoveAtEnd(), and ns3::Buffer::RemoveAtStart().