P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::EBPF::EBPFModel Class Reference

Keep this in sync with ebpf_model.p4 and xdp_model.p4. More...

#include <ebpfModel.h>

Inheritance diagram for P4::EBPF::EBPFModel:
[legend]

Static Public Member Functions

static cstring reserved (cstring name)
 

Public Attributes

ModelArchitecture arch
 
TableImpl_Model array_table
 
CounterArray_Model counterArray
 
cstring counterIndexType
 
cstring counterValueType
 
::P4::Model::Elem CPacketName
 
Filter_Model filter
 Only one of these should be used, depending on arch value.
 
TableImpl_Model hash_table
 
::P4::Model::Param_Model packet
 
::P4::Model::Elem tableImplProperty
 
Xdp_Model xdp
 

Static Public Attributes

static EBPFModel instance
 
static cstring reservedPrefix = "ebpf_"_cs
 

Detailed Description

Keep this in sync with ebpf_model.p4 and xdp_model.p4.