skb_tx_timestamp
Prev | Socket Buffer Functions | Next

## Name

skb_tx_timestamp — Driver hook for transmit timestamping

## Synopsis

`void skb_tx_timestamp (` | struct sk_buff * skb`)`;

## Arguments

`skb`

  A socket buffer.

## Description

Ethernet MAC Drivers should call this function in their `hard_xmit` function immediately before giving the sk_buff to the MAC hardware.

Specifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.

Prev | Up | Next
skb_complete_tx_timestamp | Home | skb_checksum_complete