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 
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
InRecord(Face &face)
generalization of a network interface
Definition: face.hpp:67
Represents an Interest packet.
Definition: interest.hpp:44
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
contains information about an Interest on an incoming or outgoing face
void update(const Interest &interest)
void update(const Interest &interest)
updates lastNonce, lastRenewed, expiry fields