NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
pit-in-record.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
pit-in-record.hpp
"
27
28
namespace
nfd
{
29
namespace
pit {
30
31
InRecord::InRecord
(
Face
& face)
32
:
FaceRecord
(face)
33
{
34
}
35
36
void
37
InRecord::update
(
const
Interest
& interest)
38
{
39
this->
FaceRecord::update
(interest);
40
m_interest = const_cast<Interest&>(interest).shared_from_this();
41
}
42
43
}
// namespace pit
44
}
// namespace nfd
nfd::pit::InRecord::InRecord
InRecord(Face &face)
Definition:
pit-in-record.cpp:31
nfd::face::Face
generalization of a network interface
Definition:
face.hpp:67
pit-in-record.hpp
ndn::Interest
Represents an Interest packet.
Definition:
interest.hpp:44
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::pit::FaceRecord
contains information about an Interest on an incoming or outgoing face
Definition:
pit-face-record.hpp:40
nfd::pit::InRecord::update
void update(const Interest &interest)
Definition:
pit-in-record.cpp:37
nfd::pit::FaceRecord::update
void update(const Interest &interest)
updates lastNonce, lastRenewed, expiry fields
Definition:
pit-face-record.cpp:40
ndnSIM
NFD
daemon
table
pit-in-record.cpp
Generated on Sun Feb 24 2019 22:16:07 for ndnSIM by
1.8.15