Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
7463193198954de57e6253011a3f3a876790e079
/
.
/
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