Lines Matching refs:sk_buff

151 			 SKB_DATA_ALIGN(sizeof(struct sk_buff)) +	\
185 struct sk_buff *next;
186 struct sk_buff *prev;
192 struct sk_buff;
323 struct sk_buff *frag_list;
520 struct sk_buff { struct
524 struct sk_buff *next; argument
525 struct sk_buff *prev;
546 void (*destructor)(struct sk_buff *skb); argument
588 #define PKT_TYPE_OFFSET() offsetof(struct sk_buff, __pkt_type_offset) argument
693 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc() argument
711 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
730 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
745 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
755 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
760 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
765 void kfree_skb(struct sk_buff *skb);
766 void kfree_skb_list(struct sk_buff *segs);
767 void skb_tx_error(struct sk_buff *skb);
768 void consume_skb(struct sk_buff *skb);
769 void __kfree_skb(struct sk_buff *skb);
772 void kfree_skb_partial(struct sk_buff *skb, bool head_stolen);
773 bool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from,
776 struct sk_buff *__alloc_skb(unsigned int size, gfp_t priority, int flags,
778 struct sk_buff *__build_skb(void *data, unsigned int frag_size);
779 struct sk_buff *build_skb(void *data, unsigned int frag_size);
780 static inline struct sk_buff *alloc_skb(unsigned int size, in alloc_skb()
786 struct sk_buff *alloc_skb_with_frags(unsigned long header_len,
794 struct sk_buff skb1;
796 struct sk_buff skb2;
810 const struct sk_buff *skb) in skb_fclone_busy()
821 static inline struct sk_buff *alloc_skb_fclone(unsigned int size, in alloc_skb_fclone()
827 struct sk_buff *__alloc_skb_head(gfp_t priority, int node);
828 static inline struct sk_buff *alloc_skb_head(gfp_t priority) in alloc_skb_head()
833 struct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src);
834 int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask);
835 struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t priority);
836 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t priority);
837 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom,
839 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy()
845 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask);
846 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb,
848 struct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom,
850 int skb_to_sgvec_nomark(struct sk_buff *skb, struct scatterlist *sg,
852 int skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset,
854 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer);
855 int skb_pad(struct sk_buff *skb, int pad);
858 int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
860 int len, int odd, struct sk_buff *skb),
868 struct sk_buff *root_skb;
869 struct sk_buff *cur_skb;
873 void skb_prepare_seq_read(struct sk_buff *skb, unsigned int from,
879 unsigned int skb_find_text(struct sk_buff *skb, unsigned int from,
916 skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) in skb_set_hash()
923 void __skb_get_hash(struct sk_buff *skb);
924 static inline __u32 skb_get_hash(struct sk_buff *skb) in skb_get_hash()
932 static inline __u32 skb_get_hash_raw(const struct sk_buff *skb) in skb_get_hash_raw()
937 static inline void skb_clear_hash(struct sk_buff *skb) in skb_clear_hash()
944 static inline void skb_clear_hash_if_not_l4(struct sk_buff *skb) in skb_clear_hash_if_not_l4()
950 static inline void skb_copy_hash(struct sk_buff *to, const struct sk_buff *from) in skb_copy_hash()
957 static inline void skb_sender_cpu_clear(struct sk_buff *skb) in skb_sender_cpu_clear()
965 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer()
970 static inline unsigned int skb_end_offset(const struct sk_buff *skb) in skb_end_offset()
975 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer()
980 static inline unsigned int skb_end_offset(const struct sk_buff *skb) in skb_end_offset()
989 static inline struct skb_shared_hwtstamps *skb_hwtstamps(struct sk_buff *skb) in skb_hwtstamps()
1002 return list->next == (const struct sk_buff *) list; in skb_queue_empty()
1013 const struct sk_buff *skb) in skb_queue_is_last()
1015 return skb->next == (const struct sk_buff *) list; in skb_queue_is_last()
1026 const struct sk_buff *skb) in skb_queue_is_first()
1028 return skb->prev == (const struct sk_buff *) list; in skb_queue_is_first()
1039 static inline struct sk_buff *skb_queue_next(const struct sk_buff_head *list, in skb_queue_next()
1040 const struct sk_buff *skb) in skb_queue_next()
1057 static inline struct sk_buff *skb_queue_prev(const struct sk_buff_head *list, in skb_queue_prev()
1058 const struct sk_buff *skb) in skb_queue_prev()
1074 static inline struct sk_buff *skb_get(struct sk_buff *skb) in skb_get()
1093 static inline int skb_cloned(const struct sk_buff *skb) in skb_cloned()
1099 static inline int skb_unclone(struct sk_buff *skb, gfp_t pri) in skb_unclone()
1116 static inline int skb_header_cloned(const struct sk_buff *skb) in skb_header_cloned()
1137 static inline void skb_header_release(struct sk_buff *skb) in skb_header_release()
1151 static inline void __skb_header_release(struct sk_buff *skb) in __skb_header_release()
1165 static inline int skb_shared(const struct sk_buff *skb) in skb_shared()
1183 static inline struct sk_buff *skb_share_check(struct sk_buff *skb, gfp_t pri) in skb_share_check()
1187 struct sk_buff *nskb = skb_clone(skb, pri); in skb_share_check()
1218 static inline struct sk_buff *skb_unshare(struct sk_buff *skb, in skb_unshare()
1223 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare()
1248 static inline struct sk_buff *skb_peek(const struct sk_buff_head *list_) in skb_peek()
1250 struct sk_buff *skb = list_->next; in skb_peek()
1252 if (skb == (struct sk_buff *)list_) in skb_peek()
1266 static inline struct sk_buff *skb_peek_next(struct sk_buff *skb, in skb_peek_next()
1269 struct sk_buff *next = skb->next; in skb_peek_next()
1271 if (next == (struct sk_buff *)list_) in skb_peek_next()
1289 static inline struct sk_buff *skb_peek_tail(const struct sk_buff_head *list_) in skb_peek_tail()
1291 struct sk_buff *skb = list_->prev; in skb_peek_tail()
1293 if (skb == (struct sk_buff *)list_) in skb_peek_tail()
1322 list->prev = list->next = (struct sk_buff *)list; in __skb_queue_head_init()
1353 void skb_insert(struct sk_buff *old, struct sk_buff *newsk,
1355 static inline void __skb_insert(struct sk_buff *newsk, in __skb_insert()
1356 struct sk_buff *prev, struct sk_buff *next, in __skb_insert()
1366 struct sk_buff *prev, in __skb_queue_splice()
1367 struct sk_buff *next) in __skb_queue_splice()
1369 struct sk_buff *first = list->next; in __skb_queue_splice()
1370 struct sk_buff *last = list->prev; in __skb_queue_splice()
1388 __skb_queue_splice(list, (struct sk_buff *) head, head->next); in skb_queue_splice()
1404 __skb_queue_splice(list, (struct sk_buff *) head, head->next); in skb_queue_splice_init()
1419 __skb_queue_splice(list, head->prev, (struct sk_buff *) head); in skb_queue_splice_tail()
1436 __skb_queue_splice(list, head->prev, (struct sk_buff *) head); in skb_queue_splice_tail_init()
1454 struct sk_buff *prev, in __skb_queue_after()
1455 struct sk_buff *newsk) in __skb_queue_after()
1460 void skb_append(struct sk_buff *old, struct sk_buff *newsk,
1464 struct sk_buff *next, in __skb_queue_before()
1465 struct sk_buff *newsk) in __skb_queue_before()
1480 void skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk);
1482 struct sk_buff *newsk) in __skb_queue_head()
1484 __skb_queue_after(list, (struct sk_buff *)list, newsk); in __skb_queue_head()
1497 void skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk);
1499 struct sk_buff *newsk) in __skb_queue_tail()
1501 __skb_queue_before(list, (struct sk_buff *)list, newsk); in __skb_queue_tail()
1508 void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list);
1509 static inline void __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) in __skb_unlink()
1511 struct sk_buff *next, *prev; in __skb_unlink()
1529 struct sk_buff *skb_dequeue(struct sk_buff_head *list);
1530 static inline struct sk_buff *__skb_dequeue(struct sk_buff_head *list) in __skb_dequeue()
1532 struct sk_buff *skb = skb_peek(list); in __skb_dequeue()
1546 struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list);
1547 static inline struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list) in __skb_dequeue_tail()
1549 struct sk_buff *skb = skb_peek_tail(list); in __skb_dequeue_tail()
1556 static inline bool skb_is_nonlinear(const struct sk_buff *skb) in skb_is_nonlinear()
1561 static inline unsigned int skb_headlen(const struct sk_buff *skb) in skb_headlen()
1566 static inline int skb_pagelen(const struct sk_buff *skb) in skb_pagelen()
1588 static inline void __skb_fill_page_desc(struct sk_buff *skb, int i, in __skb_fill_page_desc()
1621 static inline void skb_fill_page_desc(struct sk_buff *skb, int i, in skb_fill_page_desc()
1628 void skb_add_rx_frag(struct sk_buff *skb, int i, struct page *page, int off,
1631 void skb_coalesce_rx_frag(struct sk_buff *skb, int i, int size,
1639 static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb) in skb_tail_pointer()
1644 static inline void skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
1649 static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset) in skb_set_tail_pointer()
1656 static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb) in skb_tail_pointer()
1661 static inline void skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
1666 static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset) in skb_set_tail_pointer()
1676 unsigned char *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
1677 unsigned char *skb_put(struct sk_buff *skb, unsigned int len);
1678 static inline unsigned char *__skb_put(struct sk_buff *skb, unsigned int len) in __skb_put()
1687 unsigned char *skb_push(struct sk_buff *skb, unsigned int len);
1688 static inline unsigned char *__skb_push(struct sk_buff *skb, unsigned int len) in __skb_push()
1695 unsigned char *skb_pull(struct sk_buff *skb, unsigned int len);
1696 static inline unsigned char *__skb_pull(struct sk_buff *skb, unsigned int len) in __skb_pull()
1703 static inline unsigned char *skb_pull_inline(struct sk_buff *skb, unsigned int len) in skb_pull_inline()
1708 unsigned char *__pskb_pull_tail(struct sk_buff *skb, int delta);
1710 static inline unsigned char *__pskb_pull(struct sk_buff *skb, unsigned int len) in __pskb_pull()
1719 static inline unsigned char *pskb_pull(struct sk_buff *skb, unsigned int len) in pskb_pull()
1724 static inline int pskb_may_pull(struct sk_buff *skb, unsigned int len) in pskb_may_pull()
1739 static inline unsigned int skb_headroom(const struct sk_buff *skb) in skb_headroom()
1750 static inline int skb_tailroom(const struct sk_buff *skb) in skb_tailroom()
1762 static inline int skb_availroom(const struct sk_buff *skb) in skb_availroom()
1778 static inline void skb_reserve(struct sk_buff *skb, int len) in skb_reserve()
1787 static inline void skb_set_inner_protocol(struct sk_buff *skb, in skb_set_inner_protocol()
1794 static inline void skb_set_inner_ipproto(struct sk_buff *skb, in skb_set_inner_ipproto()
1801 static inline void skb_reset_inner_headers(struct sk_buff *skb) in skb_reset_inner_headers()
1808 static inline void skb_reset_mac_len(struct sk_buff *skb) in skb_reset_mac_len()
1813 static inline unsigned char *skb_inner_transport_header(const struct sk_buff in skb_inner_transport_header()
1819 static inline void skb_reset_inner_transport_header(struct sk_buff *skb) in skb_reset_inner_transport_header()
1824 static inline void skb_set_inner_transport_header(struct sk_buff *skb, in skb_set_inner_transport_header()
1831 static inline unsigned char *skb_inner_network_header(const struct sk_buff *skb) in skb_inner_network_header()
1836 static inline void skb_reset_inner_network_header(struct sk_buff *skb) in skb_reset_inner_network_header()
1841 static inline void skb_set_inner_network_header(struct sk_buff *skb, in skb_set_inner_network_header()
1848 static inline unsigned char *skb_inner_mac_header(const struct sk_buff *skb) in skb_inner_mac_header()
1853 static inline void skb_reset_inner_mac_header(struct sk_buff *skb) in skb_reset_inner_mac_header()
1858 static inline void skb_set_inner_mac_header(struct sk_buff *skb, in skb_set_inner_mac_header()
1864 static inline bool skb_transport_header_was_set(const struct sk_buff *skb) in skb_transport_header_was_set()
1869 static inline unsigned char *skb_transport_header(const struct sk_buff *skb) in skb_transport_header()
1874 static inline void skb_reset_transport_header(struct sk_buff *skb) in skb_reset_transport_header()
1879 static inline void skb_set_transport_header(struct sk_buff *skb, in skb_set_transport_header()
1886 static inline unsigned char *skb_network_header(const struct sk_buff *skb) in skb_network_header()
1891 static inline void skb_reset_network_header(struct sk_buff *skb) in skb_reset_network_header()
1896 static inline void skb_set_network_header(struct sk_buff *skb, const int offset) in skb_set_network_header()
1902 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header()
1907 static inline int skb_mac_header_was_set(const struct sk_buff *skb) in skb_mac_header_was_set()
1912 static inline void skb_reset_mac_header(struct sk_buff *skb) in skb_reset_mac_header()
1917 static inline void skb_set_mac_header(struct sk_buff *skb, const int offset) in skb_set_mac_header()
1923 static inline void skb_pop_mac_header(struct sk_buff *skb) in skb_pop_mac_header()
1928 static inline void skb_probe_transport_header(struct sk_buff *skb, in skb_probe_transport_header()
1941 static inline void skb_mac_header_rebuild(struct sk_buff *skb) in skb_mac_header_rebuild()
1951 static inline int skb_checksum_start_offset(const struct sk_buff *skb) in skb_checksum_start_offset()
1956 static inline int skb_transport_offset(const struct sk_buff *skb) in skb_transport_offset()
1961 static inline u32 skb_network_header_len(const struct sk_buff *skb) in skb_network_header_len()
1966 static inline u32 skb_inner_network_header_len(const struct sk_buff *skb) in skb_inner_network_header_len()
1971 static inline int skb_network_offset(const struct sk_buff *skb) in skb_network_offset()
1976 static inline int skb_inner_network_offset(const struct sk_buff *skb) in skb_inner_network_offset()
1981 static inline int pskb_network_may_pull(struct sk_buff *skb, unsigned int len) in pskb_network_may_pull()
2034 int ___pskb_trim(struct sk_buff *skb, unsigned int len);
2036 static inline void __skb_trim(struct sk_buff *skb, unsigned int len) in __skb_trim()
2046 void skb_trim(struct sk_buff *skb, unsigned int len);
2048 static inline int __pskb_trim(struct sk_buff *skb, unsigned int len) in __pskb_trim()
2056 static inline int pskb_trim(struct sk_buff *skb, unsigned int len) in pskb_trim()
2070 static inline void pskb_trim_unique(struct sk_buff *skb, unsigned int len) in pskb_trim_unique()
2084 static inline void skb_orphan(struct sk_buff *skb) in skb_orphan()
2104 static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) in skb_orphan_frags()
2122 struct sk_buff *skb; in __skb_queue_purge()
2133 struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int length,
2149 static inline struct sk_buff *netdev_alloc_skb(struct net_device *dev, in netdev_alloc_skb()
2156 static inline struct sk_buff *__dev_alloc_skb(unsigned int length, in __dev_alloc_skb()
2163 static inline struct sk_buff *dev_alloc_skb(unsigned int length) in dev_alloc_skb()
2169 static inline struct sk_buff *__netdev_alloc_skb_ip_align(struct net_device *dev, in __netdev_alloc_skb_ip_align()
2172 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); in __netdev_alloc_skb_ip_align()
2179 static inline struct sk_buff *netdev_alloc_skb_ip_align(struct net_device *dev, in netdev_alloc_skb_ip_align()
2186 struct sk_buff *__napi_alloc_skb(struct napi_struct *napi,
2188 static inline struct sk_buff *napi_alloc_skb(struct napi_struct *napi, in napi_alloc_skb()
2248 struct sk_buff *skb) in skb_propagate_pfmemalloc()
2283 static inline void skb_frag_ref(struct sk_buff *skb, int f) in skb_frag_ref()
2306 static inline void skb_frag_unref(struct sk_buff *skb, int f) in skb_frag_unref()
2359 static inline void skb_frag_set_page(struct sk_buff *skb, int f, in skb_frag_set_page()
2387 static inline struct sk_buff *pskb_copy(struct sk_buff *skb, in pskb_copy()
2394 static inline struct sk_buff *pskb_copy_for_clone(struct sk_buff *skb, in pskb_copy_for_clone()
2409 static inline int skb_clone_writable(const struct sk_buff *skb, unsigned int len) in skb_clone_writable()
2415 static inline int __skb_cow(struct sk_buff *skb, unsigned int headroom, in __skb_cow()
2441 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) in skb_cow()
2456 static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom) in skb_cow_head()
2471 static inline int skb_padto(struct sk_buff *skb, unsigned int len) in skb_padto()
2489 static inline int skb_put_padto(struct sk_buff *skb, unsigned int len) in skb_put_padto()
2502 static inline int skb_add_data(struct sk_buff *skb, in skb_add_data()
2521 static inline bool skb_can_coalesce(struct sk_buff *skb, int i, in skb_can_coalesce()
2533 static inline int __skb_linearize(struct sk_buff *skb) in __skb_linearize()
2545 static inline int skb_linearize(struct sk_buff *skb) in skb_linearize()
2557 static inline bool skb_has_shared_frag(const struct sk_buff *skb) in skb_has_shared_frag()
2570 static inline int skb_linearize_cow(struct sk_buff *skb) in skb_linearize_cow()
2587 static inline void skb_postpull_rcsum(struct sk_buff *skb, in skb_postpull_rcsum()
2597 unsigned char *skb_pull_rcsum(struct sk_buff *skb, unsigned int len);
2608 static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) in pskb_trim_rcsum()
2619 skb != (struct sk_buff *)(queue); \
2624 skb != (struct sk_buff *)(queue); \
2628 for (; skb != (struct sk_buff *)(queue); \
2633 skb != (struct sk_buff *)(queue); \
2638 skb != (struct sk_buff *)(queue); \
2643 skb != (struct sk_buff *)(queue); \
2648 skb != (struct sk_buff *)(queue); \
2651 static inline bool skb_has_frag_list(const struct sk_buff *skb) in skb_has_frag_list()
2656 static inline void skb_frag_list_init(struct sk_buff *skb) in skb_frag_list_init()
2661 static inline void skb_frag_add_head(struct sk_buff *skb, struct sk_buff *frag) in skb_frag_add_head()
2670 struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned flags,
2672 struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock,
2676 int skb_copy_datagram_iter(const struct sk_buff *from, int offset,
2678 static inline int skb_copy_datagram_msg(const struct sk_buff *from, int offset, in skb_copy_datagram_msg()
2683 int skb_copy_and_csum_datagram_msg(struct sk_buff *skb, int hlen,
2685 int skb_copy_datagram_from_iter(struct sk_buff *skb, int offset,
2687 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *frm);
2688 void skb_free_datagram(struct sock *sk, struct sk_buff *skb);
2689 void skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb);
2690 int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags);
2691 int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len);
2692 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len);
2693 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to,
2695 int skb_splice_bits(struct sk_buff *skb, unsigned int offset,
2698 void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to);
2699 unsigned int skb_zerocopy_headlen(const struct sk_buff *from);
2700 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from,
2702 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len);
2703 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen);
2704 void skb_scrub_packet(struct sk_buff *skb, bool xnet);
2705 unsigned int skb_gso_transport_seglen(const struct sk_buff *skb);
2706 struct sk_buff *skb_segment(struct sk_buff *skb, netdev_features_t features);
2707 struct sk_buff *skb_vlan_untag(struct sk_buff *skb);
2708 int skb_ensure_writable(struct sk_buff *skb, int write_len);
2709 int skb_vlan_pop(struct sk_buff *skb);
2710 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci);
2727 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len,
2729 __wsum skb_checksum(const struct sk_buff *skb, int offset, int len,
2732 static inline void *__skb_header_pointer(const struct sk_buff *skb, int offset, in __skb_header_pointer()
2745 static inline void *skb_header_pointer(const struct sk_buff *skb, int offset, in skb_header_pointer()
2762 static inline bool skb_needs_linearize(struct sk_buff *skb, in skb_needs_linearize()
2770 static inline void skb_copy_from_linear_data(const struct sk_buff *skb, in skb_copy_from_linear_data()
2777 static inline void skb_copy_from_linear_data_offset(const struct sk_buff *skb, in skb_copy_from_linear_data_offset()
2784 static inline void skb_copy_to_linear_data(struct sk_buff *skb, in skb_copy_to_linear_data()
2791 static inline void skb_copy_to_linear_data_offset(struct sk_buff *skb, in skb_copy_to_linear_data_offset()
2801 static inline ktime_t skb_get_ktime(const struct sk_buff *skb) in skb_get_ktime()
2815 static inline void skb_get_timestamp(const struct sk_buff *skb, in skb_get_timestamp()
2821 static inline void skb_get_timestampns(const struct sk_buff *skb, in skb_get_timestampns()
2827 static inline void __net_timestamp(struct sk_buff *skb) in __net_timestamp()
2842 struct sk_buff *skb_clone_sk(struct sk_buff *skb);
2846 void skb_clone_tx_timestamp(struct sk_buff *skb);
2847 bool skb_defer_rx_timestamp(struct sk_buff *skb);
2851 static inline void skb_clone_tx_timestamp(struct sk_buff *skb) in skb_clone_tx_timestamp()
2855 static inline bool skb_defer_rx_timestamp(struct sk_buff *skb) in skb_defer_rx_timestamp()
2874 void skb_complete_tx_timestamp(struct sk_buff *skb,
2877 void __skb_tstamp_tx(struct sk_buff *orig_skb,
2892 void skb_tstamp_tx(struct sk_buff *orig_skb,
2895 static inline void sw_tx_timestamp(struct sk_buff *skb) in sw_tx_timestamp()
2914 static inline void skb_tx_timestamp(struct sk_buff *skb) in skb_tx_timestamp()
2927 void skb_complete_wifi_ack(struct sk_buff *skb, bool acked);
2929 __sum16 __skb_checksum_complete_head(struct sk_buff *skb, int len);
2930 __sum16 __skb_checksum_complete(struct sk_buff *skb);
2932 static inline int skb_csum_unnecessary(const struct sk_buff *skb) in skb_csum_unnecessary()
2956 static inline __sum16 skb_checksum_complete(struct sk_buff *skb) in skb_checksum_complete()
2962 static inline void __skb_decr_checksum_unnecessary(struct sk_buff *skb) in __skb_decr_checksum_unnecessary()
2972 static inline void __skb_incr_checksum_unnecessary(struct sk_buff *skb) in __skb_incr_checksum_unnecessary()
2983 static inline void __skb_mark_checksum_bad(struct sk_buff *skb) in __skb_mark_checksum_bad()
3003 static inline bool __skb_checksum_validate_needed(struct sk_buff *skb, in __skb_checksum_validate_needed()
3027 static inline void skb_checksum_complete_unset(struct sk_buff *skb) in skb_checksum_complete_unset()
3042 static inline __sum16 __skb_checksum_validate_complete(struct sk_buff *skb, in __skb_checksum_validate_complete()
3069 static inline __wsum null_compute_pseudo(struct sk_buff *skb, int proto) in null_compute_pseudo()
3111 static inline bool __skb_checksum_convert_check(struct sk_buff *skb) in __skb_checksum_convert_check()
3117 static inline void __skb_checksum_convert(struct sk_buff *skb, in __skb_checksum_convert()
3131 static inline void skb_remcsum_adjust_partial(struct sk_buff *skb, void *ptr, in skb_remcsum_adjust_partial()
3144 static inline void skb_remcsum_process(struct sk_buff *skb, void *ptr, in skb_remcsum_process()
3190 static inline void nf_reset(struct sk_buff *skb) in nf_reset()
3202 static inline void nf_reset_trace(struct sk_buff *skb) in nf_reset_trace()
3210 static inline void __nf_copy(struct sk_buff *dst, const struct sk_buff *src, in __nf_copy()
3229 static inline void nf_copy(struct sk_buff *dst, const struct sk_buff *src) in nf_copy()
3241 static inline void skb_copy_secmark(struct sk_buff *to, const struct sk_buff *from) in skb_copy_secmark()
3246 static inline void skb_init_secmark(struct sk_buff *skb) in skb_init_secmark()
3251 static inline void skb_copy_secmark(struct sk_buff *to, const struct sk_buff *from) in skb_copy_secmark()
3254 static inline void skb_init_secmark(struct sk_buff *skb) in skb_init_secmark()
3258 static inline bool skb_irq_freeable(const struct sk_buff *skb) in skb_irq_freeable()
3271 static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) in skb_set_queue_mapping()
3276 static inline u16 skb_get_queue_mapping(const struct sk_buff *skb) in skb_get_queue_mapping()
3281 static inline void skb_copy_queue_mapping(struct sk_buff *to, const struct sk_buff *from) in skb_copy_queue_mapping()
3286 static inline void skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) in skb_record_rx_queue()
3291 static inline u16 skb_get_rx_queue(const struct sk_buff *skb) in skb_get_rx_queue()
3296 static inline bool skb_rx_queue_recorded(const struct sk_buff *skb) in skb_rx_queue_recorded()
3301 u16 __skb_tx_hash(const struct net_device *dev, struct sk_buff *skb,
3304 static inline struct sec_path *skb_sec_path(struct sk_buff *skb) in skb_sec_path()
3327 static inline int skb_tnl_header_len(const struct sk_buff *inner_skb) in skb_tnl_header_len()
3333 static inline int gso_pskb_expand_head(struct sk_buff *skb, int extra) in gso_pskb_expand_head()
3356 static inline __sum16 gso_make_checksum(struct sk_buff *skb, __wsum res) in gso_make_checksum()
3370 static inline bool skb_is_gso(const struct sk_buff *skb) in skb_is_gso()
3376 static inline bool skb_is_gso_v6(const struct sk_buff *skb) in skb_is_gso_v6()
3381 void __skb_warn_lro_forwarding(const struct sk_buff *skb);
3383 static inline bool skb_warn_if_lro(const struct sk_buff *skb) in skb_warn_if_lro()
3397 static inline void skb_forward_csum(struct sk_buff *skb) in skb_forward_csum()
3412 static inline void skb_checksum_none_assert(const struct sk_buff *skb) in skb_checksum_none_assert()
3419 bool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off);
3421 int skb_checksum_setup(struct sk_buff *skb, bool recalculate);
3423 u32 skb_get_poff(const struct sk_buff *skb);
3424 u32 __skb_get_poff(const struct sk_buff *skb, void *data,
3436 static inline bool skb_head_is_locked(const struct sk_buff *skb) in skb_head_is_locked()
3451 static inline unsigned int skb_gso_network_seglen(const struct sk_buff *skb) in skb_gso_network_seglen()