20 #ifndef NDNSIM_NACKS_H
21 #define NDNSIM_NACKS_H
23 #include "ns3/ndn-forwarding-strategy.h"
46 Ptr<Interest> interest);
52 Ptr<const Interest> interest,
53 Ptr<pit::Entry> pitEntry);
58 Ptr<const Interest> interest,
59 Ptr<pit::Entry> pitEntry);
62 OnNack (Ptr<Face> inFace,
66 DidReceiveValidNack (Ptr<Face> inFace,
68 Ptr<const Interest> nack,
69 Ptr<pit::Entry> pitEntry);
74 TracedCallback<Ptr<const Interest>,
77 TracedCallback<Ptr<const Interest>,
80 TracedCallback<Ptr<const Interest>,
88 #endif // NDNSIM_NACKS
TracedCallback< Ptr< const Interest >, Ptr< const Face > > m_outNacks
trace of outgoing NACKs
TracedCallback< Ptr< const Interest >, Ptr< const Face > > m_dropNacks
trace of dropped NACKs
TracedCallback< Ptr< const Interest >, Ptr< const Face > > m_inNacks
trace of incoming NACKs
Implementation of experimental NACK messages (enables with EnableNACKs option)
Abstract base class for Ndn forwarding strategies.
virtual void DidExhaustForwardingOptions(Ptr< Face > inFace, Ptr< const Interest > interest, Ptr< pit::Entry > pitEntry)
An even that is fired when Interest cannot be forwarded.
virtual void OnInterest(Ptr< Face > face, Ptr< Interest > interest)
Actual processing of incoming Ndn interests.
virtual void DidReceiveDuplicateInterest(Ptr< Face > inFace, Ptr< const Interest > interest, Ptr< pit::Entry > pitEntry)
An event that is fired every time a duplicated Interest is received.