libptpmgmt  1.4
libptpmgmt library that provides the functionality of linuxptp pmc
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PortIdentity_t Struct Reference

#include <types.h>

Collaboration diagram for PortIdentity_t:
Collaboration graph
[legend]

Public Member Functions

std::string string () const
 
void clear ()
 
bool operator== (const PortIdentity_t &rhs) const
 
bool eq (const PortIdentity_t &rhs) const
 
bool operator< (const PortIdentity_t &rhs) const
 
bool less (const PortIdentity_t &rhs) const
 

Static Public Member Functions

static size_t size ()
 

Public Attributes

ClockIdentity_t clockIdentity
 
UInteger16_t portNumber
 

Detailed Description

PTP port ID

Member Function Documentation

◆ clear()

void PortIdentity_t::clear ( )
inline

Clear port ID and set all octets to val

◆ eq()

bool PortIdentity_t::eq ( const PortIdentity_t rhs) const
inline

Compare to another port ID

Parameters
[in]rhsanother port id
Returns
true if IDs are indentical

◆ less()

bool PortIdentity_t::less ( const PortIdentity_t rhs) const

Compare to another port ID

Parameters
[in]rhsanother port id
Returns
true if ID is smaller

◆ operator<()

bool PortIdentity_t::operator< ( const PortIdentity_t rhs) const
inline

Compare to another port ID

Parameters
[in]rhsanother port id
Returns
true if ID is smaller

◆ operator==()

bool PortIdentity_t::operator== ( const PortIdentity_t rhs) const
inline

Compare to another port ID

Parameters
[in]rhsanother port id
Returns
true if IDs are indentical

◆ size()

static size_t PortIdentity_t::size ( )
inlinestatic

Get object size

Returns
object size

◆ string()

std::string PortIdentity_t::string ( ) const

Convert to string

Returns
string

Member Data Documentation

◆ clockIdentity

ClockIdentity_t PortIdentity_t::clockIdentity

clock ID

◆ portNumber

UInteger16_t PortIdentity_t::portNumber

port number


The documentation for this struct was generated from the following file: