| 166 | class BPFQueueStackTable : public BPFQueueStackTableBase<void> { |
| 167 | public: |
| 168 | explicit BPFQueueStackTable(const TableDesc& desc) : BPFQueueStackTableBase(desc) { |
| 169 | if (desc.type != BPF_MAP_TYPE_QUEUE && |
| 170 | desc.type != BPF_MAP_TYPE_STACK) |
| 171 | throw std::invalid_argument("Table '" + desc.name + |
| 172 | "' is not a queue/stack table"); |
| 173 | } |
| 174 | |
| 175 | virtual StatusTuple pop_value(ValueType& value) { |
| 176 | if (!this->pop(get_value_addr(value))) |
nothing calls this directly
no outgoing calls
no test coverage detected