20 #ifndef NDN_L3_PROTOCOL_H 21 #define NDN_L3_PROTOCOL_H 23 #include "ns3/ndnSIM/model/ndn-common.hpp" 24 #include "ns3/ndnSIM/model/ndn-face.hpp" 30 #include "ns3/net-device.h" 31 #include "ns3/nstime.h" 32 #include "ns3/traced-callback.h" 34 #include <boost/property_tree/ptree_fwd.hpp> 99 shared_ptr<nfd::Forwarder>
105 shared_ptr<nfd::FibManager>
111 shared_ptr<nfd::StrategyChoiceManager>
112 getStrategyChoiceManager();
123 addFace(shared_ptr<Face> face);
143 getFaceByNetDevice(Ptr<NetDevice> netDevice)
const;
152 static Ptr<L3Protocol>
153 getL3Protocol(Ptr<Object> node);
157 typedef void (*DataTraceCallback)(
const Data&,
const Face&);
159 typedef void (*SatisfiedInterestsCallback)(
const nfd::pit::Entry& pitEntry,
const Face& inFace,
const Data& data);
173 NotifyNewAggregate();
180 initializeManagement();
183 initializeRibManager();
187 std::unique_ptr<Impl> m_impl;
192 TracedCallback<const Interest&, const Face&>
194 TracedCallback<const Interest&, const Face&>
197 TracedCallback<const Data&, const Face&> m_outData;
198 TracedCallback<const Data&, const Face&> m_inData;
201 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.
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
ndn L3Protocol
Copyright (c) 2011-2015 Regents of the University of California.
Implementation network-layer of NDN stack.