Lines Matching defs:skb
1129 static inline bool skb_pfmemalloc(const struct sk_buff *skb) in skb_pfmemalloc()
1147 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
1166 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
1182 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
1193 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
1211 static inline unsigned int skb_napi_id(const struct sk_buff *skb) in skb_napi_id()
1220 static inline bool skb_wifi_acked_valid(const struct sk_buff *skb) in skb_wifi_acked_valid()
1235 static inline bool skb_unref(struct sk_buff *skb) in skb_unref()
1247 static inline bool skb_data_unref(const struct sk_buff *skb, in skb_data_unref()
1269 kfree_skb_reason(struct sk_buff *skb, enum skb_drop_reason reason) in kfree_skb_reason()
1278 static inline void kfree_skb(struct sk_buff *skb) in kfree_skb()
1297 static inline void consume_skb(struct sk_buff *skb) in consume_skb()
1360 const struct sk_buff *skb) in skb_fclone_busy()
1392 static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, in __pskb_copy()
1422 static inline int skb_pad(struct sk_buff *skb, int pad) in skb_pad()
1485 static inline void skb_clear_hash(struct sk_buff *skb) in skb_clear_hash()
1492 static inline void skb_clear_hash_if_not_l4(struct sk_buff *skb) in skb_clear_hash_if_not_l4()
1499 __skb_set_hash(struct sk_buff *skb, __u32 hash, bool is_sw, bool is_l4) in __skb_set_hash()
1507 skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) in skb_set_hash()
1514 __skb_set_sw_hash(struct sk_buff *skb, __u32 hash, bool is_l4) in __skb_set_sw_hash()
1521 static inline u32 __skb_get_hash_symmetric(const struct sk_buff *skb) in __skb_get_hash_symmetric()
1533 static inline __be32 skb_flow_get_ports(const struct sk_buff *skb, in skb_flow_get_ports()
1553 static inline bool skb_flow_dissect(const struct sk_buff *skb, in skb_flow_dissect()
1561 static inline bool skb_flow_dissect_flow_keys(const struct sk_buff *skb, in skb_flow_dissect_flow_keys()
1572 const struct sk_buff *skb, in skb_flow_dissect_flow_keys_basic()
1605 static inline __u32 skb_get_hash_net(const struct net *net, struct sk_buff *skb) in skb_get_hash_net()
1613 static inline __u32 skb_get_hash(struct sk_buff *skb) in skb_get_hash()
1621 static inline __u32 skb_get_hash_flowi6(struct sk_buff *skb, const struct flowi6 *fl6) in skb_get_hash_flowi6()
1636 static inline __u32 skb_get_hash_raw(const struct sk_buff *skb) in skb_get_hash_raw()
1658 static inline bool skb_is_decrypted(const struct sk_buff *skb) in skb_is_decrypted()
1676 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer()
1681 static inline unsigned int skb_end_offset(const struct sk_buff *skb) in skb_end_offset()
1686 static inline void skb_set_end_offset(struct sk_buff *skb, unsigned int offset) in skb_set_end_offset()
1691 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer()
1696 static inline unsigned int skb_end_offset(const struct sk_buff *skb) in skb_end_offset()
1701 static inline void skb_set_end_offset(struct sk_buff *skb, unsigned int offset) in skb_set_end_offset()
1721 static inline int skb_zerocopy_iter_dgram(struct sk_buff *skb, in skb_zerocopy_iter_dgram()
1734 static inline struct skb_shared_hwtstamps *skb_hwtstamps(struct sk_buff *skb) in skb_hwtstamps()
1739 static inline struct ubuf_info *skb_zcopy(struct sk_buff *skb) in skb_zcopy()
1746 static inline bool skb_zcopy_pure(const struct sk_buff *skb) in skb_zcopy_pure()
1751 static inline bool skb_zcopy_managed(const struct sk_buff *skb) in skb_zcopy_managed()
1767 static inline void skb_zcopy_init(struct sk_buff *skb, struct ubuf_info *uarg) in skb_zcopy_init()
1773 static inline void skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg, in skb_zcopy_set()
1785 static inline void skb_zcopy_set_nouarg(struct sk_buff *skb, void *val) in skb_zcopy_set_nouarg()
1791 static inline bool skb_zcopy_is_nouarg(struct sk_buff *skb) in skb_zcopy_is_nouarg()
1796 static inline void *skb_zcopy_get_nouarg(struct sk_buff *skb) in skb_zcopy_get_nouarg()
1818 static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy_success) in skb_zcopy_clear()
1832 static inline void skb_zcopy_downgrade_managed(struct sk_buff *skb) in skb_zcopy_downgrade_managed()
1839 static inline bool skb_frags_readable(const struct sk_buff *skb) in skb_frags_readable()
1844 static inline void skb_mark_not_on_list(struct sk_buff *skb) in skb_mark_not_on_list()
1849 static inline void skb_poison_list(struct sk_buff *skb) in skb_poison_list()
1857 #define skb_list_walk_safe(first, skb, next_skb) \ argument
1861 static inline void skb_list_del_init(struct sk_buff *skb) in skb_list_del_init()
1899 const struct sk_buff *skb) in skb_queue_is_last()
1912 const struct sk_buff *skb) in skb_queue_is_first()
1926 const struct sk_buff *skb) in skb_queue_next()
1944 const struct sk_buff *skb) in skb_queue_prev()
1960 static inline struct sk_buff *skb_get(struct sk_buff *skb) in skb_get()
1978 static inline int skb_cloned(const struct sk_buff *skb) in skb_cloned()
1984 static inline int skb_unclone(struct sk_buff *skb, gfp_t pri) in skb_unclone()
2001 static inline int skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri) in skb_unclone_keeptruesize()
2017 static inline int skb_header_cloned(const struct sk_buff *skb) in skb_header_cloned()
2029 static inline int skb_header_unclone(struct sk_buff *skb, gfp_t pri) in skb_header_unclone()
2045 static inline void __skb_header_release(struct sk_buff *skb) in __skb_header_release()
2059 static inline int skb_shared(const struct sk_buff *skb) in skb_shared()
2077 static inline struct sk_buff *skb_share_check(struct sk_buff *skb, gfp_t pri) in skb_share_check()
2112 static inline struct sk_buff *skb_unshare(struct sk_buff *skb, in skb_unshare()
2144 struct sk_buff *skb = list_->next; in skb_peek() local
2171 static inline struct sk_buff *skb_peek_next(struct sk_buff *skb, in skb_peek_next()
2196 struct sk_buff *skb = READ_ONCE(list_->prev); in skb_peek_tail() local
2428 static inline void __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) in __skb_unlink()
2450 struct sk_buff *skb = skb_peek(list); in __skb_dequeue() local
2467 struct sk_buff *skb = skb_peek_tail(list); in __skb_dequeue_tail() local
2475 static inline bool skb_is_nonlinear(const struct sk_buff *skb) in skb_is_nonlinear()
2480 static inline unsigned int skb_headlen(const struct sk_buff *skb) in skb_headlen()
2485 static inline unsigned int __skb_pagelen(const struct sk_buff *skb) in __skb_pagelen()
2494 static inline unsigned int skb_pagelen(const struct sk_buff *skb) in skb_pagelen()
2537 static inline void skb_len_add(struct sk_buff *skb, int delta) in skb_len_add()
2557 static inline void __skb_fill_netmem_desc(struct sk_buff *skb, int i, in __skb_fill_netmem_desc()
2580 static inline void __skb_fill_page_desc(struct sk_buff *skb, int i, in __skb_fill_page_desc()
2586 static inline void skb_fill_netmem_desc(struct sk_buff *skb, int i, in skb_fill_netmem_desc()
2607 static inline void skb_fill_page_desc(struct sk_buff *skb, int i, in skb_fill_page_desc()
2624 static inline void skb_fill_page_desc_noacc(struct sk_buff *skb, int i, in skb_fill_page_desc_noacc()
2637 static inline void skb_add_rx_frag(struct sk_buff *skb, int i, in skb_add_rx_frag()
2648 #define SKB_LINEAR_ASSERT(skb) BUG_ON(skb_is_nonlinear(skb)) argument
2651 static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb) in skb_tail_pointer()
2656 static inline void skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
2661 static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset) in skb_set_tail_pointer()
2668 static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb) in skb_tail_pointer()
2673 static inline void skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
2678 static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset) in skb_set_tail_pointer()
2685 static inline void skb_assert_len(struct sk_buff *skb) in skb_assert_len()
2696 static inline void skb_might_realloc(struct sk_buff *skb) {} in skb_might_realloc()
2704 static inline void *__skb_put(struct sk_buff *skb, unsigned int len) in __skb_put()
2713 static inline void *__skb_put_zero(struct sk_buff *skb, unsigned int len) in __skb_put_zero()
2721 static inline void *__skb_put_data(struct sk_buff *skb, const void *data, in __skb_put_data()
2730 static inline void __skb_put_u8(struct sk_buff *skb, u8 val) in __skb_put_u8()
2735 static inline void *skb_put_zero(struct sk_buff *skb, unsigned int len) in skb_put_zero()
2744 static inline void *skb_put_data(struct sk_buff *skb, const void *data, in skb_put_data()
2754 static inline void skb_put_u8(struct sk_buff *skb, u8 val) in skb_put_u8()
2760 static inline void *__skb_push(struct sk_buff *skb, unsigned int len) in __skb_push()
2770 static inline void *__skb_pull(struct sk_buff *skb, unsigned int len) in __skb_pull()
2786 static inline void *skb_pull_inline(struct sk_buff *skb, unsigned int len) in skb_pull_inline()
2796 pskb_may_pull_reason(struct sk_buff *skb, unsigned int len) in pskb_may_pull_reason()
2813 static inline bool pskb_may_pull(struct sk_buff *skb, unsigned int len) in pskb_may_pull()
2818 static inline void *pskb_pull(struct sk_buff *skb, unsigned int len) in pskb_pull()
2835 static inline unsigned int skb_headroom(const struct sk_buff *skb) in skb_headroom()
2846 static inline int skb_tailroom(const struct sk_buff *skb) in skb_tailroom()
2858 static inline int skb_availroom(const struct sk_buff *skb) in skb_availroom()
2874 static inline void skb_reserve(struct sk_buff *skb, int len) in skb_reserve()
2892 static inline void skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, in skb_tailroom_reserve()
2907 static inline void skb_set_inner_protocol(struct sk_buff *skb, in skb_set_inner_protocol()
2914 static inline void skb_set_inner_ipproto(struct sk_buff *skb, in skb_set_inner_ipproto()
2921 static inline void skb_reset_inner_headers(struct sk_buff *skb) in skb_reset_inner_headers()
2928 static inline int skb_mac_header_was_set(const struct sk_buff *skb) in skb_mac_header_was_set()
2933 static inline void skb_reset_mac_len(struct sk_buff *skb) in skb_reset_mac_len()
2943 static inline unsigned char *skb_inner_transport_header(const struct sk_buff in skb_inner_transport_header()
2949 static inline int skb_inner_transport_offset(const struct sk_buff *skb) in skb_inner_transport_offset()
2954 static inline void skb_reset_inner_transport_header(struct sk_buff *skb) in skb_reset_inner_transport_header()
2962 static inline void skb_set_inner_transport_header(struct sk_buff *skb, in skb_set_inner_transport_header()
2969 static inline unsigned char *skb_inner_network_header(const struct sk_buff *skb) in skb_inner_network_header()
2974 static inline void skb_reset_inner_network_header(struct sk_buff *skb) in skb_reset_inner_network_header()
2982 static inline void skb_set_inner_network_header(struct sk_buff *skb, in skb_set_inner_network_header()
2989 static inline bool skb_inner_network_header_was_set(const struct sk_buff *skb) in skb_inner_network_header_was_set()
2994 static inline unsigned char *skb_inner_mac_header(const struct sk_buff *skb) in skb_inner_mac_header()
2999 static inline void skb_reset_inner_mac_header(struct sk_buff *skb) in skb_reset_inner_mac_header()
3007 static inline void skb_set_inner_mac_header(struct sk_buff *skb, in skb_set_inner_mac_header()
3013 static inline bool skb_transport_header_was_set(const struct sk_buff *skb) in skb_transport_header_was_set()
3018 static inline unsigned char *skb_transport_header(const struct sk_buff *skb) in skb_transport_header()
3024 static inline void skb_reset_transport_header(struct sk_buff *skb) in skb_reset_transport_header()
3032 static inline void skb_set_transport_header(struct sk_buff *skb, in skb_set_transport_header()
3039 static inline unsigned char *skb_network_header(const struct sk_buff *skb) in skb_network_header()
3044 static inline void skb_reset_network_header(struct sk_buff *skb) in skb_reset_network_header()
3052 static inline void skb_set_network_header(struct sk_buff *skb, const int offset) in skb_set_network_header()
3058 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header()
3064 static inline int skb_mac_offset(const struct sk_buff *skb) in skb_mac_offset()
3069 static inline u32 skb_mac_header_len(const struct sk_buff *skb) in skb_mac_header_len()
3075 static inline void skb_unset_mac_header(struct sk_buff *skb) in skb_unset_mac_header()
3080 static inline void skb_reset_mac_header(struct sk_buff *skb) in skb_reset_mac_header()
3088 static inline void skb_set_mac_header(struct sk_buff *skb, const int offset) in skb_set_mac_header()
3094 static inline void skb_pop_mac_header(struct sk_buff *skb) in skb_pop_mac_header()
3099 static inline void skb_probe_transport_header(struct sk_buff *skb) in skb_probe_transport_header()
3111 static inline void skb_mac_header_rebuild(struct sk_buff *skb) in skb_mac_header_rebuild()
3125 static inline void skb_mac_header_rebuild_full(struct sk_buff *skb, u32 full_mac_len) in skb_mac_header_rebuild_full()
3136 static inline int skb_checksum_start_offset(const struct sk_buff *skb) in skb_checksum_start_offset()
3141 static inline unsigned char *skb_checksum_start(const struct sk_buff *skb) in skb_checksum_start()
3146 static inline int skb_transport_offset(const struct sk_buff *skb) in skb_transport_offset()
3151 static inline u32 skb_network_header_len(const struct sk_buff *skb) in skb_network_header_len()
3157 static inline u32 skb_inner_network_header_len(const struct sk_buff *skb) in skb_inner_network_header_len()
3162 static inline int skb_network_offset(const struct sk_buff *skb) in skb_network_offset()
3167 static inline int skb_inner_network_offset(const struct sk_buff *skb) in skb_inner_network_offset()
3173 pskb_network_may_pull_reason(struct sk_buff *skb, unsigned int len) in pskb_network_may_pull_reason()
3178 static inline int pskb_network_may_pull(struct sk_buff *skb, unsigned int len) in pskb_network_may_pull()
3233 static inline void __skb_set_length(struct sk_buff *skb, unsigned int len) in __skb_set_length()
3241 static inline void __skb_trim(struct sk_buff *skb, unsigned int len) in __skb_trim()
3248 static inline int __pskb_trim(struct sk_buff *skb, unsigned int len) in __pskb_trim()
3256 static inline int pskb_trim(struct sk_buff *skb, unsigned int len) in pskb_trim()
3271 static inline void pskb_trim_unique(struct sk_buff *skb, unsigned int len) in pskb_trim_unique()
3277 static inline int __skb_grow(struct sk_buff *skb, unsigned int len) in __skb_grow()
3299 static inline void skb_orphan(struct sk_buff *skb) in skb_orphan()
3319 static inline int skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) in skb_orphan_frags()
3329 static inline int skb_orphan_frags_rx(struct sk_buff *skb, gfp_t gfp_mask) in skb_orphan_frags_rx()
3348 struct sk_buff *skb; in __skb_queue_purge_reason() local
3430 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); in __netdev_alloc_skb_ip_align() local
3542 struct sk_buff *skb) in skb_propagate_pfmemalloc()
3725 static inline struct sk_buff *pskb_copy(struct sk_buff *skb, in pskb_copy()
3732 static inline struct sk_buff *pskb_copy_for_clone(struct sk_buff *skb, in pskb_copy_for_clone()
3747 static inline int skb_clone_writable(const struct sk_buff *skb, unsigned int len) in skb_clone_writable()
3753 static inline int skb_try_make_writable(struct sk_buff *skb, in skb_try_make_writable()
3760 static inline int __skb_cow(struct sk_buff *skb, unsigned int headroom, in __skb_cow()
3786 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) in skb_cow()
3801 static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom) in skb_cow_head()
3816 static inline int skb_padto(struct sk_buff *skb, unsigned int len) in skb_padto()
3835 static inline int __must_check __skb_put_padto(struct sk_buff *skb, in __skb_put_padto()
3860 static inline int __must_check skb_put_padto(struct sk_buff *skb, unsigned int len) in skb_put_padto()
3868 static inline int skb_add_data(struct sk_buff *skb, in skb_add_data()
3887 static inline bool skb_can_coalesce(struct sk_buff *skb, int i, in skb_can_coalesce()
3901 static inline int __skb_linearize(struct sk_buff *skb) in __skb_linearize()
3913 static inline int skb_linearize(struct sk_buff *skb) in skb_linearize()
3925 static inline bool skb_has_shared_frag(const struct sk_buff *skb) in skb_has_shared_frag()
3938 static inline int skb_linearize_cow(struct sk_buff *skb) in skb_linearize_cow()
3945 __skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len, in __skb_postpull_rcsum()
3966 static inline void skb_postpull_rcsum(struct sk_buff *skb, in skb_postpull_rcsum()
3978 __skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len, in __skb_postpush_rcsum()
3995 static inline void skb_postpush_rcsum(struct sk_buff *skb, in skb_postpush_rcsum()
4014 static inline void *skb_push_rcsum(struct sk_buff *skb, unsigned int len) in skb_push_rcsum()
4032 static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) in pskb_trim_rcsum()
4040 static inline int __skb_trim_rcsum(struct sk_buff *skb, unsigned int len) in __skb_trim_rcsum()
4048 static inline int __skb_grow_rcsum(struct sk_buff *skb, unsigned int len) in __skb_grow_rcsum()
4058 #define skb_rb_next(skb) rb_to_skb(rb_next(&(skb)->rbnode)) argument
4059 #define skb_rb_prev(skb) rb_to_skb(rb_prev(&(skb)->rbnode)) argument
4061 #define skb_queue_walk(queue, skb) \ argument
4066 #define skb_queue_walk_safe(queue, skb, tmp) \ argument
4071 #define skb_queue_walk_from(queue, skb) \ argument
4075 #define skb_rbtree_walk(skb, root) \ argument
4079 #define skb_rbtree_walk_from(skb) \ argument
4083 #define skb_rbtree_walk_from_safe(skb, tmp) \ argument
4087 #define skb_queue_walk_from_safe(queue, skb, tmp) \ argument
4092 #define skb_queue_reverse_walk(queue, skb) \ argument
4097 #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ argument
4102 #define skb_queue_reverse_walk_from_safe(queue, skb, tmp) \ argument
4107 static inline bool skb_has_frag_list(const struct sk_buff *skb) in skb_has_frag_list()
4112 static inline void skb_frag_list_init(struct sk_buff *skb) in skb_frag_list_init()
4117 #define skb_walk_frags(skb, iter) \ argument
4217 __skb_header_pointer(const struct sk_buff *skb, int offset, int len, in __skb_header_pointer()
4230 skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) in skb_header_pointer()
4237 skb_pointer_if_linear(const struct sk_buff *skb, int offset, int len) in skb_pointer_if_linear()
4254 static inline bool skb_needs_linearize(struct sk_buff *skb, in skb_needs_linearize()
4262 static inline void skb_copy_from_linear_data(const struct sk_buff *skb, in skb_copy_from_linear_data()
4269 static inline void skb_copy_from_linear_data_offset(const struct sk_buff *skb, in skb_copy_from_linear_data_offset()
4276 static inline void skb_copy_to_linear_data(struct sk_buff *skb, in skb_copy_to_linear_data()
4283 static inline void skb_copy_to_linear_data_offset(struct sk_buff *skb, in skb_copy_to_linear_data_offset()
4293 static inline ktime_t skb_get_ktime(const struct sk_buff *skb) in skb_get_ktime()
4307 static inline void skb_get_timestamp(const struct sk_buff *skb, in skb_get_timestamp()
4313 static inline void skb_get_new_timestamp(const struct sk_buff *skb, in skb_get_new_timestamp()
4322 static inline void skb_get_timestampns(const struct sk_buff *skb, in skb_get_timestampns()
4331 static inline void skb_get_new_timestampns(const struct sk_buff *skb, in skb_get_new_timestampns()
4340 static inline void __net_timestamp(struct sk_buff *skb) in __net_timestamp()
4351 static inline void skb_set_delivery_time(struct sk_buff *skb, ktime_t kt, in skb_set_delivery_time()
4362 static inline void skb_set_delivery_type_by_clockid(struct sk_buff *skb, in skb_set_delivery_type_by_clockid()
4389 static inline void skb_clear_delivery_time(struct sk_buff *skb) in skb_clear_delivery_time()
4400 static inline void skb_clear_tstamp(struct sk_buff *skb) in skb_clear_tstamp()
4408 static inline ktime_t skb_tstamp(const struct sk_buff *skb) in skb_tstamp()
4416 static inline ktime_t skb_tstamp_cond(const struct sk_buff *skb, bool cond) in skb_tstamp_cond()
4427 static inline u8 skb_metadata_len(const struct sk_buff *skb) in skb_metadata_len()
4432 static inline void *skb_metadata_end(const struct sk_buff *skb) in skb_metadata_end()
4489 static inline void skb_metadata_set(struct sk_buff *skb, u8 meta_len) in skb_metadata_set()
4494 static inline void skb_metadata_clear(struct sk_buff *skb) in skb_metadata_clear()
4508 static inline void skb_clone_tx_timestamp(struct sk_buff *skb) in skb_clone_tx_timestamp()
4512 static inline bool skb_defer_rx_timestamp(struct sk_buff *skb) in skb_defer_rx_timestamp()
4564 static inline void skb_tx_timestamp(struct sk_buff *skb) in skb_tx_timestamp()
4583 static inline int skb_csum_unnecessary(const struct sk_buff *skb) in skb_csum_unnecessary()
4607 static inline __sum16 skb_checksum_complete(struct sk_buff *skb) in skb_checksum_complete()
4613 static inline void __skb_decr_checksum_unnecessary(struct sk_buff *skb) in __skb_decr_checksum_unnecessary()
4623 static inline void __skb_incr_checksum_unnecessary(struct sk_buff *skb) in __skb_incr_checksum_unnecessary()
4634 static inline void __skb_reset_checksum_unnecessary(struct sk_buff *skb) in __skb_reset_checksum_unnecessary()
4647 static inline bool __skb_checksum_validate_needed(struct sk_buff *skb, in __skb_checksum_validate_needed()
4671 static inline void skb_checksum_complete_unset(struct sk_buff *skb) in skb_checksum_complete_unset()
4686 static inline __sum16 __skb_checksum_validate_complete(struct sk_buff *skb, in __skb_checksum_validate_complete()
4710 static inline __wsum null_compute_pseudo(struct sk_buff *skb, int proto) in null_compute_pseudo()
4725 #define __skb_checksum_validate(skb, proto, complete, \ argument
4736 #define skb_checksum_init(skb, proto, compute_pseudo) \ argument
4739 #define skb_checksum_init_zero_check(skb, proto, check, compute_pseudo) \ argument
4742 #define skb_checksum_validate(skb, proto, compute_pseudo) \ argument
4745 #define skb_checksum_validate_zero_check(skb, proto, check, \ argument
4749 #define skb_checksum_simple_validate(skb) \ argument
4752 static inline bool __skb_checksum_convert_check(struct sk_buff *skb) in __skb_checksum_convert_check()
4757 static inline void __skb_checksum_convert(struct sk_buff *skb, __wsum pseudo) in __skb_checksum_convert()
4763 #define skb_checksum_try_convert(skb, proto, compute_pseudo) \ argument
4769 static inline void skb_remcsum_adjust_partial(struct sk_buff *skb, void *ptr, in skb_remcsum_adjust_partial()
4782 static inline void skb_remcsum_process(struct sk_buff *skb, void *ptr, in skb_remcsum_process()
4803 static inline struct nf_conntrack *skb_nfct(const struct sk_buff *skb) in skb_nfct()
4812 static inline unsigned long skb_get_nfct(const struct sk_buff *skb) in skb_get_nfct()
4821 static inline void skb_set_nfct(struct sk_buff *skb, unsigned long nfct) in skb_set_nfct()
4873 static inline void skb_ext_put(struct sk_buff *skb) in skb_ext_put()
4903 static inline bool skb_ext_exist(const struct sk_buff *skb, enum skb_ext_id id) in skb_ext_exist()
4908 static inline void skb_ext_del(struct sk_buff *skb, enum skb_ext_id id) in skb_ext_del()
4914 static inline void *skb_ext_find(const struct sk_buff *skb, enum skb_ext_id id) in skb_ext_find()
4925 static inline void skb_ext_reset(struct sk_buff *skb) in skb_ext_reset()
4933 static inline bool skb_has_extensions(struct sk_buff *skb) in skb_has_extensions()
4938 static inline void skb_ext_put(struct sk_buff *skb) {} in skb_ext_put()
4939 static inline void skb_ext_reset(struct sk_buff *skb) {} in skb_ext_reset()
4940 static inline void skb_ext_del(struct sk_buff *skb, int unused) {} in skb_ext_del()
4943 static inline bool skb_has_extensions(struct sk_buff *skb) { return false; } in skb_has_extensions()
4946 static inline void nf_reset_ct(struct sk_buff *skb) in nf_reset_ct()
4954 static inline void nf_reset_trace(struct sk_buff *skb) in nf_reset_trace()
4961 static inline void ipvs_reset(struct sk_buff *skb) in ipvs_reset()
4997 static inline void skb_init_secmark(struct sk_buff *skb) in skb_init_secmark()
5005 static inline void skb_init_secmark(struct sk_buff *skb) in skb_init_secmark()
5009 static inline int secpath_exists(const struct sk_buff *skb) in secpath_exists()
5018 static inline bool skb_irq_freeable(const struct sk_buff *skb) in skb_irq_freeable()
5027 static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) in skb_set_queue_mapping()
5032 static inline u16 skb_get_queue_mapping(const struct sk_buff *skb) in skb_get_queue_mapping()
5042 static inline void skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) in skb_record_rx_queue()
5047 static inline u16 skb_get_rx_queue(const struct sk_buff *skb) in skb_get_rx_queue()
5052 static inline bool skb_rx_queue_recorded(const struct sk_buff *skb) in skb_rx_queue_recorded()
5057 static inline void skb_set_dst_pending_confirm(struct sk_buff *skb, u32 val) in skb_set_dst_pending_confirm()
5062 static inline bool skb_get_dst_pending_confirm(const struct sk_buff *skb) in skb_get_dst_pending_confirm()
5067 static inline struct sec_path *skb_sec_path(const struct sk_buff *skb) in skb_sec_path()
5076 static inline bool skb_is_gso(const struct sk_buff *skb) in skb_is_gso()
5082 static inline bool skb_is_gso_v6(const struct sk_buff *skb) in skb_is_gso_v6()
5088 static inline bool skb_is_gso_sctp(const struct sk_buff *skb) in skb_is_gso_sctp()
5094 static inline bool skb_is_gso_tcp(const struct sk_buff *skb) in skb_is_gso_tcp()
5099 static inline void skb_gso_reset(struct sk_buff *skb) in skb_gso_reset()
5124 static inline bool skb_warn_if_lro(const struct sk_buff *skb) in skb_warn_if_lro()
5138 static inline void skb_forward_csum(struct sk_buff *skb) in skb_forward_csum()
5153 static inline void skb_checksum_none_assert(const struct sk_buff *skb) in skb_checksum_none_assert()
5174 static inline bool skb_head_is_locked(const struct sk_buff *skb) in skb_head_is_locked()
5188 static inline __wsum lco_csum(struct sk_buff *skb) in lco_csum()
5204 static inline bool skb_is_redirected(const struct sk_buff *skb) in skb_is_redirected()
5209 static inline void skb_set_redirected(struct sk_buff *skb, bool from_ingress) in skb_set_redirected()
5219 static inline void skb_reset_redirect(struct sk_buff *skb) in skb_reset_redirect()
5224 static inline void skb_set_redirected_noclear(struct sk_buff *skb, in skb_set_redirected_noclear()
5233 static inline bool skb_csum_is_sctp(struct sk_buff *skb) in skb_csum_is_sctp()
5242 static inline void skb_reset_csum_not_inet(struct sk_buff *skb) in skb_reset_csum_not_inet()
5250 static inline void skb_set_kcov_handle(struct sk_buff *skb, in skb_set_kcov_handle()
5258 static inline u64 skb_get_kcov_handle(struct sk_buff *skb) in skb_get_kcov_handle()
5267 static inline void skb_mark_for_recycle(struct sk_buff *skb) in skb_mark_for_recycle()