|
Software TSN Switch
A software switch to connect VMs and Containers to a TSN network
|
Struct to hold information about an interface, inspired by the ietf-interfaces yang model. More...
#include <CncTypes.h>

Public Attributes | |
| int | ifindex |
| std::string | name |
| uint32_t | lastLinkUpdateId |
| uint32_t | lastQdiscUpdateId |
| IfType | type = IfType::ETHERNET |
| bool | adminEnabled = false |
| OperStatus | operStatus = OperStatus::UNKNOWN |
| bool | hasPhysAddr = false |
| std::array< uint8_t, 6 > | physAddress = {0} |
| uint32_t | mtu = 0 |
| uint32_t | numTxQueues = 1 |
| uint32_t | numActiveTxQueues = 1 |
| uint64_t | speed = kInterfaceSpeedUnknown |
| BridgePort_t | bridgePort |
Struct to hold information about an interface, inspired by the ietf-interfaces yang model.
Contains ifindex and name for identification, and more values following the ietf-interfaces model. lastLinkUpdateId and lastQdiscUpdateId contain the sysrepo request-id of the last update of this struct, and are used to ensure refreshes as needed.
| bool ietfInterface_t::adminEnabled = false |
| BridgePort_t ietfInterface_t::bridgePort |
| bool ietfInterface_t::hasPhysAddr = false |
| int ietfInterface_t::ifindex |
| uint32_t ietfInterface_t::lastLinkUpdateId |
| uint32_t ietfInterface_t::lastQdiscUpdateId |
| uint32_t ietfInterface_t::mtu = 0 |
| std::string ietfInterface_t::name |
| uint32_t ietfInterface_t::numActiveTxQueues = 1 |
| uint32_t ietfInterface_t::numTxQueues = 1 |
| OperStatus ietfInterface_t::operStatus = OperStatus::UNKNOWN |
| std::array<uint8_t, 6> ietfInterface_t::physAddress = {0} |
| uint64_t ietfInterface_t::speed = kInterfaceSpeedUnknown |
| IfType ietfInterface_t::type = IfType::ETHERNET |