1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_BMV2_CONSTANTS_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_BMV2_CONSTANTS_H_
8enum bmv2_gress_t { BMV2_INGRESS, BMV2_EGRESS };
23 static constexpr uint64_t PKT_INSTANCE_TYPE_INGRESS_CLONE = 0x0001;
24 static constexpr uint64_t PKT_INSTANCE_TYPE_EGRESS_CLONE = 0x0002;
25 static constexpr uint64_t PKT_INSTANCE_TYPE_COALESCED = 0x0003;
26 static constexpr uint64_t PKT_INSTANCE_TYPE_RECIRC = 0x0004;
27 static constexpr uint64_t PKT_INSTANCE_TYPE_REPLICATION = 0x005;
28 static constexpr uint64_t PKT_INSTANCE_TYPE_RESUBMIT = 0x006;
32 static constexpr uint16_t CLONE_SESSION_ID_MAX = 32767;
42 static constexpr int ETH_HDR_SIZE = 112;
43 static constexpr int DROP_PORT = 511;