ptp_hdr2uhdr()

Copy header information retrieved from the memory buffer to a PTP header

Synopsis:

#include <qnx/ptp/ptp_mod.h>
void ptp_hdr2uhdr(struct ptp_hdr *hdr,
                  struct ptp_uhdr *uhdr)

Arguments:

hdr
Header returned from ptp_mbuf2hdr().
uhdr
Structure to fill with information from hdr.

Library:

ptp

Description:

The information copied from the header is converted to the host byte order.

Page updated: