libfluid
The ONF OpenFlow driver
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fluid_msg::of13::OXMTLV Class Reference
Inheritance diagram for fluid_msg::of13::OXMTLV:
fluid_msg::of13::ARPOp fluid_msg::of13::ARPSHA fluid_msg::of13::ARPSPA fluid_msg::of13::ARPTHA fluid_msg::of13::ARPTPA fluid_msg::of13::EthDst fluid_msg::of13::EthSrc fluid_msg::of13::EthType fluid_msg::of13::ICMPv4Code fluid_msg::of13::ICMPv4Type fluid_msg::of13::ICMPv6Code fluid_msg::of13::ICMPv6Type fluid_msg::of13::InPhyPort fluid_msg::of13::InPort fluid_msg::of13::IPDSCP fluid_msg::of13::IPECN fluid_msg::of13::IPProto fluid_msg::of13::IPv4Dst fluid_msg::of13::IPv4Src fluid_msg::of13::IPv6Dst fluid_msg::of13::IPv6Exthdr fluid_msg::of13::IPV6Flabel fluid_msg::of13::IPv6NDSLL fluid_msg::of13::IPv6NDTarget fluid_msg::of13::IPv6NDTLL fluid_msg::of13::IPv6Src fluid_msg::of13::Metadata fluid_msg::of13::MPLSBOS fluid_msg::of13::MPLSLabel fluid_msg::of13::MPLSTC fluid_msg::of13::PBBIsid fluid_msg::of13::SCTPDst fluid_msg::of13::SCTPSrc fluid_msg::of13::TCPDst fluid_msg::of13::TCPSrc fluid_msg::of13::TUNNELId fluid_msg::of13::UDPDst fluid_msg::of13::UDPSrc fluid_msg::of13::VLANPcp fluid_msg::of13::VLANVid

Public Member Functions

 OXMTLV (uint16_t class_, uint8_t field, bool has_mask, uint8_t length)
 
virtual bool equals (const OXMTLV &other)
 
virtual bool operator== (const OXMTLV &other) const
 
virtual bool operator!= (const OXMTLV &other) const
 
virtual OXMTLVoperator= (const OXMTLV &field)
 
virtual OXMTLVclone ()
 
virtual size_t pack (uint8_t *buffer)
 
virtual of_error unpack (uint8_t *buffer)
 
uint16_t class_ ()
 
uint8_t field ()
 
bool has_mask ()
 
uint8_t length ()
 
struct oxm_req oxm_reqs ()
 
void class_ (uint16_t class_)
 
void field (uint8_t field)
 
void has_mask (bool has_mask)
 
void length (uint8_t length)
 

Static Public Member Functions

static uint32_t make_header (uint16_t class_, uint8_t field, bool has_mask, uint8_t length)
 
static uint16_t oxm_class (uint32_t header)
 
static uint8_t oxm_field (uint32_t header)
 
static bool oxm_has_mask (uint32_t header)
 
static uint8_t oxm_length (uint32_t header)
 

Protected Member Functions

void create_oxm_req (uint16_t eth_type1, uint16_t eth_type2, uint8_t ip_proto, uint8_t icmp)
 

Protected Attributes

uint16_t class__
 
uint8_t field_
 
bool has_mask_
 
uint8_t length_
 
struct oxm_req reqs
 

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