skb_set_timestamp(9)

skb_set_timestamp9

Set timestamp of a skb

Usage

void skb_set_timestamp(struct sk_buff * skb, const struct timeval * stamp);

Arguments

skb

skb to set stamp of

stamp

pointer to struct timeval to get stamp from

Overview

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

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.