Name

skb_set_timestamp — set timestamp of a skb

Synopsis

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

Description

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.