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