PIT token field.
More...
#include <lp.hpp>
◆ decodeFrom()
bool ndnph::lp::PitToken::decodeFrom |
( |
const Decoder::Tlv & |
d | ) |
|
|
inline |
◆ encodeTo()
void ndnph::lp::PitToken::encodeTo |
( |
Encoder & |
encoder | ) |
const |
|
inline |
◆ from4()
static PitToken ndnph::lp::PitToken::from4 |
( |
uint32_t |
n | ) |
|
|
inlinestatic |
Construct 4-octet PIT token from uint32.
◆ length()
size_t ndnph::lp::PitToken::length |
( |
| ) |
const |
|
inline |
◆ operator bool()
ndnph::lp::PitToken::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Determine whether PIT token exists.
◆ set()
bool ndnph::lp::PitToken::set |
( |
size_t |
length, |
|
|
const uint8_t * |
value |
|
) |
| |
|
inline |
Assign PIT token length and value.
◆ to4()
uint32_t ndnph::lp::PitToken::to4 |
( |
| ) |
const |
|
inline |
Interpret 4-octet PIT token as uint32.
◆ value()
const uint8_t* ndnph::lp::PitToken::value |
( |
| ) |
const |
|
inline |
◆ operator==
The documentation for this class was generated from the following file:
- /home/runner/work/esp8266ndn/NDNph/src/ndnph/packet/lp.hpp