List of sk_buff{}

List of sk_buff
Prototype / Description
__u32 skb_queue_len(const struct sk_buff_head *list_);
get queue length
struct sk_buff *skb_peek(struct sk_buff_head *list);
get pointer to the head element
struct sk_buff *skb_peek_tail(struct sk_buff_head *list);
get pointer to the tail element
Image
skb_list_head{}, skb_peek(), skb_peek_tail(), skb_queue_len()
skb_queue_head()
Prototype
void skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk);
Description
queue a buffer at the list head
Image
skb_queue_head()
skb_queue_tail()
Prototype
void skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk);
Description
queue a buffer at the list tail
Image
skb_queue_tail()
skb_dequeue()
Prototype
struct sk_buff *skb_dequeue(struct sk_buff_head *list);
Description
remove from the head of the queue
Image
skb_dequeue()
skb_dequeue_tail()
Prototype
struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list);
Description
remove from the tail of the queue
Image
skb_dequeue_tail()
skb_insert()
Prototype
void skb_insert(struct sk_buff *old, struct sk_buff *newsk);
Description
insert a buffer
Image
skb_insert()
skb_append()
Prototype
void skb_append(struct sk_buff *old, struct sk_buff *newsk);
Description
append a buffer
Image
skb_append()
Prototype
void skb_unlink(struct sk_buff *skb);
Description
remove a buffer from a list
Image
skb_unlink()