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