Port information from PDPortDataReal (0x020F).
More...
#include <blocks.h>
Port information from PDPortDataReal (0x020F).
Definition at line 118 of file blocks.h.
◆ LinkState()
| std::string profinet::blocks::PortInfo::LinkState |
( |
| ) |
const |
Human-readable name for LinkStateLink.
- Returns
- One of "Up", "Down", "Testing", "Unknown".
Definition at line 92 of file blocks.cpp.
References linkStateLink.
◆ MauTypeName()
| std::string profinet::blocks::PortInfo::MauTypeName |
( |
| ) |
const |
Human-readable name for MauType.
- Returns
- A name such as "100BASE-TX FD".
Definition at line 82 of file blocks.cpp.
References mauType.
◆ operator==()
| bool profinet::blocks::PortInfo::operator== |
( |
const PortInfo & |
| ) |
const |
|
default |
Compares two PortInfo for equality.
Two PortInfo are equal when all scalar configuration fields are equal.
◆ domainBoundary
| std::uint32_t profinet::blocks::PortInfo::domainBoundary = 0 |
Domain boundary flags.
Definition at line 145 of file blocks.h.
◆ linkStateLink
| std::uint8_t profinet::blocks::PortInfo::linkStateLink = 0 |
◆ linkStatePort
| std::uint8_t profinet::blocks::PortInfo::linkStatePort = 0 |
Port-level link state.
Definition at line 133 of file blocks.h.
◆ mauType
| std::uint16_t profinet::blocks::PortInfo::mauType = 0 |
◆ mediaType
| std::uint32_t profinet::blocks::PortInfo::mediaType = 0 |
Media type code.
Definition at line 139 of file blocks.h.
◆ multicastBoundary
| std::uint32_t profinet::blocks::PortInfo::multicastBoundary = 0 |
Multicast boundary flags.
Definition at line 148 of file blocks.h.
◆ peers
| std::vector<PeerInfo> profinet::blocks::PortInfo::peers |
LLDP peers discovered on this port.
Definition at line 142 of file blocks.h.
◆ portId
| std::string profinet::blocks::PortInfo::portId |
◆ slot
| std::uint16_t profinet::blocks::PortInfo::slot = 0 |
◆ subslot
| std::uint16_t profinet::blocks::PortInfo::subslot = 0 |
Subslot number.
Definition at line 124 of file blocks.h.
The documentation for this struct was generated from the following files: