P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
constants.h
1#ifndef TESTGEN_TARGETS_EBPF_CONSTANTS_H_
2#define TESTGEN_TARGETS_EBPF_CONSTANTS_H_
3
4#include "ir/ir.h"
5
6namespace 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 P4Tools::P4Testgen::EBPF
17
18#endif /* TESTGEN_TARGETS_EBPF_CONSTANTS_H_ */
static constexpr int PORT_BIT_WIDTH
Port width in bits.
Definition constants.h:13
static const IR::PathExpression ACCEPT_VAR
eBPF-internal drop variable.
Definition constants.h:11