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