NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
transport.hpp File Reference
#include "core/counter.hpp"
#include "face-log.hpp"
#include <ndn-cxx/encoding/nfd-constants.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::TransportCounters
 counters provided by Transport More...
 
class  nfd::face::Transport
 the lower part of a Face More...
 
class  nfd::face::Transport::Packet
 stores a packet along with the remote endpoint More...
 

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 nfd::face
 

Enumerations

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

Functions

std::ostream & nfd::face::operator<< (std::ostream &os, TransportState state)
 
std::ostream & nfd::face::operator<< (std::ostream &os, const FaceLogHelper< Transport > &flh)
 
template<typename T >
std::enable_if< std::is_base_of< Transport, T >::value &&!std::is_same< Transport, T >::value, std::ostream & >::type nfd::face::operator<< (std::ostream &os, const FaceLogHelper< T > &flh)
 

Variables

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