bmv2
Designing your own switch target with bmv2
|
Used by DevMgr to monitor the ports attached to the switch. More...
Public Types | |
enum | PortStatus |
Represents the status of a port. More... | |
using | port_t = uint32_t |
Representation of a port number. More... | |
using | PortStatusCb = std::function< void(port_t port_num, const PortStatus status)> |
Signature of the cb function to call when a port status changes. More... | |
Used by DevMgr to monitor the ports attached to the switch.
using bm::PortMonitorIface::port_t = uint32_t |
Representation of a port number.
using bm::PortMonitorIface::PortStatusCb = std::function<void(port_t port_num, const PortStatus status)> |
Signature of the cb function to call when a port status changes.
|
strong |
Represents the status of a port.