#include <coxmatches.h>
Public Member Functions | |
| coxmatches (coxmatches const &oxms) | |
| coxmatches & | operator= (coxmatches const &oxms) |
| bool | operator== (coxmatches const &oxms) const |
| virtual size_t | length () const |
| virtual void | unpack (uint8_t *buf, size_t buflen) |
| virtual void | pack (uint8_t *buf, size_t buflen) |
| std::map< uint32_t, coxmatch > & | set_matches () |
|
std::map< uint32_t, coxmatch > const & | get_matches () const |
| coxmatch & | add_match (coxmatch const &oxm) |
| coxmatch & | add_match (uint32_t oxm_id) |
| void | drop_match (uint32_t oxm_id) |
| coxmatch & | set_match (uint32_t oxm_id) |
| coxmatch const & | get_match (uint32_t oxm_id) const |
| bool | has_match (uint32_t oxm_id) const |
| void | clear () |
| bool | contains (coxmatches const &matches, bool strict=false) |
| bool | is_part_of (coxmatches const &matches, uint16_t &exact_hits, uint16_t &wildcard_hits, uint16_t &missed) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, coxmatches const &oxl) |
this class contains a list of Openflow eXtensible Matches (OXM) it does not contain a full struct ofp_match, see class cofmatch for this
1.8.6