aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index bb107ab675fc..83c851846829 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -697,6 +697,9 @@ static inline void __skb_queue_after(struct sk_buff_head *list,
697 __skb_insert(newsk, prev, prev->next, list); 697 __skb_insert(newsk, prev, prev->next, list);
698} 698}
699 699
700extern void skb_append(struct sk_buff *old, struct sk_buff *newsk,
701 struct sk_buff_head *list);
702
700/** 703/**
701 * __skb_queue_head - queue a buffer at the list head 704 * __skb_queue_head - queue a buffer at the list head
702 * @list: list to use 705 * @list: list to use
@@ -739,15 +742,6 @@ static inline void __skb_queue_tail(struct sk_buff_head *list,
739} 742}
740 743
741/* 744/*
742 * Place a packet after a given packet in a list.
743 */
744extern void skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list);
745static inline void __skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)
746{
747 __skb_insert(newsk, old, old->next, list);
748}
749
750/*
751 * remove sk_buff from list. _Must_ be called atomically, and with 745 * remove sk_buff from list. _Must_ be called atomically, and with
752 * the list known.. 746 * the list known..
753 */ 747 */