DCMD_PTPD_SEND_SIGNALING_MSG
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Send a signaling message
Synopsis:
#include <dcmd_ptpd.h>
#define DCMD_PTPD_SEND_SIGNALING_MSG   __DION(_DCMD_NET, 16 )
Arguments to devctl():
| Argument | Value | 
|---|---|
| filedes | A file descriptor that you obtained by opening /dev/ptpd | 
| dcmd | DCMD_PTPD_SEND_SIGNALING_MSG | 
| dev_data_ptr | NULL | 
| n_bytes | 0 | 
| dev_info_ptr | NULL | 
Description:
This command sends a signaling message for the Precision Time Protocol.
Note: 
 To use this command, you must specify the -K option when you start
          ptpd2. 
Input:
None.
Output:
None.
Example:
if(devctl(fd, DCMD_PTPD_SEND_SIGNALING_MSG, NULL, 0, NULL) != EOK)
{
   /* Error */
}
See also:
DCMD_PTPD_DELAYMS, DCMD_PTPD_DELAYSM, DCMD_PTPD_GET_PDELAY_INTERVAL, DCMD_PTPD_GET_TAI_UTC_OFFSET, DCMD_PTPD_GET_TIME, DCMD_PTPD_INFO, DCMD_PTPD_SET_PDELAY_INTERVAL, DCMD_PTPD_STATUS
devctl() in the QNX OS C Library Reference
ptpd2 in the Utilities Reference
Page updated: 
