transport.hpp File Reference
#include "face-common.hpp"
#include "common/counter.hpp"
+ Include dependency graph for transport.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfd::face::Transport
 The lower half of a Face. More...
 
class  nfd::face::TransportCounters
 Counters provided by a transport. More...
 

Namespaces

 nfd
 -status-http-server
 
 nfd::face
 

Enumerations

enum class  nfd::face::TransportState {
  nfd::face::NONE ,
  nfd::face::UP ,
  nfd::face::DOWN ,
  nfd::face::CLOSING ,
  nfd::face::FAILED ,
  nfd::face::CLOSED
}
 Indicates the state of a transport. More...
 

Functions

template<typename T >
std::enable_if_t< std::is_base_of_v< Transport, T > &&!std::is_same_v< Transport, T >, std::ostream & > nfd::face::operator<< (std::ostream &os, const FaceLogHelper< T > &flh)
 
std::ostream & nfd::face::operator<< (std::ostream &os, const FaceLogHelper< Transport > &flh)
 
std::ostream & nfd::face::operator<< (std::ostream &os, TransportState state)
 

Variables

constexpr ssize_t nfd::face::MTU_INVALID = -2
 (for internal use) Indicates that the MTU field is unset. More...
 
constexpr ssize_t nfd::face::MTU_UNLIMITED = -1
 Indicates that the transport has no limit on payload size. More...
 
constexpr ssize_t nfd::face::QUEUE_ERROR = -2
 Indicates that the transport was unable to retrieve the queue capacity/length. More...
 
constexpr ssize_t nfd::face::QUEUE_UNSUPPORTED = -1
 Indicates that the transport does not support reading the queue capacity/length. More...