Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 1 | // Copyright 2013, Big Switch Networks, Inc. |
| 2 | // |
| 3 | // LoxiGen is licensed under the Eclipse Public License, version 1.0 (EPL), with |
| 4 | // the following special exception: |
| 5 | // |
| 6 | // LOXI Exception |
| 7 | // |
| 8 | // As a special exception to the terms of the EPL, you may distribute libraries |
| 9 | // generated by LoxiGen (LoxiGen Libraries) under the terms of your choice, provided |
| 10 | // that copyright and licensing notices generated by LoxiGen are not altered or removd |
| 11 | // from the LoxiGen Libraries and the notice provided below is (i) included in |
| 12 | // the LoxiGen Libraries, if distributed in source code form and (ii) included in any |
| 13 | // documentation for the LoxiGen Libraries, if distributed in binary form. |
| 14 | // |
| 15 | // Notice: "Copyright 2013, Big Switch Networks, Inc. This library was generated by t" |
| 16 | // |
| 17 | // You may not use this file except in compliance with the EPL or LOXI Exception. Youn |
| 18 | // a copy of the EPL at: |
| 19 | // |
| 20 | // http://www.eclipse.org/legal/epl-v10.html |
| 21 | // |
| 22 | // Unless required by applicable law or agreed to in writing, software |
| 23 | // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 24 | // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 25 | // EPL for the specific language governing permissions and limitations |
| 26 | // under the EPL. |
| 27 | |
| 28 | #version 3 |
| 29 | #version 4 |
| 30 | #version 5 |
| 31 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 32 | // Nicira extension for nsp (113) |
| 33 | struct of_oxm_nsp : of_oxm { |
| 34 | uint32_t type_len == 0x0001e204; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 35 | uint32_t value; |
| 36 | }; |
| 37 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 38 | struct of_oxm_nsp_masked : of_oxm { |
| 39 | uint32_t type_len == 0x0001e308; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 40 | uint32_t value; |
| 41 | uint32_t value_mask; |
| 42 | }; |
| 43 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 44 | // Nicira extension for nsi (114) |
| 45 | struct of_oxm_nsi : of_oxm { |
| 46 | uint32_t type_len == 0x0001e401; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 47 | uint8_t value; |
| 48 | }; |
| 49 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 50 | struct of_oxm_nsi_masked : of_oxm { |
| 51 | uint32_t type_len == 0x0001e502; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 52 | uint8_t value; |
| 53 | uint8_t value_mask; |
| 54 | }; |
| 55 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 56 | // Nicira extension for nsh_c1 (115) |
| 57 | struct of_oxm_nsh_c1 : of_oxm { |
| 58 | uint32_t type_len == 0x0001e604; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 59 | uint32_t value; |
| 60 | }; |
| 61 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 62 | struct of_oxm_nsh_c1_masked : of_oxm { |
| 63 | uint32_t type_len == 0x0001e708; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 64 | uint32_t value; |
| 65 | uint32_t value_mask; |
| 66 | }; |
| 67 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 68 | // Nicira extension for nsh_c2 (116) |
| 69 | struct of_oxm_nsh_c2 : of_oxm { |
| 70 | uint32_t type_len == 0x0001e804; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 71 | uint32_t value; |
| 72 | }; |
| 73 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 74 | struct of_oxm_nsh_c2_masked : of_oxm { |
| 75 | uint32_t type_len == 0x0001e908; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 76 | uint32_t value; |
| 77 | uint32_t value_mask; |
| 78 | }; |
| 79 | |
| 80 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 81 | // Nicira extension for nsh_c3 (117) |
| 82 | struct of_oxm_nsh_c3 : of_oxm { |
| 83 | uint32_t type_len == 0x0001ea04; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 84 | uint32_t value; |
| 85 | }; |
| 86 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 87 | struct of_oxm_nsh_c3_masked : of_oxm { |
| 88 | uint32_t type_len == 0x0001eb08; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 89 | uint32_t value; |
| 90 | uint32_t value_mask; |
| 91 | }; |
| 92 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 93 | // Nicira extension for nsh_c4 (118) |
| 94 | struct of_oxm_nsh_c4 : of_oxm { |
| 95 | uint32_t type_len == 0x0001ec04; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 96 | uint32_t value; |
| 97 | }; |
| 98 | |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 99 | struct of_oxm_nsh_c4_masked : of_oxm { |
| 100 | uint32_t type_len == 0x0001ed08; |
Phanendra Manda | 4c728b3 | 2015-12-09 23:04:16 +0530 | [diff] [blame] | 101 | uint32_t value; |
| 102 | uint32_t value_mask; |
| 103 | }; |
Phaneendra Manda | adcb3e7 | 2016-05-12 21:53:48 +0530 | [diff] [blame] | 104 | |
| 105 | |
| 106 | // Nicira extension for nsh_mdtype (119) |
| 107 | struct of_oxm_nsh_mdtype : of_oxm { |
| 108 | uint32_t type_len == 0x0001ee01; |
| 109 | uint8_t value; |
| 110 | }; |
| 111 | |
| 112 | struct of_oxm_nsh_mdtype_masked : of_oxm { |
| 113 | uint32_t type_len == 0x0001ef02; |
| 114 | uint8_t value; |
| 115 | uint8_t value_mask; |
| 116 | }; |
| 117 | |
| 118 | |
| 119 | // Nicira extension for nsh_np (120) |
| 120 | struct of_oxm_nsh_np : of_oxm { |
| 121 | uint32_t type_len == 0x0001f001; |
| 122 | uint8_t value; |
| 123 | }; |
| 124 | |
| 125 | struct of_oxm_nsh_np_masked : of_oxm { |
| 126 | uint32_t type_len == 0x0001f102; |
| 127 | uint8_t value; |
| 128 | uint8_t value_mask; |
| 129 | }; |
| 130 | |
| 131 | |
| 132 | // Nicira extension for encap_eth_src (121) |
| 133 | struct of_oxm_encap_eth_src : of_oxm { |
| 134 | uint32_t type_len == 0x0001f206; |
| 135 | of_mac_addr_t value; |
| 136 | }; |
| 137 | |
| 138 | struct of_oxm_encap_eth_src_masked : of_oxm { |
| 139 | uint32_t type_len == 0x0001f30c; |
| 140 | of_mac_addr_t value; |
| 141 | of_mac_addr_t value_mask; |
| 142 | |
| 143 | }; |
| 144 | |
| 145 | |
| 146 | // Nicira extension for encap_eth_dst (122) |
| 147 | struct of_oxm_encap_eth_dst : of_oxm { |
| 148 | uint32_t type_len == 0x0001f406; |
| 149 | of_mac_addr_t value; |
| 150 | }; |
| 151 | |
| 152 | struct of_oxm_encap_eth_dst_masked : of_oxm { |
| 153 | uint32_t type_len == 0x0001f50c; |
| 154 | of_mac_addr_t value; |
| 155 | of_mac_addr_t value_mask; |
| 156 | }; |
| 157 | |
| 158 | |
| 159 | // Nicira extension for encap_eth_type (123) |
| 160 | struct of_oxm_encap_eth_type : of_oxm { |
| 161 | uint32_t type_len == 0x0001f602; |
| 162 | uint16_t value; |
| 163 | }; |
| 164 | |
| 165 | struct of_oxm_encap_eth_type_masked : of_oxm { |
| 166 | uint32_t type_len == 0x0001f704; |
| 167 | uint16_t value; |
| 168 | uint16_t value_mask; |
| 169 | }; |