represents a Network Nack More...
#include <nack.hpp>
Public Member Functions | |
Nack () | |
Nack (const Interest &interest) | |
Nack (Interest &&interest) | |
const Interest & | getInterest () const |
Interest & | getInterest () |
const NackHeader & | getHeader () const |
NackHeader & | getHeader () |
Nack & | setHeader (const NackHeader &header) |
Nack & | setHeader (NackHeader &&header) |
NackReason | getReason () const |
Nack & | setReason (NackReason reason) |
Public Member Functions inherited from ndn::PacketBase | |
uint64_t | getCongestionMark () const |
get the value of the CongestionMark tag More... | |
void | setCongestionMark (uint64_t mark) |
set the CongestionMark tag to the specified value More... | |
Public Member Functions inherited from ndn::TagHost | |
template<typename T > | |
shared_ptr< T > | getTag () const |
get a tag item More... | |
template<typename T > | |
void | setTag (shared_ptr< T > tag) const |
set a tag item More... | |
template<typename T > | |
void | removeTag () const |
remove tag item More... | |
represents a Network Nack
This type binds a NackHeader and an Interest, and is intended for use in network layer.
|
default |
|
inline |
Definition at line 53 of file nack.hpp.
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), face::Face::Impl::asyncPutNack(), ns3::ndn::L3RateTracer::InNack(), face::Face::Impl::nackPendingInterests(), ns3::ndn::L3RateTracer::OutNack(), nfd::fw::ProcessNackTraitsBase::processNack(), ndn::util::DummyClientFace::receive(), and nfd::pit::OutRecord::setIncomingNack().
|
inline |
Definition at line 65 of file nack.hpp.
Referenced by face::Face::Impl::asyncPutNack(), ndn::util::DummyClientFace::receive(), and nfd::pit::OutRecord::setIncomingNack().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 92 of file nack.hpp.
References ndn::lp::NackHeader::getReason().
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), nfd::fw::ProcessNackTraitsBase::processNack(), and ndn::PendingInterest::recordNack().
|
inline |
Definition at line 98 of file nack.hpp.
References ndn::lp::NackHeader::setReason().