P4C
The P4 Compiler
Loading...
Searching...
No Matches
modules/smith/util/util.h
1
#ifndef BACKENDS_P4TOOLS_MODULES_SMITH_UTIL_UTIL_H_
2
#define BACKENDS_P4TOOLS_MODULES_SMITH_UTIL_UTIL_H_
3
4
#include <string>
5
6
#include "lib/cstring.h"
7
8
namespace
P4::P4Tools::P4Smith {
9
10
static
constexpr
int
INTEGER_WIDTH(32);
11
13
static
const
cstring SYS_HDR_NAME(
"Headers"
);
14
static
const
cstring ETH_HEADER_T(
"ethernet_t"
);
15
static
const
cstring ETH_HDR(
"eth_hdr"
);
16
21
std::string getRandomString(
size_t
len);
22
23
}
// namespace P4::P4Tools::P4Smith
24
25
#endif
/* BACKENDS_P4TOOLS_MODULES_SMITH_UTIL_UTIL_H_ */
backends
p4tools
modules
smith
util
util.h
Generated by
1.12.0