ptp_txfinish()
Return a packet's Tx timestamp
Synopsis:
#include <qnx/ptp/ptp_mod.h>int ptp_txfinish(struct ptp_ctx *ctx,
struct mbuf *m,
struct ptp_time *ptp_time)Arguments:
- ctx
- The driver's PTP context.
- m
- The
mbufcontaining the packet. - ptp_time
- The timestamp returned by the driver.
Library:
ptpDescription:
Used to return a Tx timestamp to the requestor through its associated mbuf, which contains the packet that was timestamped. This mbuf MUST be the packet header, and contain MTAG_PTP_TX_TSTMP in its tags.
Returns:
EOK on success, !EOK otherwise.
Page updated:
