Port and its metadata. More...
#include <openflow-interface.h>
Collaboration diagram for ns3::ofi::Port:Public Member Functions | |
| Port () | |
Public Attributes | |
| uint32_t | config |
| Some subset of OFPPC_* flags. More... | |
| unsigned long long int | mpls_ttl0_dropped |
| Ptr< NetDevice > | netdev |
| unsigned long long int | rx_bytes |
| unsigned long long int | rx_packets |
| uint32_t | state |
| Some subset of OFPPS_* flags. More... | |
| unsigned long long int | tx_bytes |
| unsigned long long int | tx_dropped |
| unsigned long long int | tx_packets |
Port and its metadata.
We need to store port metadata, because OpenFlow dictates that there exists a type of request where the Controller asks for data about a port, or multiple ports. Otherwise, we'd refer to it via Ptr<NetDevice> everywhere.
Definition at line 122 of file openflow-interface.h.
|
inline |
Definition at line 124 of file openflow-interface.h.
| uint32_t ns3::ofi::Port::config |
Some subset of OFPPC_* flags.
Definition at line 136 of file openflow-interface.h.
| unsigned long long int ns3::ofi::Port::mpls_ttl0_dropped |
Definition at line 142 of file openflow-interface.h.
Definition at line 138 of file openflow-interface.h.
| unsigned long long int ns3::ofi::Port::rx_bytes |
Definition at line 140 of file openflow-interface.h.
| unsigned long long int ns3::ofi::Port::rx_packets |
Definition at line 139 of file openflow-interface.h.
| uint32_t ns3::ofi::Port::state |
Some subset of OFPPS_* flags.
Definition at line 137 of file openflow-interface.h.
| unsigned long long int ns3::ofi::Port::tx_bytes |
Definition at line 140 of file openflow-interface.h.
| unsigned long long int ns3::ofi::Port::tx_dropped |
Definition at line 141 of file openflow-interface.h.
| unsigned long long int ns3::ofi::Port::tx_packets |
Definition at line 139 of file openflow-interface.h.