![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
PNAArchTC (const EbpfOptions &options, std::vector< EBPF::EBPFType * > &ebpfTypes, EBPF::XDPHelpProgram *xdp, EBPF::EBPFPipeline *pipeline, const ConvertToBackendIR *tcIR) | |
void | emit (EBPF::CodeBuilder *builder) const override |
void | emitHeader (EBPF::CodeBuilder *builder) const override |
void | emitInstances (EBPF::CodeBuilder *builder) const override |
void | emitParser (EBPF::CodeBuilder *builder) const override |
![]() | |
PNAEbpfGenerator (const EbpfOptions &options, std::vector< EBPF::EBPFType * > &ebpfTypes, EBPF::EBPFPipeline *pipeline, const ConvertToBackendIR *tcIR) | |
void | emitCommonPreamble (EBPF::CodeBuilder *builder) const override |
void | emitGlobalHeadersMetadata (EBPF::CodeBuilder *builder) const override |
void | emitInternalStructures (EBPF::CodeBuilder *pBuilder) const override |
void | emitP4TCActionParam (EBPF::CodeBuilder *builder) const |
void | emitP4TCFilterFields (EBPF::CodeBuilder *builder) const |
void | emitPipelineInstances (EBPF::CodeBuilder *builder) const override |
void | emitPNAIncludes (EBPF::CodeBuilder *builder) const |
void | emitPreamble (EBPF::CodeBuilder *builder) const override |
void | emitTypes (EBPF::CodeBuilder *builder) const override |
cstring | getProgramName () const |
![]() | |
EbpfCodeGenerator (const EbpfOptions &options, std::vector< EBPF::EBPFType * > &ebpfTypes) | |
Public Attributes | |
EBPF::XDPHelpProgram * | xdp |
![]() | |
EBPF::EBPFPipeline * | pipeline |
const ConvertToBackendIR * | tcIR |
![]() | |
std::vector< EBPF::EBPFType * > | ebpfTypes |
const EbpfOptions & | options |
|
overridevirtual |
Structure of a C Post Parser program for PNA
Implements TC::PNAEbpfGenerator.
|
overridevirtual |
Implements TC::PNAEbpfGenerator.
|
overridevirtual |
Implements TC::PNAEbpfGenerator.
|
overridevirtual |
Structure of a C Parser program for PNA
Implements TC::PNAEbpfGenerator.