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

#include <types.h>

Collaboration diagram for PortAddress_t:
Collaboration graph
[legend]

Public Member Functions

size_t size () const
 
std::string string () const
 
bool operator== (const PortAddress_t &rhs) const
 
bool eq (const PortAddress_t &rhs) const
 
bool operator< (const PortAddress_t &rhs) const
 
bool less (const PortAddress_t &rhs) const
 

Public Attributes

networkProtocol_e networkProtocol
 
UInteger16_t addressLength
 
Binary addressField
 

Detailed Description

PTP port address

Member Function Documentation

◆ eq()

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

Compare to another port address

Parameters
[in]rhsanother port address
Returns
true if addresses are indentical

◆ less()

bool PortAddress_t::less ( const PortAddress_t rhs) const

Compare to another port address

Parameters
[in]rhsanother port address
Returns
true if address is smaller

◆ operator<()

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

Compare to another port address

Parameters
[in]rhsanother port address
Returns
true if address is smaller

◆ operator==()

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

Compare to another port address

Parameters
[in]rhsanother port address
Returns
true if addresses are indentical

◆ size()

size_t PortAddress_t::size ( ) const
inline

Get object size

Returns
object size

◆ string()

std::string PortAddress_t::string ( ) const

Convert to string

Returns
string

Member Data Documentation

◆ addressField

Binary PortAddress_t::addressField

binary from address

◆ addressLength

UInteger16_t PortAddress_t::addressLength

address length

Note
User can ignore the parameter. The user should use the length of addressField. The parameter is used during process.

◆ networkProtocol

networkProtocol_e PortAddress_t::networkProtocol

network protocol


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