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