ZeroSDN Controller  1.0
A modular distributed Software-Defined Network Controller
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros
Port Class Reference

A class, that contains data for a Port. More...

#include <Port.h>

Public Member Functions

 Port (uint32_t switch_port)
 

Public Attributes

uint32_t switch_port
 
uint64_t mac_address
 
std::string port_name
 
uint32_t config
 
uint32_t state
 
uint32_t curr
 
uint32_t advertised
 
uint32_t supported
 
uint32_t peer
 
uint32_t curr_speed
 
uint32_t max_speed
 

Detailed Description

A class, that contains data for a Port.

This Class only Purpose is to contain the information for a Port. A Port always belongs to a Switch.

Author
Sebastian Vogel

Constructor & Destructor Documentation

Port::Port ( uint32_t  switch_port)

Member Data Documentation

uint32_t Port::advertised
uint32_t Port::config
uint32_t Port::curr
uint32_t Port::curr_speed
uint64_t Port::mac_address
uint32_t Port::max_speed
uint32_t Port::peer
std::string Port::port_name
uint32_t Port::state
uint32_t Port::supported
uint32_t Port::switch_port

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