INtime SDK Help
hpe1588ExtractTimestamp
INtime SDK v7.1 > About INtime > Networking and I/O > High-Performance Ethernet > hpe1588ExtractTimestamp

Extract a 1588 timestamp from a buffer. The timestamp is assumed to be in network byte order and is converted to host byte order.

void hpe1588ExtractTimestamp(
    void *pktbuf, 
    HPE_1588_TIMESTAMP *rxts
);

Parameters

pktbuf
A pointer to the beginning of a 1588 timestamp within a data buffer.
rxts
A pointer to an HPE_1588_TIMESTAMP structure to receive the timestamp.

Return Values

None

Requirements

Versions Defined in Include Link to
INtime 7.1 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also