20 #ifndef NDN_L3_PROTOCOL_H 21 #define NDN_L3_PROTOCOL_H 23 #include "ns3/ndnSIM/model/ndn-common.hpp" 29 #include "ns3/net-device.h" 30 #include "ns3/nstime.h" 31 #include "ns3/traced-callback.h" 33 #include <boost/property_tree/ptree_fwd.hpp> 105 shared_ptr<nfd::Forwarder>
114 shared_ptr<nfd::FibManager>
121 getStrategyChoiceManager();
135 addFace(shared_ptr<Face> face);
155 getFaceByNetDevice(Ptr<NetDevice> netDevice)
const;
167 injectInterest(
const Interest& interest);
178 static Ptr<L3Protocol>
179 getL3Protocol(Ptr<Object> node);
183 typedef void (*DataTraceCallback)(
const Data&,
const Face&);
185 typedef void (*SatisfiedInterestsCallback)(
const nfd::pit::Entry& pitEntry,
const Face& inFace,
const Data& data);
199 NotifyNewAggregate();
206 initializeManagement();
209 initializeRibManager();
213 std::unique_ptr<Impl> m_impl;
218 TracedCallback<const Interest&, const Face&>
220 TracedCallback<const Interest&, const Face&>
223 TracedCallback<const Data&, const Face&> m_outData;
224 TracedCallback<const Data&, const Face&> m_inData;
226 TracedCallback<const lp::Nack&, const Face&> m_outNack;
227 TracedCallback<const lp::Nack&, const Face&> m_inNack;
230 TracedCallback<const nfd::pit::Entry&> m_timedOutInterests;
static const uint16_t IP_STACK_PORT
TCP/UDP port for NDN stack.
Copyright (c) 2011-2015 Regents of the University of California.
static const uint16_t ETHERNET_FRAME_TYPE
Ethernet Frame Type of Ndn.
initializes and executes NFD-RIB service thread
Implements the Strategy Choice Management of NFD Management Protocol.
std::function< std::unique_ptr< nfd::cs::Policy >)> PolicyCreationCallback
represents a CS replacement policy
Copyright (c) 2011-2015 Regents of the University of California.
Copyright (c) 2011-2015 Regents of the University of California.
boost::property_tree::ptree ConfigSection
a config file section
ndn L3Protocol
Copyright (c) 2011-2015 Regents of the University of California.
Implementation network-layer of NDN stack.
uint64_t FaceId
Identifies a face.