This allows reducing pointer casting when individual bytes of mf_value
are accessed.  First users are in the following patches.

Signed-off-by: Jarno Rajahalme <ja...@ovn.org>
---
 include/openvswitch/meta-flow.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/openvswitch/meta-flow.h b/include/openvswitch/meta-flow.h
index 196868a..533a4e6 100644
--- a/include/openvswitch/meta-flow.h
+++ b/include/openvswitch/meta-flow.h
@@ -1954,6 +1954,7 @@ struct mf_field {
 
 /* The representation of a field's value. */
 union mf_value {
+    uint8_t b[128];
     uint8_t tun_metadata[128];
     struct in6_addr ipv6;
     struct eth_addr mac;
-- 
2.1.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to