nfd::face::FaceParams Struct Reference

Parameters used to set Transport properties or LinkService options on a newly created face. More...

#include <daemon/face/face-common.hpp>

+ Collaboration diagram for nfd::face::FaceParams:

Public Attributes

std::optional< time::nanoseconds > baseCongestionMarkingInterval
 
std::optional< uint64_t > defaultCongestionThreshold
 
std::optional< ssize_t > mtu
 
ndn::nfd::FacePersistency persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT
 
boost::logic::tribool wantCongestionMarking = boost::logic::indeterminate
 
bool wantLocalFields = false
 
bool wantLpReliability = false
 

Detailed Description

Parameters used to set Transport properties or LinkService options on a newly created face.

Parameters are passed as a struct rather than individually, so that a future change in the list of parameters does not require an update to the method signature in all subclasses.

Definition at line 84 of file face-common.hpp.

Member Data Documentation

◆ baseCongestionMarkingInterval

std::optional<time::nanoseconds> nfd::face::FaceParams::baseCongestionMarkingInterval

Definition at line 87 of file face-common.hpp.

◆ defaultCongestionThreshold

std::optional<uint64_t> nfd::face::FaceParams::defaultCongestionThreshold

Definition at line 88 of file face-common.hpp.

◆ mtu

std::optional<ssize_t> nfd::face::FaceParams::mtu

Definition at line 89 of file face-common.hpp.

◆ persistency

ndn::nfd::FacePersistency nfd::face::FaceParams::persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT

Definition at line 86 of file face-common.hpp.

◆ wantCongestionMarking

boost::logic::tribool nfd::face::FaceParams::wantCongestionMarking = boost::logic::indeterminate

Definition at line 92 of file face-common.hpp.

◆ wantLocalFields

bool nfd::face::FaceParams::wantLocalFields = false

Definition at line 90 of file face-common.hpp.

◆ wantLpReliability

bool nfd::face::FaceParams::wantLpReliability = false

Definition at line 91 of file face-common.hpp.