blob: 12ad1cb82d61c86a8158eafb3763fe00e2b613a6 [file] [log] [blame]
Rich Lane53ddf5c2014-03-20 15:24:08 -07001// Copyright 2014, Big Switch Networks, Inc.
2//
3// LoxiGen is licensed under the Eclipse Public License,
4// version 1.0 (EPL), with the following special exception:
5//
6// LOXI Exception
7//
8// As a special exception to the terms of the EPL, you may
9// distribute libraries generated by LoxiGen (LoxiGen Libraries)
10// under the terms of your choice, provided that copyright and
11// licensing notices generated by LoxiGen are not altered or removed
12// from the LoxiGen Libraries and the notice provided below is (i)
13// included in the LoxiGen Libraries, if distributed in source code
14// form and (ii) included in any documentation for the LoxiGen
15// Libraries, if distributed in binary form.
16//
17// Notice: "Copyright 2014, Big Switch Networks, Inc.
18// This library was generated by the LoxiGen Compiler."
19//
20// You may not use this file except in compliance with the EPL or
21// LOXI Exception. You may obtain a copy of the EPL at:
22//
23// http://www.eclipse.org/legal/epl-v10.html
24//
25// Unless required by applicable law or agreed to in writing,
26// software distributed under the License is distributed on an "AS
27// IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
28// express or implied. See the EPL for the specific language
29// governing permissions and limitations under the EPL.
30
31#version 3
32#version 4
Rich Lane4b1d8f42014-10-31 15:25:14 -070033#version 5
Rich Lane53ddf5c2014-03-20 15:24:08 -070034
35/*
36 * User Defined Fields
37 */
38
39struct of_oxm_bsn_udf0 : of_oxm {
40 uint32_t type_len == 0x00031004;
41 uint32_t value;
42};
43
44struct of_oxm_bsn_udf0_masked : of_oxm {
45 uint32_t type_len == 0x00031108;
46 uint32_t value;
47 uint32_t value_mask;
48};
49
50struct of_oxm_bsn_udf1 : of_oxm {
51 uint32_t type_len == 0x00031204;
52 uint32_t value;
53};
54
55struct of_oxm_bsn_udf1_masked : of_oxm {
56 uint32_t type_len == 0x00031308;
57 uint32_t value;
58 uint32_t value_mask;
59};
60
61struct of_oxm_bsn_udf2 : of_oxm {
62 uint32_t type_len == 0x00031404;
63 uint32_t value;
64};
65
66struct of_oxm_bsn_udf2_masked : of_oxm {
67 uint32_t type_len == 0x00031508;
68 uint32_t value;
69 uint32_t value_mask;
70};
71
72struct of_oxm_bsn_udf3 : of_oxm {
73 uint32_t type_len == 0x00031604;
74 uint32_t value;
75};
76
77struct of_oxm_bsn_udf3_masked : of_oxm {
78 uint32_t type_len == 0x00031708;
79 uint32_t value;
80 uint32_t value_mask;
81};
82
83struct of_oxm_bsn_udf4 : of_oxm {
84 uint32_t type_len == 0x00031804;
85 uint32_t value;
86};
87
88struct of_oxm_bsn_udf4_masked : of_oxm {
89 uint32_t type_len == 0x00031908;
90 uint32_t value;
91 uint32_t value_mask;
92};
93
94struct of_oxm_bsn_udf5 : of_oxm {
95 uint32_t type_len == 0x00031a04;
96 uint32_t value;
97};
98
99struct of_oxm_bsn_udf5_masked : of_oxm {
100 uint32_t type_len == 0x00031b08;
101 uint32_t value;
102 uint32_t value_mask;
103};
104
105struct of_oxm_bsn_udf6 : of_oxm {
106 uint32_t type_len == 0x00031c04;
107 uint32_t value;
108};
109
110struct of_oxm_bsn_udf6_masked : of_oxm {
111 uint32_t type_len == 0x00031d08;
112 uint32_t value;
113 uint32_t value_mask;
114};
115
116struct of_oxm_bsn_udf7 : of_oxm {
117 uint32_t type_len == 0x00031e04;
118 uint32_t value;
119};
120
121struct of_oxm_bsn_udf7_masked : of_oxm {
122 uint32_t type_len == 0x00031f08;
123 uint32_t value;
124 uint32_t value_mask;
125};