Change type of IP values from uint32_t to of_ipv4_t in NXMs, which does fix the Java unit test errors.
diff --git a/openflow_input/oxm_nicira_tun b/openflow_input/oxm_nicira_tun
index 85a51d1..408f63e 100644
--- a/openflow_input/oxm_nicira_tun
+++ b/openflow_input/oxm_nicira_tun
@@ -32,23 +32,23 @@
// Nicira extension for tun_ipv4_src (31)
struct of_oxm_tunnel_ipv4_src : of_oxm {
uint32_t type_len == 0x00013e04;
- uint32_t value;
+ of_ipv4_t value;
};
struct of_oxm_tunnel_ipv4_src_masked : of_oxm {
uint32_t type_len == 0x00013f08;
- uint32_t value;
- uint32_t value_mask;
+ of_ipv4_t value;
+ of_ipv4_t value_mask;
};
// Nicira extension for tun_ipv4_dst (32)
struct of_oxm_tunnel_ipv4_dst : of_oxm {
uint32_t type_len == 0x00014004;
- uint32_t value;
+ of_ipv4_t value;
};
struct of_oxm_tunnel_ipv4_dst_masked : of_oxm {
uint32_t type_len == 0x00014108;
- uint32_t value;
- uint32_t value_mask;
+ of_ipv4_t value;
+ of_ipv4_t value_mask;
};