Skip to content

Commit

Permalink
ofproto: Add enum ofp_group_capabilities
Browse files Browse the repository at this point in the history
These values will be used by subsequent patches

Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
horms authored and blp committed Nov 2, 2013
1 parent ddc627a commit f2e99d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/openflow/openflow-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,14 @@ enum ofp_group {
OFPG_ANY = 0xffffffff /* Wildcard, for flow stats requests. */
};

/* Group configuration flags */
enum ofp_group_capabilities {
OFPGFC_SELECT_WEIGHT = 1 << 0, /* Support weight for select groups */
OFPGFC_SELECT_LIVENESS = 1 << 1, /* Support liveness for select groups */
OFPGFC_CHAINING = 1 << 2, /* Support chaining groups */
OFPGFC_CHAINING_CHECKS = 1 << 3, /* Check chaining for loops and delete */
};

enum ofp_hello_elem_type {
OFPHET_VERSIONBITMAP = 1, /* Bitmap of version supported. */
};
Expand Down

0 comments on commit f2e99d5

Please sign in to comment.