sock_tx_timestamp(9) checks whether the outgoing packet is to be time stamped

SYNOPSIS

void sock_tx_timestamp(const struct sock * sk, __u16 tsflags, __u8 * tx_flags);

ARGUMENTS

sk

socket sending this packet

tsflags

timestamping flags to use

tx_flags

completed with instructions for time stamping

NOTE

callers should take care of initial *tx_flags value (usually 0)

COPYRIGHT