skb_tx_timestamp(9)

skb_tx_timestamp9

Driver hook for transmit timestamping

Usage

void skb_tx_timestamp(struct sk_buff * skb);

Arguments

skb

A socket buffer.

Overview

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.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.