NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::face::GenericLinkService Class Reference

GenericLinkService is a LinkService that implements the NDNLPv2 protocol. More...

#include <generic-link-service.hpp>

Inheritance diagram for nfd::face::GenericLinkService:
Collaboration diagram for nfd::face::GenericLinkService:

Classes

class  Options
 Options that control the behavior of GenericLinkService. More...
 

Public Types

typedef GenericLinkServiceCounters Counters
 counters provided by GenericLinkService More...
 
- Public Types inherited from nfd::face::LinkService
typedef LinkServiceCounters Counters
 counters provided by LinkService More...
 

Public Member Functions

 GenericLinkService (const Options &options=Options())
 
const OptionsgetOptions () const
 get Options used by GenericLinkService More...
 
void setOptions (const Options &options)
 sets Options used by GenericLinkService More...
 
virtual const CountersgetCounters () const 1
 
- Public Member Functions inherited from nfd::face::LinkService
 LinkService ()
 
virtual ~LinkService ()
 
void setFaceAndTransport (Face &face, Transport &transport)
 set Face and Transport for LinkService More...
 
const Face * getFace () const
 
const TransportgetTransport () const
 
TransportgetTransport ()
 
void sendInterest (const Interest &interest)
 send Interest More...
 
void sendData (const Data &data)
 send Data More...
 
void sendNack (const ndn::lp::Nack &nack)
 send Nack More...
 
void receivePacket (Transport::Packet &&packet)
 performs LinkService specific operations to receive a lower-layer packet More...
 

Additional Inherited Members

- Public Attributes inherited from nfd::face::LinkService
signal::Signal< LinkService, InterestafterReceiveInterest
 signals on Interest received More...
 
signal::Signal< LinkService, DataafterReceiveData
 signals on Data received More...
 
signal::Signal< LinkService, lp::NackafterReceiveNack
 signals on Nack received More...
 
signal::Signal< LinkService, InterestafterSendInterest
 signals on Interest sent More...
 
signal::Signal< LinkService, DataafterSendData
 signals on Data sent More...
 
signal::Signal< LinkService, lp::NackafterSendNack
 signals on Nack sent More...
 
- Protected Member Functions inherited from nfd::face::LinkService
void receiveInterest (const Interest &interest)
 delivers received Interest to forwarding More...
 
void receiveData (const Data &data)
 delivers received Data to forwarding More...
 
void receiveNack (const lp::Nack &nack)
 delivers received Nack to forwarding More...
 
void sendPacket (Transport::Packet &&packet)
 sends a lower-layer packet via Transport More...
 
- Protected Member Functions inherited from nfd::face::GenericLinkServiceCounters
 GenericLinkServiceCounters (const LpReassembler &reassembler)
 
- Protected Attributes inherited from nfd::face::LinkServiceCounters
PacketCounter nInInterests
 count of incoming Interests More...
 
PacketCounter nOutInterests
 count of outgoing Interests More...
 
PacketCounter nInData
 count of incoming Data More...
 
PacketCounter nOutData
 count of outgoing Data More...
 
PacketCounter nInNacks
 count of incoming Nacks More...
 
PacketCounter nOutNacks
 count of outgoing Nacks More...
 
- Protected Attributes inherited from nfd::face::GenericLinkServiceCounters
PacketCounter nFragmentationErrors
 count of failed fragmentations More...
 
PacketCounter nOutOverMtu
 count of outgoing LpPackets dropped due to exceeding MTU limit More...
 
PacketCounter nInLpInvalid
 count of invalid LpPackets dropped before reassembly More...
 
SizeCounter< LpReassemblernReassembling
 count of network-layer packets currently being reassembled More...
 
PacketCounter nReassemblyTimeouts
 count of dropped partial network-layer packets due to reassembly timeout More...
 
PacketCounter nInNetInvalid
 count of invalid reassembled network-layer packets dropped More...
 

Detailed Description

GenericLinkService is a LinkService that implements the NDNLPv2 protocol.

See also
http://redmine.named-data.net/projects/nfd/wiki/NDNLPv2

Definition at line 79 of file generic-link-service.hpp.

Member Typedef Documentation

§ Counters

Constructor & Destructor Documentation

§ GenericLinkService()

Member Function Documentation

§ getOptions()

const GenericLinkService::Options & nfd::face::GenericLinkService::getOptions ( ) const
inline

get Options used by GenericLinkService

Definition at line 230 of file generic-link-service.hpp.

§ setOptions()

void nfd::face::GenericLinkService::setOptions ( const Options options)
inline

sets Options used by GenericLinkService

Definition at line 236 of file generic-link-service.hpp.

§ getCounters()

const GenericLinkService::Counters & nfd::face::GenericLinkService::getCounters ( ) const
inlinevirtual

Reimplemented from nfd::face::LinkService.

Definition at line 242 of file generic-link-service.hpp.


The documentation for this class was generated from the following files: