P4C
The P4 Compiler
Loading...
Searching...
No Matches
ebpf.h
1
#ifndef TESTGEN_TARGETS_EBPF_EBPF_H_
2
#define TESTGEN_TARGETS_EBPF_EBPF_H_
3
4
#include "backends/p4tools/common/compiler/midend.h"
5
#include "frontends/common/options.h"
6
7
#include "backends/p4tools/modules/testgen/core/compiler_target.h"
8
9
namespace
P4Tools::P4Testgen::EBPF {
10
11
class
EBPFCompilerTarget
:
public
TestgenCompilerTarget
{
12
public
:
14
static
void
make
();
15
16
private
:
17
MidEnd
mkMidEnd(
const
CompilerOptions
&options)
const override
;
18
19
EBPFCompilerTarget
();
20
};
21
22
}
// namespace P4Tools::P4Testgen::EBPF
23
24
#endif
/* TESTGEN_TARGETS_EBPF_EBPF_H_ */
CompilerOptions
Definition
options.h:26
P4Tools::MidEnd
Definition
midend.h:24
P4Tools::P4Testgen::EBPF::EBPFCompilerTarget
Definition
ebpf.h:11
P4Tools::P4Testgen::EBPF::EBPFCompilerTarget::make
static void make()
Registers this target.
Definition
ebpf.cpp:12
P4Tools::P4Testgen::TestgenCompilerTarget
Definition
compiler_target.h:35
backends
p4tools
modules
testgen
targets
ebpf
ebpf.h
Generated on Tue Mar 26 2024 for