blob: 1818b610d9759f0c07d134d4accb57c522f95550 [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
Andreas Pantelopoulosd4bcb692018-04-02 12:12:47 -070041// This struct defines the ACTSET_OUTPUT
42struct of_oxm_ofdpa_actset_output : of_oxm {
43 uint32_t type_len == 0xFFFF5608;
44 uint32_t experimenter_id == 0x4F4E4600;
45 uint32_t value;
46};
47
48// This struct defines the ALLOW_VLAN_TRANSLATION
49struct of_oxm_ofdpa_allow_vlan_translation : of_oxm {
50 uint32_t type_len == 0xFFFF3005;
51 uint32_t experimenter_id == 0x1018;
52 uint8_t value;
53};
54