---
name: "skb_get_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_get_timestamp"
---

# skb\_get\_timestamp(9)

get timestamp from a skb

## NAME

skb\_get\_timestamp - get timestamp from a skb

## SYNOPSIS

**void skb\_get\_timestamp(const struct sk\_buff \*** *skb***, struct timeval \*** *stamp***);**

## ARGUMENTS

*skb*

skb to get stamp from

*stamp*

pointer to struct timeval to store stamp in

## DESCRIPTION

Timestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.

## COPYRIGHT
