blob: 5ebd19b0b5bcbb3c906dd64c78013da7c25505a1 [file] [log] [blame]
Pier Ventre18212632016-10-24 11:49:41 -07001#version 4
2
3// Here we define the experimental match fields supported by OFDPA pipeline
4
5// This struct defines QoS
6struct of_oxm_ofdpa_qos_index : of_oxm {
7 uint32_t type_len == 0xFFFF0A05;
8 uint32_t experimenter_id == 0x1018;
9 uint8_t value;
10};
11
12// This struct defines MPLS_TYPE
13struct of_oxm_ofdpa_mpls_type : of_oxm {
14 uint32_t type_len == 0xFFFF2E06;
15 uint32_t experimenter_id == 0x1018;
16 uint16_t value;
17};
18
19// This struct defines MPLS_L2_PORT
20struct of_oxm_ofdpa_mpls_l2_port : of_oxm {
21 uint32_t type_len == 0xFFFF1008;
22 uint32_t experimenter_id == 0x1018;
23 uint32_t value;
24};
25
26// This struct defines the masked version of MPLS_L2_PORT
27struct of_oxm_ofdpa_mpls_l2_port_masked : of_oxm {
28 uint32_t type_len == 0xFFFF110C;
29 uint32_t experimenter_id == 0x1018;
30 uint32_t value;
31 uint32_t value_mask;
32};
33
34// This struct defines the OVID
35struct of_oxm_ofdpa_ovid : of_oxm {
36 uint32_t type_len == 0xFFFF1406;
37 uint32_t experimenter_id == 0x1018;
38 uint16_t value;
39};
40