Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Public Member Functions | Friends | List of all members
rofl::openflow::coxmatches Class Reference

#include <coxmatches.h>

Public Member Functions

 coxmatches (coxmatches const &oxms)
 
coxmatchesoperator= (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
 
coxmatchadd_match (coxmatch const &oxm)
 
coxmatchadd_match (uint32_t oxm_id)
 
void drop_match (uint32_t oxm_id)
 
coxmatchset_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)
 

Detailed Description

this class contains a list of Openflow eXtensible Matches (OXM) it does not contain a full struct ofp_match, see class cofmatch for this


The documentation for this class was generated from the following files: