libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
#include <types.h>
Public Member Functions | |
MsgParams () | |
void | allowSigTlv (tlvType_e type) |
void | removeSigTlv (tlvType_e type) |
bool | isSigTlv (tlvType_e type) const |
size_t | countSigTlvs () const |
Public Attributes | |
uint8_t | transportSpecific |
uint8_t | domainNumber |
uint8_t | boundaryHops |
uint8_t | minorVersion |
bool | isUnicast |
implementSpecific_e | implementSpecific |
PortIdentity_t | target |
PortIdentity_t | self_id |
bool | useZeroGet |
bool | rcvSignaling |
bool | filterSignaling |
bool | rcvSMPTEOrg |
bool | sendAuth |
uint8_t | rcvAuth |
Fixed values to use in Management messages
MsgParams::MsgParams | ( | ) |
empty constructor
void MsgParams::allowSigTlv | ( | tlvType_e | type | ) |
Add TLV type to allowed signalling filter
[in] | type | of TLV to allowed |
size_t MsgParams::countSigTlvs | ( | ) | const |
Query how many signalling TLVs are allowd in filter
bool MsgParams::isSigTlv | ( | tlvType_e | type | ) | const |
Query if TLV type is allowed signalling filter
[in] | type | of TLV to query |
void MsgParams::removeSigTlv | ( | tlvType_e | type | ) |
Remove TLV type from allowed signalling filter
[in] | type | of TLV to remove |
uint8_t MsgParams::boundaryHops |
boundary hops
uint8_t MsgParams::domainNumber |
domain number
bool MsgParams::filterSignaling |
use filter for signalling messages TLVs
implementSpecific_e MsgParams::implementSpecific |
Implementation-specific to use
bool MsgParams::isUnicast |
Mark message as unicast
uint8_t MsgParams::minorVersion |
PTP minor version (We support 2.x)
uint8_t MsgParams::rcvAuth |
Receive Authentication mode Use values from MsgParams_RcvAuth_e User must call Message::useAuth() to setup the spp pool
bool MsgParams::rcvSignaling |
parse signalling messages
bool MsgParams::rcvSMPTEOrg |
parse SMPTE Organization Extension TLV
PortIdentity_t MsgParams::self_id |
own port ID
bool MsgParams::sendAuth |
Send with Authentication TLV User must call Message::useAuth() to setup the key for send
PortIdentity_t MsgParams::target |
target port ID
uint8_t MsgParams::transportSpecific |
transport specific
bool MsgParams::useZeroGet |
send get with zero dataField