|
NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
|
API Documentation
|
Go to the documentation of this file.
26 #ifndef NFD_DAEMON_FW_NCC_STRATEGY_HPP
27 #define NFD_DAEMON_FW_NCC_STRATEGY_HPP
49 const shared_ptr<pit::Entry>& pitEntry)
override;
145 #endif // NFD_DAEMON_FW_NCC_STRATEGY_HPP
StrategyInfo on measurements::Entry.
static const time::microseconds INITIAL_PREDICTION
static const time::microseconds DEFER_RANGE_WITHOUT_BEST_FACE
static const time::microseconds DEFER_FIRST_WITHOUT_BEST_FACE
shared_ptr< Face > getBestFace()
static const int ADJUST_PREDICT_DOWN_SHIFT
static const time::nanoseconds MEASUREMENTS_LIFETIME
void doPropagate(FaceId inFaceId, weak_ptr< pit::Entry > pitEntryWeak)
propagate to another upstream
static constexpr int getTypeId()
scheduler::EventId propagateTimer
timer for propagating to another face
void updateBestFace(const Face &face)
void timeoutOnBestFace(weak_ptr< pit::Entry > pitEntryWeak)
best face did not reply within prediction
static const Name & getStrategyName()
static constexpr int getTypeId()
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const FaceEndpoint &ingress, const Data &data) override
trigger before PIT entry is satisfied
MeasurementsEntryInfo & getMeasurementsEntryInfo(measurements::Entry *entry)
StrategyInfo on pit::Entry.
time::microseconds maxInterval
maximum interval between forwarding to two nexthops except best and previous
static const int UPDATE_MEASUREMENTS_N_LEVELS
Represents an absolute name.
A handle for a scheduled event.
Copyright (c) 2011-2015 Regents of the University of California.
static const time::microseconds MIN_PREDICTION
contains arbitrary information forwarding strategy places on table entries
uint64_t FaceId
Identifies a face.
generalization of a network interface
NccStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
a forwarding strategy similar to CCNx 0.7.2
Represents a face-endpoint pair in the forwarder.
Represents an Interest packet.
static const int ADJUST_PREDICT_UP_SHIFT
Represents a Data packet.
represents a forwarding strategy
Main class of NFD's forwarding engine.
static const time::microseconds MAX_PREDICTION
Represents a Measurements entry.
scheduler::EventId bestFaceTimeout
timer that expires when best face does not respond within predicted time
weak_ptr< Face > previousFace
#define PUBLIC_WITH_TESTS_ELSE_PROTECTED
void inheritFrom(const MeasurementsEntryInfo &other)
weak_ptr< Face > bestFace
time::microseconds prediction
void afterReceiveInterest(const FaceEndpoint &ingress, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received