openflow_input: fix lengths in masked extension OXMs
The other backends don't rely on these lengths which is why this was never
noticed. The C backend relies on them, but used to set the length field for
OXMs itself.
diff --git a/openflow_input/bsn_global_vrf_allowed b/openflow_input/bsn_global_vrf_allowed
index 543c6fd..ee26308 100644
--- a/openflow_input/bsn_global_vrf_allowed
+++ b/openflow_input/bsn_global_vrf_allowed
@@ -41,7 +41,7 @@
};
struct of_oxm_bsn_global_vrf_allowed_masked : of_oxm {
- uint32_t type_len == 0x00030701;
+ uint32_t type_len == 0x00030702;
uint8_t value;
uint8_t value_mask;
};
diff --git a/openflow_input/bsn_in_ports b/openflow_input/bsn_in_ports
index 05003b9..b23df63 100644
--- a/openflow_input/bsn_in_ports
+++ b/openflow_input/bsn_in_ports
@@ -50,7 +50,7 @@
*/
struct of_oxm_bsn_in_ports_128 : of_oxm {
- uint32_t type_len == 0x00030020;
+ uint32_t type_len == 0x00030010;
of_bitmap_128_t value;
};
diff --git a/openflow_input/bsn_l3_dst_class_id b/openflow_input/bsn_l3_dst_class_id
index 385add7..8d324a1 100644
--- a/openflow_input/bsn_l3_dst_class_id
+++ b/openflow_input/bsn_l3_dst_class_id
@@ -41,7 +41,7 @@
};
struct of_oxm_bsn_l3_dst_class_id_masked : of_oxm {
- uint32_t type_len == 0x00030d04;
+ uint32_t type_len == 0x00030d08;
uint32_t value;
uint32_t value_mask;
};
diff --git a/openflow_input/bsn_l3_interface_class_id b/openflow_input/bsn_l3_interface_class_id
index efeb949..80d1e37 100644
--- a/openflow_input/bsn_l3_interface_class_id
+++ b/openflow_input/bsn_l3_interface_class_id
@@ -41,7 +41,7 @@
};
struct of_oxm_bsn_l3_interface_class_id_masked : of_oxm {
- uint32_t type_len == 0x00030904;
+ uint32_t type_len == 0x00030908;
uint32_t value;
uint32_t value_mask;
};
diff --git a/openflow_input/bsn_l3_src_class_id b/openflow_input/bsn_l3_src_class_id
index f18aab9..58f60c6 100644
--- a/openflow_input/bsn_l3_src_class_id
+++ b/openflow_input/bsn_l3_src_class_id
@@ -41,7 +41,7 @@
};
struct of_oxm_bsn_l3_src_class_id_masked : of_oxm {
- uint32_t type_len == 0x00030b04;
+ uint32_t type_len == 0x00030b08;
uint32_t value;
uint32_t value_mask;
};
diff --git a/openflow_input/bsn_lag_id b/openflow_input/bsn_lag_id
index c96c1d6..63645a3 100644
--- a/openflow_input/bsn_lag_id
+++ b/openflow_input/bsn_lag_id
@@ -41,7 +41,7 @@
};
struct of_oxm_bsn_lag_id_masked : of_oxm {
- uint32_t type_len == 0x00030304;
+ uint32_t type_len == 0x00030308;
uint32_t value;
uint32_t value_mask;
};
diff --git a/openflow_input/bsn_vrf b/openflow_input/bsn_vrf
index 3641faa..26959bd 100644
--- a/openflow_input/bsn_vrf
+++ b/openflow_input/bsn_vrf
@@ -41,7 +41,7 @@
};
struct of_oxm_bsn_vrf_masked : of_oxm {
- uint32_t type_len == 0x00030504;
+ uint32_t type_len == 0x00030508;
uint32_t value;
uint32_t value_mask;
};