blob: 24974a1362d14ff4497ccd8d3e44300b3b4c1055 [file] [log] [blame]
Yi Tseng21629932017-06-06 11:17:43 -07001#ifndef DEFINES
2#define DEFINES
3// Logic ports as defined in the simple_switch target
4#define MAX_PORTS 254
5#define CPU_PORT 9w255
6#define DROP_PORT 9w511
7typedef bit<16> GroupId;
8typedef bit<8> GroupSize;
9typedef bit<9> Port;
10#endif