Yi Tseng | 2162993 | 2017-06-06 11:17:43 -0700 | [diff] [blame] | 1 | #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 | ||||
7 | typedef bit<16> GroupId; | ||||
8 | typedef bit<8> GroupSize; | ||||
9 | typedef bit<9> Port; | ||||
10 | #endif |