Struct WorkerContext
Defined in File worker.cpp
Struct Documentation
-
struct WorkerContext
Public Members
-
uint16_t worker_id
-
uint16_t queue_id
-
size_t resolver_count
-
IntrusiveList<RequestContainer, &RequestContainer::ready_for_send_node> ready_for_send_list
-
IntrusiveList<RequestContainer, &RequestContainer::timeout_node> timeout_list
-
std::vector<RequestContainer, RteAllocator<RequestContainer>> request_containers
-
std::stack<RequestContainer*, std::vector<RequestContainer*, RteAllocator<RequestContainer*>>> available_container_stack
-
std::vector<RTEMbufArray<DNSPacketDistr, RX_PKT_BURST>> pkt_distributors
Public Static Functions
-
static inline tl::expected<WorkerContext, int> init(uint16_t worker_id, const WorkerParams ¶m)
-
uint16_t worker_id