|
SatCat5
|
Struct used for sourcePortIdentity and requestingPortIdentity.
These fields uniquely identify a clock and port in a PTP subnet. The 10-byte portIdentity structure is defined in Section 7.5.2.1.
Definition at line 17 of file ptp_header.h.
#include <ptp_header.h>
Public Member Functions | |
| PortId (const PortId &t)=default | |
| PortId & | operator= (const PortId &t)=default |
| bool | operator== (const PortId &other) const |
| Equality check. | |
| void | log_to (satcat5::log::LogBuffer &wr) const |
| Log human-readable information about this port-identity. | |
| bool | read_from (satcat5::io::Readable *rd) |
| Read port-identifier from a given source. | |
| void | write_to (satcat5::io::Writeable *wr) const |
| Write port-identifier to the given sink. | |
Public Attributes | |
| u64 | clock_id |
| Clock identifier. | |
| u16 | port_num |
| Port number. | |