Lines Matching refs:sk_buff
107 struct sk_buff *next;
108 struct sk_buff *prev;
111 struct sk_buff *next;
112 struct sk_buff *prev;
143 struct sk_buff *frag_list;
147 struct sk_buff { struct
152 struct sk_buff *next; argument
153 struct sk_buff *prev;
207 struct sk_buff *linuxkpi_alloc_skb(size_t, gfp_t); argument
208 struct sk_buff *linuxkpi_dev_alloc_skb(size_t, gfp_t);
209 struct sk_buff *linuxkpi_build_skb(void *, size_t);
210 void linuxkpi_kfree_skb(struct sk_buff *);
212 struct sk_buff *linuxkpi_skb_copy(const struct sk_buff *, gfp_t);
216 static inline struct sk_buff *
219 struct sk_buff *skb; in alloc_skb()
226 static inline struct sk_buff *
229 struct sk_buff *skb; in __dev_alloc_skb()
237 static inline struct sk_buff *
240 struct sk_buff *skb; in dev_alloc_skb()
249 kfree_skb(struct sk_buff *skb) in kfree_skb()
256 consume_skb(struct sk_buff *skb) in consume_skb()
263 dev_kfree_skb(struct sk_buff *skb) in dev_kfree_skb()
270 dev_kfree_skb_any(struct sk_buff *skb) in dev_kfree_skb_any()
277 dev_kfree_skb_irq(struct sk_buff *skb) in dev_kfree_skb_irq()
284 static inline struct sk_buff *
287 struct sk_buff *skb; in build_skb()
297 skb_is_nonlinear(struct sk_buff *skb) in skb_is_nonlinear()
305 skb_reserve(struct sk_buff *skb, size_t len) in skb_reserve()
326 __skb_push(struct sk_buff *skb, size_t len) in __skb_push()
337 skb_push(struct sk_buff *skb, size_t len) in skb_push()
348 skb_headlen(struct sk_buff *skb) in skb_headlen()
358 skb_tail_pointer(struct sk_buff *skb) in skb_tail_pointer()
367 skb_tailroom(struct sk_buff *skb) in skb_tailroom()
380 skb_headroom(const struct sk_buff *skb) in skb_headroom()
394 __skb_put(struct sk_buff *skb, size_t len) in __skb_put()
418 skb_put(struct sk_buff *skb, size_t len) in skb_put()
427 skb_put_data(struct sk_buff *skb, const void *buf, size_t len) in skb_put_data()
441 skb_put_zero(struct sk_buff *skb, size_t len) in skb_put_zero()
458 skb_pull(struct sk_buff *skb, size_t len) in skb_pull()
475 __skb_trim(struct sk_buff *skb, unsigned int len) in __skb_trim()
487 skb_trim(struct sk_buff *skb, unsigned int len) in skb_trim()
494 skb_shinfo(struct sk_buff *skb) in skb_shinfo()
502 skb_add_rx_frag(struct sk_buff *skb, int fragno, struct page *page, in skb_add_rx_frag()
532 for ((skb) = (_q)->next; (skb) != (struct sk_buff *)(_q); \
537 (skb) != (struct sk_buff *)(_q); (skb) = (tmp), (tmp) = (skb)->next)
548 return (q->next == (const struct sk_buff *)q); in skb_queue_empty()
555 return (READ_ONCE(q->next) == (const struct sk_buff *)q); in skb_queue_empty_lockless()
562 q->prev = q->next = (struct sk_buff *)q; in __skb_queue_head_init()
575 __skb_insert(struct sk_buff *new, struct sk_buff *prev, struct sk_buff *next, in __skb_insert()
588 __skb_queue_after(struct sk_buff_head *q, struct sk_buff *skb, in __skb_queue_after()
589 struct sk_buff *new) in __skb_queue_after()
597 __skb_queue_before(struct sk_buff_head *q, struct sk_buff *skb, in __skb_queue_before()
598 struct sk_buff *new) in __skb_queue_before()
606 __skb_queue_tail(struct sk_buff_head *q, struct sk_buff *new) in __skb_queue_tail()
610 __skb_queue_before(q, (struct sk_buff *)q, new); in __skb_queue_tail()
614 skb_queue_tail(struct sk_buff_head *q, struct sk_buff *new) in skb_queue_tail()
624 static inline struct sk_buff *
627 struct sk_buff *skb; in skb_peek()
631 if (skb == (const struct sk_buff *)q) in skb_peek()
636 static inline struct sk_buff *
639 struct sk_buff *skb; in skb_peek_tail()
643 if (skb == (const struct sk_buff *)q) in skb_peek_tail()
649 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *q) in __skb_unlink()
651 struct sk_buff *p, *n; in __skb_unlink()
664 skb_unlink(struct sk_buff *skb, struct sk_buff_head *q) in skb_unlink()
674 static inline struct sk_buff *
677 struct sk_buff *skb; in __skb_dequeue()
686 static inline struct sk_buff *
690 struct sk_buff *skb; in skb_dequeue()
699 static inline struct sk_buff *
702 struct sk_buff *skb; in __skb_dequeue_tail()
711 static inline struct sk_buff *
715 struct sk_buff *skb; in skb_dequeue_tail()
725 __skb_queue_head(struct sk_buff_head *q, struct sk_buff *skb) in __skb_queue_head()
729 __skb_queue_after(q, (struct sk_buff *)q, skb); in __skb_queue_head()
733 skb_queue_head(struct sk_buff_head *q, struct sk_buff *skb) in skb_queue_head()
761 struct sk_buff *p, struct sk_buff *n) in ___skb_queue_splice()
763 struct sk_buff *b, *e; in ___skb_queue_splice()
783 ___skb_queue_splice(from, (struct sk_buff *)to, to->next); in skb_queue_splice_init()
797 ___skb_queue_splice(from, to->prev, (struct sk_buff *)to); in skb_queue_splice_tail_init()
806 struct sk_buff *skb; in __skb_queue_purge()
833 static inline struct sk_buff *
834 skb_queue_prev(struct sk_buff_head *q, struct sk_buff *skb) in skb_queue_prev()
844 static inline struct sk_buff *
845 skb_copy(const struct sk_buff *skb, gfp_t gfp) in skb_copy()
847 struct sk_buff *new; in skb_copy()
855 skb_checksum(struct sk_buff *skb, int offs, size_t len, int x) in skb_checksum()
863 skb_checksum_start_offset(struct sk_buff *skb) in skb_checksum_start_offset()
890 skb_checksum_help(struct sk_buff *skb) in skb_checksum_help()
897 skb_ensure_writable(struct sk_buff *skb, size_t off) in skb_ensure_writable()
918 static inline struct sk_buff *
919 skb_gso_segment(struct sk_buff *skb, netdev_features_t netdev_flags) in skb_gso_segment()
927 skb_is_gso(struct sk_buff *skb) in skb_is_gso()
935 skb_mark_not_on_list(struct sk_buff *skb) in skb_mark_not_on_list()
942 skb_reset_transport_header(struct sk_buff *skb) in skb_reset_transport_header()
950 skb_transport_header(struct sk_buff *skb) in skb_transport_header()
958 skb_network_header(struct sk_buff *skb) in skb_network_header()
966 __skb_linearize(struct sk_buff *skb) in __skb_linearize()
974 skb_linearize(struct sk_buff *skb) in skb_linearize()
980 pskb_expand_head(struct sk_buff *skb, int x, int len, gfp_t gfp) in pskb_expand_head()
989 skb_set_queue_mapping(struct sk_buff *skb, uint16_t qmap) in skb_set_queue_mapping()
997 skb_get_queue_mapping(struct sk_buff *skb) in skb_get_queue_mapping()
1005 skb_copy_header(struct sk_buff *to, const struct sk_buff *from) in skb_copy_header()
1012 skb_header_cloned(struct sk_buff *skb) in skb_header_cloned()
1020 skb_mac_header(const struct sk_buff *skb) in skb_mac_header()
1027 skb_reset_mac_header(struct sk_buff *skb) in skb_reset_mac_header()
1034 skb_set_mac_header(struct sk_buff *skb, const size_t len) in skb_set_mac_header()
1042 skb_hwtstamps(struct sk_buff *skb) in skb_hwtstamps()
1050 skb_orphan(struct sk_buff *skb) in skb_orphan()
1063 skb_postpush_rcsum(struct sk_buff *skb, const void *data, size_t len) in skb_postpush_rcsum()
1069 skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
1080 static inline struct sk_buff *
1081 skb_get(struct sk_buff *skb) in skb_get()
1089 static inline struct sk_buff *
1090 skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom()
1098 skb_copy_from_linear_data(const struct sk_buff *skb, void *dst, size_t len) in skb_copy_from_linear_data()
1107 skb_pad(struct sk_buff *skb, int pad) in skb_pad()
1116 skb_list_del_init(struct sk_buff *skb) in skb_list_del_init()
1125 napi_consume_skb(struct sk_buff *skb, int budget) in napi_consume_skb()
1132 static inline struct sk_buff *
1141 skb_get_hash(struct sk_buff *skb) in skb_get_hash()
1149 skb_mark_for_recycle(struct sk_buff *skb) in skb_mark_for_recycle()
1157 skb_cow_head(struct sk_buff *skb, unsigned int headroom) in skb_cow_head()