Name

skb_insert — insert a buffer

Synopsis

void skb_insert (struct sk_buff * old,
 struct sk_buff * newsk,
 struct sk_buff_head * list);
 

Arguments

struct sk_buff * old

buffer to insert before

struct sk_buff * newsk

buffer to insert

struct sk_buff_head * list

list to use

Description

Place a packet before a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls.

A buffer cannot be placed on two lists at the same time.