Back to Site
Loading...
Searching...
No Matches
librats::SearchNodeFlags Namespace Reference

Search node state flags (bitfield) Flags can be combined to track the full history of a node in a search. More...

Variables

constexpr uint8_t QUERIED = 1 << 0
 
constexpr uint8_t SHORT_TIMEOUT = 1 << 1
 
constexpr uint8_t RESPONDED = 1 << 2
 
constexpr uint8_t TIMED_OUT = 1 << 3
 
constexpr uint8_t ABANDONED = 1 << 4
 

Detailed Description

Search node state flags (bitfield) Flags can be combined to track the full history of a node in a search.

Variable Documentation

◆ ABANDONED

constexpr uint8_t librats::SearchNodeFlags::ABANDONED = 1 << 4
constexpr

Definition at line 61 of file dht.h.

◆ QUERIED

constexpr uint8_t librats::SearchNodeFlags::QUERIED = 1 << 0
constexpr

Definition at line 57 of file dht.h.

◆ RESPONDED

constexpr uint8_t librats::SearchNodeFlags::RESPONDED = 1 << 2
constexpr

Definition at line 59 of file dht.h.

◆ SHORT_TIMEOUT

constexpr uint8_t librats::SearchNodeFlags::SHORT_TIMEOUT = 1 << 1
constexpr

Definition at line 58 of file dht.h.

◆ TIMED_OUT

constexpr uint8_t librats::SearchNodeFlags::TIMED_OUT = 1 << 3
constexpr

Definition at line 60 of file dht.h.