gPTP Documentation
|
#include <ipcdef.hpp>
Public Member Functions | |
bool | operator== (const PeerAddr &other) const |
Implements the operator '==' overloading method. More... | |
bool | operator< (const PeerAddr &other) const |
Implements the operator '<' overloading method. More... | |
Public Attributes | |
AddrWhich | which |
union { | |
uint8_t mac [ETHER_ADDR_OCTETS] | |
uint8_t ip [IP_ADDR_OCTETS] | |
}; | |
Provides an interface for Peer addresses
|
inline |
Implements the operator '<' overloading method.
other | Reference to the peer addresses to be compared. |
|
inline |
Implements the operator '==' overloading method.
other | [in] Reference to the peer addresses |
union { ... } |
shared memory between mac and ip addresses
uint8_t PeerAddr::ip[IP_ADDR_OCTETS] |
IP Address
uint8_t PeerAddr::mac[ETHER_ADDR_OCTETS] |
Link Layer address
AddrWhich PeerAddr::which |
Peer address