libfluid
The ONF OpenFlow driver
Public Member Functions | List of all members
fluid_msg::of10::PortMod Class Reference

#include <of10msg.hh>

Inheritance diagram for fluid_msg::of10::PortMod:
fluid_msg::PortModCommon fluid_msg::OFMsg

Public Member Functions

 PortMod (uint32_t xid, uint16_t port_no, EthAddress hw_addr, uint32_t config, uint32_t mask, uint32_t advertise)
 
bool operator== (const PortMod &other) const
 
bool operator!= (const PortMod &other) const
 
uint8_t * pack ()
 
of_error unpack (uint8_t *buffer)
 
uint16_t port_no ()
 
void port_no (uint16_t port_no)
 
- Public Member Functions inherited from fluid_msg::PortModCommon
 PortModCommon (uint8_t version, uint8_t type)
 
 PortModCommon (uint8_t version, uint8_t type, uint32_t xid, EthAddress hw_addr, uint32_t config, uint32_t mask, uint32_t advertise)
 
bool operator== (const PortModCommon &other) const
 
bool operator!= (const PortModCommon &other) const
 
EthAddress hw_addr ()
 
uint32_t config ()
 
uint32_t mask ()
 
uint32_t advertise ()
 
void hw_addr (EthAddress hw_addr)
 
void config (uint32_t config)
 
void mask (uint32_t mask)
 
void advertise (uint32_t advertise)
 
- Public Member Functions inherited from fluid_msg::OFMsg
 OFMsg (uint8_t version, uint8_t type)
 
 OFMsg (uint8_t version, uint8_t type, uint32_t xid)
 
 OFMsg (uint8_t *buffer)
 
bool operator== (const OFMsg &other) const
 
bool operator!= (const OFMsg &other) const
 
uint8_t version ()
 
uint8_t type ()
 
virtual uint16_t length ()
 
uint32_t xid ()
 
void version (uint8_t version)
 
void msg_type (uint8_t type)
 
void length (uint16_t length)
 
void xid (uint32_t xid)
 

Additional Inherited Members

- Static Public Member Functions inherited from fluid_msg::OFMsg
static void free_buffer (uint8_t *buffer)
 
- Protected Attributes inherited from fluid_msg::PortModCommon
EthAddress hw_addr_
 
uint32_t config_
 
uint32_t mask_
 
uint32_t advertise_
 

Detailed Description

OpenFlow 1.0 OFPT_PORT_MOD message.


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