X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-common.h;fp=include%2Fopenflow%2Fopenflow-common.h;h=234bf96ccd5d7cb6d5c5bfa5bc286d9b1c91127a;hb=083761ad8075a36283149e164b54abe4332bd706;hp=a38f1e3ecdd8fc8733c186b22d1e8c02c0520c57;hpb=11bd0a533c6c6753739d7ffbf65e1812e31739dc;p=sliver-openvswitch.git diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h index a38f1e3ec..234bf96cc 100644 --- a/include/openflow/openflow-common.h +++ b/include/openflow/openflow-common.h @@ -465,4 +465,14 @@ struct ofp_vendor_header { }; OFP_ASSERT(sizeof(struct ofp_vendor_header) == 12); +/* Table numbering. Tables can use any number up to OFPT_MAX. */ +enum ofp_table { + /* Last usable table number. */ + OFPTT_MAX = 0xfe, + + /* Fake tables. */ + OFPTT_ALL = 0xff /* Wildcard table used for table config, + flow stats and flow deletes. */ +}; + #endif /* openflow/openflow-common.h */