P4C
The P4 Compiler
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
6namespace P4::P4Tools::P4Testgen {
7
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};
35
36} // namespace P4::P4Tools::P4Testgen
37
38#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_LIB_PACKET_VARS_H_ */
Definition packet_vars.h:10
static const IR::SymbolicVariable PAYLOAD_SYMBOL
Definition packet_vars.h:33
static const IR::Member PACKET_BUFFER_LABEL
Definition packet_vars.h:24
static const IR::Member INPUT_PACKET_LABEL
Definition packet_vars.h:19
static const IR::Member EMIT_BUFFER_LABEL
Definition packet_vars.h:29
static const IR::Type_Bits PACKET_SIZE_VAR_TYPE
Definition packet_vars.h:14