Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
3304fd54e5970695b724dc5db3d5978f28f7b8c7
/
.
/
tools
/
test
/
p4src
/
p4-16
/
include
/
defines.p4
blob: 6d370365804c5b0f1cb89dad172a9f99ff42c59b [
file
] [
log
] [
blame
]
#ifndef
DEFINES
#define
DEFINES
#define
MAX_PORTS
254
#define
ETH_TYPE_IPV4
16w0x800
#define
IP_TYPE_TCP
8w6
#define
IP_TYPE_UDP
8w17
typedef
bit
<
9
>
port_t
;
const
port_t
CPU_PORT
=
255
;
const
port_t
DROP_PORT
=
511
;
#endif