P4C
The P4 Compiler
Loading...
Searching...
No Matches
parser_packing_validator_interface.h
1
19
#ifndef BF_P4C_PHV_PARSER_PACKING_VALIDATOR_INTERFACE_H_
20
#define BF_P4C_PHV_PARSER_PACKING_VALIDATOR_INTERFACE_H_
21
22
#include "backends/tofino/bf-p4c/phv/v2/utils_v2.h"
23
24
namespace
PHV
{
25
26
class
ParserPackingValidatorInterface
{
27
public
:
30
virtual
const
v2::AllocError
*
can_pack
(
const
v2::FieldSliceAllocStartMap
&alloc,
31
bool
add_mau_inits)
const
= 0;
32
};
33
34
}
// namespace PHV
35
36
#endif
/* BF_P4C_PHV_PARSER_PACKING_VALIDATOR_INTERFACE_H_ */
P4::ordered_map< PHV::FieldSlice, int >
PHV::ParserPackingValidatorInterface
Definition
parser_packing_validator_interface.h:26
PHV::ParserPackingValidatorInterface::can_pack
virtual const v2::AllocError * can_pack(const v2::FieldSliceAllocStartMap &alloc, bool add_mau_inits) const =0
PHV
The namespace encapsulating PHV-related stuff.
Definition
gateway.h:32
PHV::v2::AllocError
Definition
utils_v2.h:92
backends
tofino
bf-p4c
phv
parser_packing_validator_interface.h
Generated by
1.12.0