---
name: "skb_tx_timestamp"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_tx_timestamp"
---

# skb\_tx\_timestamp(9)

Driver hook for transmit timestamping

## 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.

## COPYRIGHT
