csum: Avoid misaligned data access.
[openvswitch] / lib / ofp-util.h
index 6f8c2594f6b5b17d7019264b553403cdcb83e362..3467366efc1671fa6abd41b2e8e74b2a9404cb9b 100644 (file)
@@ -26,6 +26,9 @@
 struct ofpbuf;
 struct ofp_action_header;
 
+/* Alignment of ofp_actions. */
+#define OFP_ACTION_ALIGN 8
+
 /* OpenFlow protocol utility functions. */
 void *make_openflow(size_t openflow_len, uint8_t type, struct ofpbuf **);
 void *make_nxmsg(size_t openflow_len, uint32_t subtype, struct ofpbuf **);