ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
Loading...
Searching...
No Matches
cs.hpp File Reference

Content Store (CS) More...

#include "ndn/common.hpp"
#include "ndn/data.hpp"

Go to the source code of this file.

Classes

class  ndn::CsEntry
 Content Store entry. More...
 
class  ndn::ContentStore
 Content Store. More...
 
struct  ndn::ContentStore::Stats
 CS statistics. More...
 

Variables

constexpr size_t ndn::CS_DEFAULT_ENTRIES = 15
 Default number of CS entries.
 
constexpr size_t ndn::CS_MANET_ENTRIES = 100
 Number of CS entries for MANET.
 
constexpr size_t ndn::CS_LARGE_MANET_ENTRIES = 200
 Number of CS entries for large-scale MANET.
 

Detailed Description

Content Store (CS)

The Content Store caches received Data packets. When an Interest with the same Name is received again, Data can be returned from the cache without forwarding to the network.

See also
https://named-data.net/doc/NDN-packet-spec/current/

Definition in file cs.hpp.

Variable Documentation

◆ CS_DEFAULT_ENTRIES

constexpr size_t ndn::CS_DEFAULT_ENTRIES = 15
constexpr

Default number of CS entries.

Definition at line 20 of file cs.hpp.

◆ CS_LARGE_MANET_ENTRIES

constexpr size_t ndn::CS_LARGE_MANET_ENTRIES = 200
constexpr

Number of CS entries for large-scale MANET.

Definition at line 26 of file cs.hpp.

◆ CS_MANET_ENTRIES

constexpr size_t ndn::CS_MANET_ENTRIES = 100
constexpr

Number of CS entries for MANET.

Definition at line 23 of file cs.hpp.