All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ndn::nfd Namespace Reference

Data Structures

class  ControlCommand
 base class of NFD ControlCommand More...
 
class  FaceCreateCommand
 represents a faces/create command More...
 
class  FaceDestroyCommand
 represents a faces/destroy command More...
 
class  FaceLocalControlCommand
 
class  FaceEnableLocalControlCommand
 represents a faces/enable-local-control command More...
 
class  FaceDisableLocalControlCommand
 represents a faces/disable-local-control command More...
 
class  FibAddNextHopCommand
 represents a fib/add-nexthop command More...
 
class  FibRemoveNextHopCommand
 represents a fib/remove-nexthop command More...
 
class  StrategyChoiceSetCommand
 represents a strategy-choice/set command More...
 
class  StrategyChoiceUnsetCommand
 represents a strategy-choice/set command More...
 
class  RibRegisterCommand
 represents a rib/register command More...
 
class  RibUnregisterCommand
 represents a rib/unregister command More...
 
class  ControlParameters
 represents parameters in a ControlCommand request or response More...
 
class  ControlResponse
 Class defining abstraction of ControlResponse for NFD Control Protocol. More...
 
class  Controller
 NFD Management protocol - ControlCommand client. More...
 
class  FaceEventNotification
 represents a Face status change notification More...
 
class  FaceFlagsTraits
 implements getters to each face flag More...
 
class  FaceStatus
 represents Face status More...
 
class  NextHopRecord
 
class  FibEntry
 
class  ForwarderStatus
 represents NFD Forwarder Status More...
 
class  LocalControlHeader
 

Enumerations

enum  {
  ROUTE_ORIGIN_APP = 0, ROUTE_ORIGIN_NLSR = 128, ROUTE_ORIGIN_STATIC = 255, ROUTE_FLAG_CHILD_INHERIT = 1,
  ROUTE_FLAG_CAPTURE = 2
}
 
enum  ControlParameterField {
  CONTROL_PARAMETER_NAME, CONTROL_PARAMETER_FACE_ID, CONTROL_PARAMETER_URI, CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE,
  CONTROL_PARAMETER_ORIGIN, CONTROL_PARAMETER_COST, CONTROL_PARAMETER_FLAGS, CONTROL_PARAMETER_STRATEGY,
  CONTROL_PARAMETER_EXPIRATION_PERIOD, CONTROL_PARAMETER_UBOUND
}
 
enum  LocalControlFeature { LOCAL_CONTROL_FEATURE_INCOMING_FACE_ID = 1, LOCAL_CONTROL_FEATURE_NEXT_HOP_FACE_ID = 2 }
 
enum  FaceEventKind { FACE_EVENT_CREATED = 1, FACE_EVENT_DESTROYED = 2 }
 
enum  { FACE_IS_LOCAL = 1, FACE_IS_ON_DEMAND = 2 }
 

Functions

std::ostream & operator<< (std::ostream &os, const ControlParameters &parameters)
 
std::ostream & operator<< (std::ostream &os, const ControlResponse &status)
 
std::ostream & operator<< (std::ostream &os, const FaceEventNotification &notification)
 
std::ostream & operator<< (std::ostream &os, const FaceStatus &status)
 

Variables

const uint64_t INVALID_FACE_ID = std::numeric_limits<uint64_t>::max()
 
const std::string CONTROL_PARAMETER_FIELD [CONTROL_PARAMETER_UBOUND]
 

Enumeration Type Documentation

anonymous enum
Enumerator
FACE_IS_LOCAL 

face is local (for scope control purpose)

FACE_IS_ON_DEMAND 

face is created on demand (accepted incoming connection, not initiated outgoing connection)

Definition at line 16 of file nfd-face-flags.hpp.

anonymous enum
Enumerator
ROUTE_ORIGIN_APP 
ROUTE_ORIGIN_NLSR 
ROUTE_ORIGIN_STATIC 
ROUTE_FLAG_CHILD_INHERIT 
ROUTE_FLAG_CAPTURE 

Definition at line 405 of file nfd-control-command.hpp.

Enumerator
CONTROL_PARAMETER_NAME 
CONTROL_PARAMETER_FACE_ID 
CONTROL_PARAMETER_URI 
CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE 
CONTROL_PARAMETER_ORIGIN 
CONTROL_PARAMETER_COST 
CONTROL_PARAMETER_FLAGS 
CONTROL_PARAMETER_STRATEGY 
CONTROL_PARAMETER_EXPIRATION_PERIOD 
CONTROL_PARAMETER_UBOUND 

Definition at line 16 of file nfd-control-parameters.hpp.

Enumerator
FACE_EVENT_CREATED 
FACE_EVENT_DESTROYED 

Definition at line 19 of file nfd-face-event-notification.hpp.

Enumerator
LOCAL_CONTROL_FEATURE_INCOMING_FACE_ID 
LOCAL_CONTROL_FEATURE_NEXT_HOP_FACE_ID 

Definition at line 41 of file nfd-control-parameters.hpp.

Function Documentation

std::ostream& ndn::nfd::operator<< ( std::ostream &  os,
const ControlResponse &  status 
)
inline

Definition at line 179 of file nfd-control-response.hpp.

std::ostream& ndn::nfd::operator<< ( std::ostream &  os,
const FaceEventNotification &  notification 
)
inline

Definition at line 243 of file nfd-face-event-notification.hpp.

std::ostream& ndn::nfd::operator<< ( std::ostream &  os,
const FaceStatus &  status 
)
inline

Definition at line 316 of file nfd-face-status.hpp.

std::ostream& ndn::nfd::operator<< ( std::ostream &  os,
const ControlParameters &  parameters 
)
inline

Definition at line 513 of file nfd-control-parameters.hpp.

Variable Documentation

const std::string ndn::nfd::CONTROL_PARAMETER_FIELD[CONTROL_PARAMETER_UBOUND]
Initial value:
= {
"Name",
"FaceId",
"Uri",
"LocalControlFeature",
"Origin",
"Cost",
"Flags",
"Strategy",
"ExpirationPeriod",
}

Definition at line 29 of file nfd-control-parameters.hpp.

const uint64_t ndn::nfd::INVALID_FACE_ID = std::numeric_limits<uint64_t>::max()

Definition at line 75 of file tlv-nfd.hpp.