Classes and data structures to manage an NDN forwarder. More...
Typedefs | |
| using | ndn::nfd::CommandFailureCallback = std::function< void(const ControlResponse &)> |
| Callback on command failure. More... | |
| using | ndn::nfd::CommandSuccessCallback = std::function< void(const ControlParameters &)> |
| Callback on command success. More... | |
| using | ndn::nfd::DatasetFailureCallback = std::function< void(uint32_t code, const std::string &reason)> |
| Callback on dataset retrieval failure. More... | |
| template<typename Dataset > | |
| using | ndn::nfd::DatasetSuccessCallback = std::function< void(const std::invoke_result_t< decltype(&Dataset::parseResult), Dataset, ConstBufferPtr > &)> |
| Callback on dataset retrieval success. More... | |
Classes and data structures to manage an NDN forwarder.
| using ndn::nfd::CommandFailureCallback = typedef std::function<void(const ControlResponse&)> |
Callback on command failure.
Definition at line 57 of file controller.hpp.
| using ndn::nfd::CommandSuccessCallback = typedef std::function<void(const ControlParameters&)> |
Callback on command success.
Definition at line 51 of file controller.hpp.
| using ndn::nfd::DatasetFailureCallback = typedef std::function<void(uint32_t code, const std::string& reason)> |
Callback on dataset retrieval failure.
Definition at line 71 of file controller.hpp.
| using ndn::nfd::DatasetSuccessCallback = typedef std::function<void(const std::invoke_result_t<decltype(&Dataset::parseResult), Dataset, ConstBufferPtr>&)> |
Callback on dataset retrieval success.
Definition at line 64 of file controller.hpp.
Definition at line 35 of file control-parameters.hpp.
| enum ndn::nfd::CsFlagBit |
CS enablement flags.
| Enumerator | |
|---|---|
| BIT_CS_ENABLE_ADMIT | enables the CS to admit new Data |
| BIT_CS_ENABLE_SERVE | enables the CS to satisfy Interests using cached Data |
Definition at line 93 of file nfd-constants.hpp.
| enum ndn::nfd::FaceEventKind : uint8_t |
| Enumerator | |
|---|---|
| FACE_EVENT_NONE | |
| FACE_EVENT_CREATED | face was created |
| FACE_EVENT_DESTROYED | face was destroyed |
| FACE_EVENT_UP | face went UP (from DOWN state) |
| FACE_EVENT_DOWN | face went DOWN (from UP state) |
Definition at line 78 of file nfd-constants.hpp.
Definition at line 70 of file nfd-constants.hpp.
| enum ndn::nfd::FacePersistency : uint8_t |
| Enumerator | |
|---|---|
| FACE_PERSISTENCY_NONE | |
| FACE_PERSISTENCY_PERSISTENT | face is persistent |
| FACE_PERSISTENCY_ON_DEMAND | face is on-demand |
| FACE_PERSISTENCY_PERMANENT | face is permanent |
Definition at line 46 of file nfd-constants.hpp.
| enum ndn::nfd::FaceScope : uint8_t |
| Enumerator | |
|---|---|
| FACE_SCOPE_NONE | |
| FACE_SCOPE_NON_LOCAL | face is non-local |
| FACE_SCOPE_LOCAL | face is local |
Definition at line 35 of file nfd-constants.hpp.
| enum ndn::nfd::LinkType : uint8_t |
| Enumerator | |
|---|---|
| LINK_TYPE_NONE | |
| LINK_TYPE_POINT_TO_POINT | link is point-to-point |
| LINK_TYPE_MULTI_ACCESS | link is multi-access |
| LINK_TYPE_AD_HOC | link is ad hoc |
Definition at line 58 of file nfd-constants.hpp.
| enum ndn::nfd::RouteFlags : uint64_t |
| Enumerator | |
|---|---|
| ROUTE_FLAGS_NONE | |
| ROUTE_FLAG_CHILD_INHERIT | |
| ROUTE_FLAG_CAPTURE | |
Definition at line 124 of file nfd-constants.hpp.
| enum ndn::nfd::RouteOrigin : uint16_t |
| Enumerator | |
|---|---|
| ROUTE_ORIGIN_NONE | |
| ROUTE_ORIGIN_APP | |
| ROUTE_ORIGIN_AUTOREG | |
| ROUTE_ORIGIN_CLIENT | |
| ROUTE_ORIGIN_AUTOCONF | |
| ROUTE_ORIGIN_NLSR | |
| ROUTE_ORIGIN_PREFIXANN | |
| ROUTE_ORIGIN_STATIC | |
Definition at line 100 of file nfd-constants.hpp.