summaryrefslogtreecommitdiff
path: root/include/openflow/openflow-1.5.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-01-20 09:05:15 -0800
committerBen Pfaff <blp@ovn.org>2016-01-20 09:06:29 -0800
commitb611d3acad951f4309ee7ac9ac802741102db6f0 (patch)
treec5d90f705d90ced92ae7e1c7218a74ffddfa1937 /include/openflow/openflow-1.5.h
parent34a543e3223922a3bf4a8db1e670dc9d3fa78f07 (diff)
downloadopenvswitch-b611d3acad951f4309ee7ac9ac802741102db6f0.tar.gz
ofp-prop: Add generic functions for working with 16- and 32-bit properties.
These will see increasing use in upcoming commits. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
Diffstat (limited to 'include/openflow/openflow-1.5.h')
-rw-r--r--include/openflow/openflow-1.5.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/openflow/openflow-1.5.h b/include/openflow/openflow-1.5.h
index b3deb2d27..0c478d1f0 100644
--- a/include/openflow/openflow-1.5.h
+++ b/include/openflow/openflow-1.5.h
@@ -69,24 +69,6 @@ enum ofp15_group_bucket_prop_type {
OFPGBPT15_EXPERIMENTER = 0xFFFF, /* Experimenter defined. */
};
-/* Group bucket weight property, for select groups only. */
-struct ofp15_group_bucket_prop_weight {
- ovs_be16 type; /* OFPGBPT15_WEIGHT. */
- ovs_be16 length; /* 8. */
- ovs_be16 weight; /* Relative weight of bucket. */
- uint8_t pad[2]; /* Pad to 64 bits. */
-};
-OFP_ASSERT(sizeof(struct ofp15_group_bucket_prop_weight) == 8);
-
-/* Group bucket watch port or watch group property, for fast failover groups
- * only. */
-struct ofp15_group_bucket_prop_watch {
- ovs_be16 type; /* OFPGBPT15_WATCH_PORT or OFPGBPT15_WATCH_GROUP. */
- ovs_be16 length; /* 8. */
- ovs_be32 watch; /* The port or the group. */
-};
-OFP_ASSERT(sizeof(struct ofp15_group_bucket_prop_watch) == 8);
-
/* Bucket for use in groups. */
struct ofp15_bucket {
ovs_be16 len; /* Length the bucket in bytes, including