P4C
The P4 Compiler
Loading...
Searching...
No Matches
ubpf/codeGen.h
1
#ifndef BACKENDS_UBPF_CODEGEN_H_
2
#define BACKENDS_UBPF_CODEGEN_H_
3
4
#include "backends/ebpf/codeGen.h"
5
#include "lib/sourceCodeBuilder.h"
6
#include "target.h"
7
8
namespace
P4::UBPF {
9
10
class
UbpfCodeBuilder
:
public
EBPF::CodeBuilder
{
11
public
:
12
const
UbpfTarget
*target;
13
explicit
UbpfCodeBuilder
(
const
UbpfTarget
*target)
14
:
EBPF::CodeBuilder
(target), target(target) {}
15
};
16
17
}
// namespace P4::UBPF
18
19
#endif
/* BACKENDS_UBPF_CODEGEN_H_ */
P4::EBPF::CodeBuilder
Definition
ebpf/codeGen.h:33
P4::UBPF::UbpfCodeBuilder
Definition
ubpf/codeGen.h:10
P4::UBPF::UbpfTarget
Definition
ubpf/target.h:30
backends
ubpf
codeGen.h
Generated by
1.12.0