Lines Matching refs:sk_buff

106 			struct sk_buff		*next;
107 struct sk_buff *prev;
110 struct sk_buff *next;
111 struct sk_buff *prev;
142 struct sk_buff *frag_list;
146 struct sk_buff { struct
151 struct sk_buff *next; argument
152 struct sk_buff *prev;
197 struct sk_buff *linuxkpi_alloc_skb(size_t, gfp_t); argument
198 struct sk_buff *linuxkpi_dev_alloc_skb(size_t, gfp_t);
199 struct sk_buff *linuxkpi_build_skb(void *, size_t);
200 void linuxkpi_kfree_skb(struct sk_buff *);
202 struct sk_buff *linuxkpi_skb_copy(struct sk_buff *, gfp_t);
206 static inline struct sk_buff *
209 struct sk_buff *skb; in alloc_skb()
216 static inline struct sk_buff *
219 struct sk_buff *skb; in __dev_alloc_skb()
227 static inline struct sk_buff *
230 struct sk_buff *skb; in dev_alloc_skb()
239 kfree_skb(struct sk_buff *skb) in kfree_skb()
246 dev_kfree_skb(struct sk_buff *skb) in dev_kfree_skb()
253 dev_kfree_skb_any(struct sk_buff *skb) in dev_kfree_skb_any()
260 dev_kfree_skb_irq(struct sk_buff *skb) in dev_kfree_skb_irq()
267 static inline struct sk_buff *
270 struct sk_buff *skb; in build_skb()
285 skb_reserve(struct sk_buff *skb, size_t len) in skb_reserve()
306 __skb_push(struct sk_buff *skb, size_t len) in __skb_push()
317 skb_push(struct sk_buff *skb, size_t len) in skb_push()
328 skb_headlen(struct sk_buff *skb) in skb_headlen()
338 skb_tail_pointer(struct sk_buff *skb) in skb_tail_pointer()
347 skb_tailroom(struct sk_buff *skb) in skb_tailroom()
358 skb_headroom(struct sk_buff *skb) in skb_headroom()
372 __skb_put(struct sk_buff *skb, size_t len) in __skb_put()
396 skb_put(struct sk_buff *skb, size_t len) in skb_put()
405 skb_put_data(struct sk_buff *skb, const void *buf, size_t len) in skb_put_data()
419 skb_put_zero(struct sk_buff *skb, size_t len) in skb_put_zero()
436 skb_pull(struct sk_buff *skb, size_t len) in skb_pull()
453 __skb_trim(struct sk_buff *skb, unsigned int len) in __skb_trim()
465 skb_trim(struct sk_buff *skb, unsigned int len) in skb_trim()
472 skb_shinfo(struct sk_buff *skb) in skb_shinfo()
480 skb_add_rx_frag(struct sk_buff *skb, int fragno, struct page *page, in skb_add_rx_frag()
513 for ((skb) = (_q)->next; (skb) != (struct sk_buff *)(_q); \
518 (skb) != (struct sk_buff *)(_q); (skb) = (tmp), (tmp) = (skb)->next)
532 q->prev = q->next = (struct sk_buff *)q; in __skb_queue_head_init()
544 __skb_insert(struct sk_buff *new, struct sk_buff *prev, struct sk_buff *next, in __skb_insert()
557 __skb_queue_after(struct sk_buff_head *q, struct sk_buff *skb, in __skb_queue_after()
558 struct sk_buff *new) in __skb_queue_after()
566 __skb_queue_before(struct sk_buff_head *q, struct sk_buff *skb, in __skb_queue_before()
567 struct sk_buff *new) in __skb_queue_before()
575 __skb_queue_tail(struct sk_buff_head *q, struct sk_buff *new) in __skb_queue_tail()
579 __skb_queue_before(q, (struct sk_buff *)q, new); in __skb_queue_tail()
583 skb_queue_tail(struct sk_buff_head *q, struct sk_buff *new) in skb_queue_tail()
589 static inline struct sk_buff *
592 struct sk_buff *skb; in skb_peek()
596 if (skb == (struct sk_buff *)q) in skb_peek()
601 static inline struct sk_buff *
604 struct sk_buff *skb; in skb_peek_tail()
608 if (skb == (struct sk_buff *)q) in skb_peek_tail()
614 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *head) in __skb_unlink()
617 struct sk_buff *p, *n; in __skb_unlink()
628 skb_unlink(struct sk_buff *skb, struct sk_buff_head *head) in skb_unlink()
634 static inline struct sk_buff *
637 struct sk_buff *skb; in __skb_dequeue()
641 if (skb == (struct sk_buff *)q) in __skb_dequeue()
649 static inline struct sk_buff *
656 static inline struct sk_buff *
659 struct sk_buff *skb; in skb_dequeue_tail()
670 __skb_queue_head(struct sk_buff_head *q, struct sk_buff *skb) in __skb_queue_head()
674 __skb_queue_after(q, (struct sk_buff *)q, skb); in __skb_queue_head()
678 skb_queue_head(struct sk_buff_head *q, struct sk_buff *skb) in skb_queue_head()
682 __skb_queue_after(q, (struct sk_buff *)q, skb); in skb_queue_head()
704 struct sk_buff *skb; in __skb_queue_purge()
718 static inline struct sk_buff *
719 skb_queue_prev(struct sk_buff_head *q, struct sk_buff *skb) in skb_queue_prev()
729 static inline struct sk_buff *
730 skb_copy(struct sk_buff *skb, gfp_t gfp) in skb_copy()
732 struct sk_buff *new; in skb_copy()
740 consume_skb(struct sk_buff *skb) in consume_skb()
747 skb_checksum(struct sk_buff *skb, int offs, size_t len, int x) in skb_checksum()
755 skb_checksum_start_offset(struct sk_buff *skb) in skb_checksum_start_offset()
783 skb_checksum_help(struct sk_buff *skb) in skb_checksum_help()
790 skb_ensure_writable(struct sk_buff *skb, size_t off) in skb_ensure_writable()
812 static inline struct sk_buff *
813 skb_gso_segment(struct sk_buff *skb, netdev_features_t netdev_flags) in skb_gso_segment()
821 skb_is_gso(struct sk_buff *skb) in skb_is_gso()
829 skb_mark_not_on_list(struct sk_buff *skb) in skb_mark_not_on_list()
837 struct sk_buff *p, struct sk_buff *n) in ___skb_queue_splice()
839 struct sk_buff *b, *e; in ___skb_queue_splice()
859 ___skb_queue_splice(from, (struct sk_buff *)to, to->next); in skb_queue_splice_init()
873 ___skb_queue_splice(from, to->prev, (struct sk_buff *)to); in skb_queue_splice_tail_init()
879 skb_reset_transport_header(struct sk_buff *skb) in skb_reset_transport_header()
887 skb_transport_header(struct sk_buff *skb) in skb_transport_header()
895 skb_network_header(struct sk_buff *skb) in skb_network_header()
903 skb_is_nonlinear(struct sk_buff *skb) in skb_is_nonlinear()
910 __skb_linearize(struct sk_buff *skb) in __skb_linearize()
918 skb_linearize(struct sk_buff *skb) in skb_linearize()
925 pskb_expand_head(struct sk_buff *skb, int x, int len, gfp_t gfp) in pskb_expand_head()
934 skb_set_queue_mapping(struct sk_buff *skb, uint16_t qmap) in skb_set_queue_mapping()
942 skb_get_queue_mapping(struct sk_buff *skb) in skb_get_queue_mapping()
950 skb_header_cloned(struct sk_buff *skb) in skb_header_cloned()
958 skb_mac_header(const struct sk_buff *skb) in skb_mac_header()
965 skb_reset_mac_header(struct sk_buff *skb) in skb_reset_mac_header()
972 skb_set_mac_header(struct sk_buff *skb, const size_t len) in skb_set_mac_header()
980 skb_hwtstamps(struct sk_buff *skb) in skb_hwtstamps()
988 skb_orphan(struct sk_buff *skb) in skb_orphan()
1002 skb_postpush_rcsum(struct sk_buff *skb, const void *data, size_t len) in skb_postpush_rcsum()
1008 skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
1019 static inline struct sk_buff *
1020 skb_get(struct sk_buff *skb) in skb_get()
1027 static inline struct sk_buff *
1028 skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom()
1036 skb_copy_from_linear_data(const struct sk_buff *skb, void *dst, size_t len) in skb_copy_from_linear_data()
1045 skb_pad(struct sk_buff *skb, int pad) in skb_pad()
1054 skb_list_del_init(struct sk_buff *skb) in skb_list_del_init()
1062 napi_consume_skb(struct sk_buff *skb, int budget) in napi_consume_skb()
1069 static inline struct sk_buff *
1078 skb_get_hash(struct sk_buff *skb) in skb_get_hash()
1086 skb_mark_for_recycle(struct sk_buff *skb) in skb_mark_for_recycle()
1093 skb_cow_head(struct sk_buff *skb, unsigned int headroom) in skb_cow_head()