blob: e08057c1b99bd4ff2ba3b1742e75358829abfb83 [file] [log] [blame]
Yi Tseng21629932017-06-06 11:17:43 -07001#ifndef METADATA
2#define METADATA
3
4struct ecmp_metadata_t {
5 bit<16> groupId;
6 bit<16> selector;
7}
8
9struct wcmp_meta_t {
10 bit<16> groupId;
11 bit<8> numBits;
12 bit<64> selector;
13}
14
15struct metadata {
16 ecmp_metadata_t ecmp_metadata;
17 wcmp_meta_t wcmp_meta;
18 intrinsic_metadata_t intrinsic_metadata;
19}
20#endif