#include <ndn-header.hpp>
Public Member Functions | |
virtual TypeId | GetInstanceTypeId (void) const |
PacketHeader () | |
PacketHeader (const Pkt &packet) | |
virtual uint32_t | GetSerializedSize (void) const |
virtual void | Serialize (ns3::Buffer::Iterator start) const |
virtual uint32_t | Deserialize (ns3::Buffer::Iterator start) |
virtual void | Print (std::ostream &os) const |
shared_ptr< const Pkt > | getPacket () |
template<> | |
ns3::TypeId | GetTypeId () |
template<> | |
ns3::TypeId | GetTypeId () |
template<> | |
void | Print (std::ostream &os) const |
template<> | |
void | Print (std::ostream &os) const |
Static Public Member Functions | |
static ns3::TypeId | GetTypeId () |
Definition at line 31 of file ndn-header.hpp.
ns3::ndn::PacketHeader< Pkt >::PacketHeader | ( | ) |
Definition at line 66 of file ndn-header.cpp.
ns3::ndn::PacketHeader< Pkt >::PacketHeader | ( | const Pkt & | packet | ) |
Definition at line 71 of file ndn-header.cpp.
|
static |
|
virtual |
Definition at line 60 of file ndn-header.cpp.
|
virtual |
Definition at line 78 of file ndn-header.cpp.
|
virtual |
Definition at line 85 of file ndn-header.cpp.
|
virtual |
Definition at line 118 of file ndn-header.cpp.
References ndn::Block::fromStream().
|
virtual |
shared_ptr< const Pkt > ns3::ndn::PacketHeader< Pkt >::getPacket | ( | ) |
Definition at line 143 of file ndn-header.cpp.
Referenced by ns3::ndn::Convert::FromPacket().
ns3::TypeId ns3::ndn::PacketHeader< Interest >::GetTypeId | ( | void | ) |
Definition at line 33 of file ndn-header.cpp.
ns3::TypeId ns3::ndn::PacketHeader< Data >::GetTypeId | ( | void | ) |
Definition at line 47 of file ndn-header.cpp.
void ns3::ndn::PacketHeader< Interest >::Print | ( | std::ostream & | os | ) | const |
Definition at line 129 of file ndn-header.cpp.
void ns3::ndn::PacketHeader< Data >::Print | ( | std::ostream & | os | ) | const |
Definition at line 136 of file ndn-header.cpp.