libfluid
The ONF OpenFlow driver
Public Member Functions | List of all members
fluid_msg::of10::Port Class Reference
Inheritance diagram for fluid_msg::of10::Port:
fluid_msg::PortCommon

Public Member Functions

 Port (uint16_t port_no, EthAddress hw_addr, std::string name, uint32_t config, uint32_t state, uint32_t curr, uint32_t advertised, uint32_t supported, uint32_t peer)
 
bool operator== (const Port &other) const
 
bool operator!= (const Port &other) const
 
size_t pack (uint8_t *buffer)
 
of_error unpack (uint8_t *buffer)
 
void port_no (uint16_t port_no)
 
uint16_t port_no ()
 
- Public Member Functions inherited from fluid_msg::PortCommon
 PortCommon (EthAddress hw_addr, std::string name, uint32_t config, uint32_t state, uint32_t curr, uint32_t advertised, uint32_t supported, uint32_t peer)
 
bool operator== (const PortCommon &other) const
 
bool operator!= (const PortCommon &other) const
 
EthAddress hw_addr ()
 
std::string name ()
 
uint32_t config ()
 
uint32_t state ()
 
uint32_t curr ()
 
uint32_t advertised ()
 
uint32_t supported ()
 
uint32_t peer ()
 
void hw_addr (EthAddress hw_addr)
 
void name (std::string name)
 
void config (uint32_t config)
 
void state (uint32_t state)
 
void curr (uint32_t curr)
 
void advertised (uint32_t advertised)
 
void supported (uint32_t supported)
 
void peer (uint32_t peer)
 

Additional Inherited Members

- Protected Attributes inherited from fluid_msg::PortCommon
EthAddress hw_addr_
 
std::string name_
 
uint32_t config_
 
uint32_t state_
 
uint32_t curr_
 
uint32_t advertised_
 
uint32_t supported_
 
uint32_t peer_
 

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