esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
ndnph Namespace Reference

Namespaces

namespace  certificate
 
namespace  cli
 
namespace  ContentType
 ContentType assigned numbers.
 
namespace  convention
 
namespace  detail
 
namespace  ec
 
namespace  isig
 
namespace  lp
 
namespace  mbedtls
 Wrappers of Mbed TLS crypto library.
 
namespace  ndncert
 
namespace  port
 
namespace  port_clock_chrono
 
namespace  port_clock_ino
 
namespace  port_ec_mbed
 
namespace  port_ec_null
 
namespace  port_fs_linux
 
namespace  port_fs_null
 
namespace  port_queue_boostlf
 
namespace  port_queue_null
 
namespace  port_random_null
 
namespace  port_random_urandom
 
namespace  port_sha256_mbed
 
namespace  port_sha256_null
 
namespace  port_timingsafe_default
 
namespace  port_transport_memif
 
namespace  port_transport_socket
 
namespace  port_unixtime_systime
 
namespace  rdr
 
namespace  SigType
 SignatureType assigned numbers.
 
namespace  tlv
 
namespace  transport
 
namespace  TT
 TLV-TYPE assigned numbers.
 

Classes

class  AesGcmIvHelper
 AES-GCM Initialization Vector generator and checker. More...
 
class  BasicSegmentConsumer
 Consumer of segmented object, using a stop-and-wait algorithm. More...
 
class  BasicSegmentProducer
 Producer of segmented object. More...
 
class  BridgeTransport
 Virtual transport that connects to a peer. More...
 
class  Component
 Name component. More...
 
class  Data
 Data packet. More...
 
class  Decoder
 TLV decoder. More...
 
class  DigestKey
 DigestSha256 signing and verification. More...
 
class  DSigInfo
 SignatureInfo on Data. More...
 
class  DynamicRegion
 Region with dynamically allocated memory. More...
 
class  DynamicSimpleQueue
 SimpleQueue with dynamically allocated memory. More...
 
class  Encoder
 TLV encoder that accepts items in reverse order. More...
 
class  EncryptedMessage
 Encrypted message structure. More...
 
class  EvDecoder
 TLV decoder that understands Packet Format v0.3 evolvability guidelines. More...
 
class  Face
 Network layer face. More...
 
class  HmacKey
 HMAC-SHA256 secret key. More...
 
class  InRegion
 Base class of an object allocated in a Region. More...
 
class  Interest
 Interest packet. More...
 
class  ISigInfo
 SignatureInfo on Interest. More...
 
class  KeyChain
 File based key and certificate store. More...
 
class  KeyChainCerts
 File based certificate store. More...
 
class  KeyChainKeys
 File based key pair store. More...
 
class  KvStore
 File based key-value store. More...
 
class  Nack
 Nack packet. More...
 
class  NackHeader
 Nack header field. More...
 
class  Name
 Name. More...
 
class  NullKey
 Null signature: packet is not signed. More...
 
class  PacketHandler
 Base class to receive packets from Face. More...
 
class  PacketStore
 File based packet store. More...
 
class  PingClient
 Periodically transmit Interests to test reachability. More...
 
class  PingServer
 Respond to every incoming Interest with empty Data. More...
 
class  Printable
 
class  PrivateKey
 Private key. More...
 
class  PublicKey
 Public key. More...
 
class  RefRegion
 Base class of an object referencing an InRegion object. More...
 
class  Region
 Region-based memory allocator thats owns memory of NDNph objects. More...
 
class  ScopedEncoder
 Encoder that auto-discards upon destruction. More...
 
class  SegmentConsumerBase
 
class  SegmentProducerBase
 
class  SigInfo
 SignatureInfo. More...
 
class  SimpleQueue
 Generic non-thread-safe queue. More...
 
class  StaticRegion
 Region with statically allocated memory. More...
 
class  StaticSimpleQueue
 SimpleQueue with statically allocated memory. More...
 
class  ValidityPeriod
 ValidityPeriod of a certificate. More...
 
class  WithRegion
 Base class of an object associated with a Region. More...
 

Typedefs

using SegmentConsumer = BasicSegmentConsumer<>
 
using SegmentProducer = BasicSegmentProducer<>
 
using Transport = transport::Transport
 
using EcPublicKey = ec::EcPublicKey
 
using EcPrivateKey = ec::EcPrivateKey
 
using MemifTransport = port_transport_memif::MemifTransport
 
using UdpUnicastTransport = port_transport_socket::UdpUnicastTransport
 

Enumerations

enum class  NackReason : uint8_t {
  None = 0 , Congestion = 1 , Duplicate = 2 , NoRoute = 3 ,
  Unspecified = 7
}
 Nack reason. More...
 

Functions

template<typename I >
std::enable_if< std::is_integral< I >::value, I >::type divCeil (const I &a, const I &b)
 Compute ceil( a / b ).
 
constexpr size_t sizeofSubRegions (size_t capacity, size_t count=1)
 Compute total size of several sub Regions of given capacity.
 
RegionmakeSubRegion (Region &parent, size_t capacity)
 Create Region inside a parent Region.
 
bool operator== (const ValidityPeriod &lhs, const ValidityPeriod &rhs)
 
ValidityPeriod operator&& (const ValidityPeriod &lhs, const ValidityPeriod &rhs)
 Compute the intersection of two ValidityPeriods.
 
bool operator== (const Component &lhs, const Component &rhs)
 
bool operator== (const Name &lhs, const Name &rhs)
 
bool operator< (const Name &lhs, const Name &rhs)
 

Typedef Documentation

◆ EcPrivateKey

◆ EcPublicKey

◆ MemifTransport

◆ SegmentConsumer

◆ SegmentProducer

◆ Transport

◆ UdpUnicastTransport

Enumeration Type Documentation

◆ NackReason

enum class ndnph::NackReason : uint8_t
strong

Nack reason.

These are internal 3-bit representation, not assigned numbers.

Enumerator
None 
Congestion 
Duplicate 
NoRoute 
Unspecified 

Function Documentation

◆ divCeil()

template<typename I >
std::enable_if< std::is_integral< I >::value, I >::type ndnph::divCeil ( const I &  a,
const I &  b 
)
inline

Compute ceil( a / b ).

Parameters
anon-negative integer.
bnon-negative integer.

◆ makeSubRegion()

Region * ndnph::makeSubRegion ( Region parent,
size_t  capacity 
)
inline

Create Region inside a parent Region.

◆ operator&&()

ValidityPeriod ndnph::operator&& ( const ValidityPeriod lhs,
const ValidityPeriod rhs 
)
inline

Compute the intersection of two ValidityPeriods.

◆ operator<()

bool ndnph::operator< ( const Name lhs,
const Name rhs 
)
inline

◆ operator==() [1/3]

bool ndnph::operator== ( const Component lhs,
const Component rhs 
)
inline

◆ operator==() [2/3]

bool ndnph::operator== ( const Name lhs,
const Name rhs 
)
inline

◆ operator==() [3/3]

bool ndnph::operator== ( const ValidityPeriod lhs,
const ValidityPeriod rhs 
)
inline

◆ sizeofSubRegions()

constexpr size_t ndnph::sizeofSubRegions ( size_t  capacity,
size_t  count = 1 
)
constexpr

Compute total size of several sub Regions of given capacity.