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