P4C
The P4 Compiler
Loading...
Searching...
No Matches
p4tools/modules/testgen/targets/ebpf/constants.h
1#ifndef TESTGEN_TARGETS_EBPF_CONSTANTS_H_
2#define TESTGEN_TARGETS_EBPF_CONSTANTS_H_
3
4#include "ir/ir.h"
5
6namespace P4::P4Tools::P4Testgen::EBPF {
7
9 public:
11 static const IR::PathExpression ACCEPT_VAR;
13 static constexpr int PORT_BIT_WIDTH = 9;
14};
15
16} // namespace P4::P4Tools::P4Testgen::EBPF
17
18#endif /* TESTGEN_TARGETS_EBPF_CONSTANTS_H_ */
Definition p4tools/modules/testgen/targets/ebpf/constants.h:8
static constexpr int PORT_BIT_WIDTH
Port width in bits.
Definition p4tools/modules/testgen/targets/ebpf/constants.h:13
static const IR::PathExpression ACCEPT_VAR
eBPF-internal drop variable.
Definition p4tools/modules/testgen/targets/ebpf/constants.h:11