P4C
The P4 Compiler
Toggle main menu visibility
Main Page
P4C Repository Organization
Getting Started
P4C Intermediate Representation (IR)
Frontend
Midend
Backends
Behavioral Model Backend
DPDK Backend
eBPF Backend
TC Backend
uBPF Backend
P4test Backend
Graphs Backend
p4fmt (P4 Formatter)
P4Tools
P4Smith
P4Testgen
Contribute to the P4 Compiler Project
Releases
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
x
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
x
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
Enumerations
Enumerator
Related Symbols
►
P4 Compiler Documentation (P4C)
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
packet_vars.h
1
#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_LIB_PACKET_VARS_H_
2
#define BACKENDS_P4TOOLS_MODULES_TESTGEN_LIB_PACKET_VARS_H_
3
4
#include "ir/ir.h"
5
6
namespace
P4::P4Tools::P4Testgen {
7
10
class
PacketVars
{
11
public
:
14
static
const
IR::Type_Bits
PACKET_SIZE_VAR_TYPE
;
15
19
static
const
IR::Member
INPUT_PACKET_LABEL
;
20
24
static
const
IR::Member
PACKET_BUFFER_LABEL
;
25
29
static
const
IR::Member
EMIT_BUFFER_LABEL
;
30
33
static
const
IR::SymbolicVariable
PAYLOAD_SYMBOL
;
34
};
10
class
PacketVars
{
…
};
35
36
}
// namespace P4::P4Tools::P4Testgen
37
38
#endif
/* BACKENDS_P4TOOLS_MODULES_TESTGEN_LIB_PACKET_VARS_H_ */
P4::P4Tools::P4Testgen::PacketVars
Definition
packet_vars.h:10
P4::P4Tools::P4Testgen::PacketVars::PAYLOAD_SYMBOL
static const IR::SymbolicVariable PAYLOAD_SYMBOL
Definition
packet_vars.h:33
P4::P4Tools::P4Testgen::PacketVars::PACKET_BUFFER_LABEL
static const IR::Member PACKET_BUFFER_LABEL
Definition
packet_vars.h:24
P4::P4Tools::P4Testgen::PacketVars::INPUT_PACKET_LABEL
static const IR::Member INPUT_PACKET_LABEL
Definition
packet_vars.h:19
P4::P4Tools::P4Testgen::PacketVars::EMIT_BUFFER_LABEL
static const IR::Member EMIT_BUFFER_LABEL
Definition
packet_vars.h:29
P4::P4Tools::P4Testgen::PacketVars::PACKET_SIZE_VAR_TYPE
static const IR::Type_Bits PACKET_SIZE_VAR_TYPE
Definition
packet_vars.h:14
backends
p4tools
modules
testgen
lib
packet_vars.h
Generated by
1.12.0