diff options
author | Ben Pfaff <blp@nicira.com> | 2012-06-12 00:27:35 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-30 21:09:25 -0700 |
commit | aa319503aa099030d4e4796710b0ebace8907f2b (patch) | |
tree | e1943f43a559629cbf52051ffa2e215756cfc24f /include/openflow/openflow-common.h | |
parent | 358058064ba6544c9d310c78859b02a42e09f76b (diff) | |
download | openvswitch-aa319503aa099030d4e4796710b0ebace8907f2b.tar.gz |
ofp-util: Work on decoding OF1.1 flow_mods.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Tested-by: Simon Horman <horms@verge.net.au>
Reviewed-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/openflow/openflow-common.h')
-rw-r--r-- | include/openflow/openflow-common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h index 4ab378046..202ba1ed6 100644 --- a/include/openflow/openflow-common.h +++ b/include/openflow/openflow-common.h @@ -322,4 +322,14 @@ enum ofp_match_type { OFPMT_OXM = 1, /* OpenFlow Extensible Match */ }; +/* Group numbering. Groups can use any number up to OFPG_MAX. */ +enum ofp_group { + /* Last usable group number. */ + OFPG_MAX = 0xffffff00, + + /* Fake groups. */ + OFPG_ALL = 0xfffffffc, /* All groups, for group delete commands. */ + OFPG_ANY = 0xffffffff /* Wildcard, for flow stats requests. */ +}; + #endif /* openflow/openflow-common.h */ |