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
6
namespace
P4::P4Tools::P4Testgen::EBPF {
7
8
class
EBPFConstants
{
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_ */
P4::P4Tools::P4Testgen::EBPF::EBPFConstants
Definition
p4tools/modules/testgen/targets/ebpf/constants.h:8
P4::P4Tools::P4Testgen::EBPF::EBPFConstants::PORT_BIT_WIDTH
static constexpr int PORT_BIT_WIDTH
Port width in bits.
Definition
p4tools/modules/testgen/targets/ebpf/constants.h:13
P4::P4Tools::P4Testgen::EBPF::EBPFConstants::ACCEPT_VAR
static const IR::PathExpression ACCEPT_VAR
eBPF-internal drop variable.
Definition
p4tools/modules/testgen/targets/ebpf/constants.h:11
backends
p4tools
modules
testgen
targets
ebpf
constants.h
Generated by
1.12.0