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