libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
Messages dispatcher for C. More...
#include "c/callDef.h"
Go to the source code of this file.
Functions | |
void | ptpmgmt_callHadler (void *cookie, const_ptpmgmt_dispatcher d, ptpmgmt_msg msg) |
void | ptpmgmt_callHadler_tlv (void *cookie, const_ptpmgmt_dispatcher d, ptpmgmt_msg msg, enum ptpmgmt_mng_vals_e tlv_id, const void *tlv) |
Messages dispatcher for C.
void ptpmgmt_callHadler | ( | void * | cookie, |
const_ptpmgmt_dispatcher | d, | ||
ptpmgmt_msg | msg | ||
) |
Call handler based on Message last received message
[in] | cookie | user cookie passed to user callback |
[in] | d | pointer to structure with the callbacks |
[in] | msg | pointer to message object wrapper |
void ptpmgmt_callHadler_tlv | ( | void * | cookie, |
const_ptpmgmt_dispatcher | d, | ||
ptpmgmt_msg | msg, | ||
enum ptpmgmt_mng_vals_e | tlv_id, | ||
const void * | tlv | ||
) |
Call handler based on supplied TLV
[in] | cookie | user cookie passed to user callback |
[in] | d | pointer to structure with the callbacks |
[in] | msg | pointer to message object wrapper |
[in] | tlv_id | TLV ID |
[in] | tlv | pointer to a TLV of TLV ID |