blob: 5fae674ebfd842715feb9276ff0dbcb73e3dad01 [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
Murat Parlakisikf95672c2016-12-05 00:53:17 -080034#version 6
Rich Lane53ddf5c2014-03-20 15:24:08 -070035
36/*
37 * User Defined Fields
38 */
39
40struct of_oxm_bsn_udf0 : of_oxm {
41 uint32_t type_len == 0x00031004;
42 uint32_t value;
43};
44
45struct of_oxm_bsn_udf0_masked : of_oxm {
46 uint32_t type_len == 0x00031108;
47 uint32_t value;
48 uint32_t value_mask;
49};
50
51struct of_oxm_bsn_udf1 : of_oxm {
52 uint32_t type_len == 0x00031204;
53 uint32_t value;
54};
55
56struct of_oxm_bsn_udf1_masked : of_oxm {
57 uint32_t type_len == 0x00031308;
58 uint32_t value;
59 uint32_t value_mask;
60};
61
62struct of_oxm_bsn_udf2 : of_oxm {
63 uint32_t type_len == 0x00031404;
64 uint32_t value;
65};
66
67struct of_oxm_bsn_udf2_masked : of_oxm {
68 uint32_t type_len == 0x00031508;
69 uint32_t value;
70 uint32_t value_mask;
71};
72
73struct of_oxm_bsn_udf3 : of_oxm {
74 uint32_t type_len == 0x00031604;
75 uint32_t value;
76};
77
78struct of_oxm_bsn_udf3_masked : of_oxm {
79 uint32_t type_len == 0x00031708;
80 uint32_t value;
81 uint32_t value_mask;
82};
83
84struct of_oxm_bsn_udf4 : of_oxm {
85 uint32_t type_len == 0x00031804;
86 uint32_t value;
87};
88
89struct of_oxm_bsn_udf4_masked : of_oxm {
90 uint32_t type_len == 0x00031908;
91 uint32_t value;
92 uint32_t value_mask;
93};
94
95struct of_oxm_bsn_udf5 : of_oxm {
96 uint32_t type_len == 0x00031a04;
97 uint32_t value;
98};
99
100struct of_oxm_bsn_udf5_masked : of_oxm {
101 uint32_t type_len == 0x00031b08;
102 uint32_t value;
103 uint32_t value_mask;
104};
105
106struct of_oxm_bsn_udf6 : of_oxm {
107 uint32_t type_len == 0x00031c04;
108 uint32_t value;
109};
110
111struct of_oxm_bsn_udf6_masked : of_oxm {
112 uint32_t type_len == 0x00031d08;
113 uint32_t value;
114 uint32_t value_mask;
115};
116
117struct of_oxm_bsn_udf7 : of_oxm {
118 uint32_t type_len == 0x00031e04;
119 uint32_t value;
120};
121
122struct of_oxm_bsn_udf7_masked : of_oxm {
123 uint32_t type_len == 0x00031f08;
124 uint32_t value;
125 uint32_t value_mask;
126};