Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
8d99b17b8efb9e786a21499f14654a71313b32be
/
.
/
tools
/
test
/
p4src
/
p4-16
/
include
/
defines.p4
blob: 24974a1362d14ff4497ccd8d3e44300b3b4c1055 [
file
] [
log
] [
blame
]
#ifndef
DEFINES
#define
DEFINES
// Logic ports as defined in the simple_switch target
#define
MAX_PORTS
254
#define
CPU_PORT
9w255
#define
DROP_PORT
9w511
typedef
bit
<
16
>
GroupId
;
typedef
bit
<
8
>
GroupSize
;
typedef
bit
<
9
>
Port
;
#endif