Lines Matching defs:skb
199 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic()
209 static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_over_panic()
214 static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_under_panic()
301 struct sk_buff *skb; in napi_get_frags_check() local
349 struct sk_buff *skb; in napi_skb_cache_get() local
370 static inline void __finalize_skb_around(struct sk_buff *skb, void *data, in __finalize_skb_around()
395 static inline void *__slab_build_skb(struct sk_buff *skb, void *data, in __slab_build_skb()
420 struct sk_buff *skb; in slab_build_skb() local
437 static void __build_skb_around(struct sk_buff *skb, void *data, in __build_skb_around()
473 struct sk_buff *skb; in __build_skb() local
491 struct sk_buff *skb = __build_skb(data, frag_size); in build_skb() local
507 struct sk_buff *build_skb_around(struct sk_buff *skb, in build_skb_around()
535 struct sk_buff *skb; in __napi_build_skb() local
559 struct sk_buff *skb = __napi_build_skb(data, frag_size); in napi_build_skb() local
653 struct sk_buff *skb; in __alloc_skb() local
730 struct sk_buff *skb; in __netdev_alloc_skb() local
807 struct sk_buff *skb; in napi_alloc_skb() local
879 void skb_add_rx_frag_netmem(struct sk_buff *skb, int i, netmem_ref netmem, in skb_add_rx_frag_netmem()
891 void skb_coalesce_rx_frag(struct sk_buff *skb, int i, int size, in skb_coalesce_rx_frag()
911 static inline void skb_drop_fraglist(struct sk_buff *skb) in skb_drop_fraglist()
916 static void skb_clone_fraglist(struct sk_buff *skb) in skb_clone_fraglist()
934 struct sk_buff *skb = *pskb, *nskb; in skb_pp_cow_data() local
1043 static bool skb_pp_recycle(struct sk_buff *skb, void *data) in skb_pp_recycle()
1060 static int skb_pp_frag_ref(struct sk_buff *skb) in skb_pp_frag_ref()
1089 static void skb_free_head(struct sk_buff *skb) in skb_free_head()
1102 static void skb_release_data(struct sk_buff *skb, enum skb_drop_reason reason) in skb_release_data()
1142 static void kfree_skbmem(struct sk_buff *skb) in kfree_skbmem()
1172 void skb_release_head_state(struct sk_buff *skb) in skb_release_head_state()
1186 static void skb_release_all(struct sk_buff *skb, enum skb_drop_reason reason) in skb_release_all()
1202 void __kfree_skb(struct sk_buff *skb) in __kfree_skb()
1210 bool __sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, in __sk_skb_reason_drop()
1239 sk_skb_reason_drop(struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason) in sk_skb_reason_drop()
1253 static void kfree_skb_add_bulk(struct sk_buff *skb, in kfree_skb_add_bulk()
1302 void skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) in skb_dump()
1412 void skb_tx_error(struct sk_buff *skb) in skb_tx_error()
1430 void consume_skb(struct sk_buff *skb) in consume_skb()
1448 void __consume_stateless_skb(struct sk_buff *skb) in __consume_stateless_skb()
1455 static void napi_skb_cache_put(struct sk_buff *skb) in napi_skb_cache_put()
1478 void __napi_kfree_skb(struct sk_buff *skb, enum skb_drop_reason reason) in __napi_kfree_skb()
1484 void napi_skb_free_stolen_head(struct sk_buff *skb) in napi_skb_free_stolen_head()
1496 void napi_consume_skb(struct sk_buff *skb, int budget) in napi_consume_skb()
1579 static struct sk_buff *__skb_clone(struct sk_buff *n, struct sk_buff *skb) in __skb_clone()
1700 struct sk_buff *skb; in msg_zerocopy_alloc() local
1784 static bool skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) in skb_zerocopy_notify_extend()
1806 struct sk_buff *tail, *skb = skb_from_uarg(uarg); in __msg_zerocopy_callback() local
1854 static void msg_zerocopy_complete(struct sk_buff *skb, struct ubuf_info *uarg, in msg_zerocopy_complete()
1882 int skb_zerocopy_iter_stream(struct sock *sk, struct sk_buff *skb, in skb_zerocopy_iter_stream()
1920 void __skb_zcopy_downgrade_managed(struct sk_buff *skb) in __skb_zcopy_downgrade_managed()
1965 int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) in skb_copy_ubufs()
2065 struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask) in skb_clone()
2095 void skb_headers_offset_update(struct sk_buff *skb, int off) in skb_headers_offset_update()
2121 static inline int skb_alloc_rx_flag(const struct sk_buff *skb) in skb_alloc_rx_flag()
2145 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) in skb_copy()
2193 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, in __pskb_copy_fclone()
2257 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head()
2346 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom()
2366 int __skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri) in __skb_unclone_keeptruesize()
2424 struct sk_buff *skb_expand_head(struct sk_buff *skb, unsigned int headroom) in skb_expand_head()
2481 struct sk_buff *skb_copy_expand(const struct sk_buff *skb, in skb_copy_expand()
2543 int __skb_pad(struct sk_buff *skb, int pad, bool free_on_error) in __skb_pad()
2591 void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) in pskb_put()
2610 void *skb_put(struct sk_buff *skb, unsigned int len) in skb_put()
2631 void *skb_push(struct sk_buff *skb, unsigned int len) in skb_push()
2651 void *skb_pull(struct sk_buff *skb, unsigned int len) in skb_pull()
2668 void *skb_pull_data(struct sk_buff *skb, size_t len) in skb_pull_data()
2690 void skb_trim(struct sk_buff *skb, unsigned int len) in skb_trim()
2700 int ___pskb_trim(struct sk_buff *skb, unsigned int len) in ___pskb_trim()
2787 int pskb_trim_rcsum_slow(struct sk_buff *skb, unsigned int len) in pskb_trim_rcsum_slow()
2831 void *__pskb_pull_tail(struct sk_buff *skb, int delta) in __pskb_pull_tail()
2975 int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) in skb_copy_bits()
3163 static bool __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, in __skb_splice_bits()
3221 int skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset, in skb_splice_bits()
3269 static int __skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, in __skb_send_sock()
3368 int skb_send_sock_locked(struct sock *sk, struct sk_buff *skb, int offset, in skb_send_sock_locked()
3376 int skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len) in skb_send_sock()
3393 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) in skb_store_bits()
3474 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, in __skb_checksum()
3561 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum()
3575 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, in skb_copy_and_csum_bits()
3663 __sum16 __skb_checksum_complete_head(struct sk_buff *skb, int len) in __skb_checksum_complete_head()
3689 __sum16 __skb_checksum_complete(struct sk_buff *skb) in __skb_checksum_complete()
3853 void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to) in skb_copy_and_csum_dev()
3965 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); in skb_rbtree_purge() local
3977 struct sk_buff *skb, *next; in skb_errqueue_purge() local
4048 void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) in skb_unlink()
4078 static inline void skb_split_inside_header(struct sk_buff *skb, in skb_split_inside_header()
4100 static inline void skb_split_no_header(struct sk_buff *skb, in skb_split_no_header()
4149 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) in skb_split()
4169 static int skb_prepare_for_shift(struct sk_buff *skb) in skb_prepare_for_shift()
4192 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) in skb_shift()
4319 void skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, in skb_prepare_seq_read()
4518 unsigned int skb_find_text(struct sk_buff *skb, unsigned int from, in skb_find_text()
4537 int skb_append_pagefrags(struct sk_buff *skb, struct page *page, in skb_append_pagefrags()
4567 void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len) in skb_pull_rcsum()
4590 struct sk_buff *skb_segment_list(struct sk_buff *skb, in skb_segment_list()
5132 __skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len, in __skb_to_sgvec()
5215 int skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) in skb_to_sgvec()
5247 int skb_to_sgvec_nomark(struct sk_buff *skb, struct scatterlist *sg, in skb_to_sgvec_nomark()
5273 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) in skb_cow_data()
5366 static void sock_rmem_free(struct sk_buff *skb) in sock_rmem_free()
5373 static void skb_set_err_queue(struct sk_buff *skb) in skb_set_err_queue()
5385 int sock_queue_err_skb(struct sock *sk, struct sk_buff *skb) in sock_queue_err_skb()
5407 static bool is_icmp_err_skb(const struct sk_buff *skb) in is_icmp_err_skb()
5416 struct sk_buff *skb, *skb_next = NULL; in sock_dequeue_err_skb() local
5455 struct sk_buff *skb_clone_sk(struct sk_buff *skb) in skb_clone_sk()
5476 static void __skb_complete_tx_timestamp(struct sk_buff *skb, in __skb_complete_tx_timestamp()
5519 void skb_complete_tx_timestamp(struct sk_buff *skb, in skb_complete_tx_timestamp()
5547 struct sk_buff *skb; in __skb_tstamp_tx() local
5608 void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) in skb_complete_wifi_ack()
5647 bool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off) in skb_partial_csum_set()
5665 static int skb_maybe_pull_tail(struct sk_buff *skb, unsigned int len, in skb_maybe_pull_tail()
5688 static __sum16 *skb_checksum_setup_ip(struct sk_buff *skb, in skb_checksum_setup_ip()
5722 static int skb_checksum_setup_ipv4(struct sk_buff *skb, bool recalculate) in skb_checksum_setup_ipv4()
5767 #define OPT_HDR(type, skb, off) \ argument
5770 static int skb_checksum_setup_ipv6(struct sk_buff *skb, bool recalculate) in skb_checksum_setup_ipv6()
5875 int skb_checksum_setup(struct sk_buff *skb, bool recalculate) in skb_checksum_setup()
5910 static struct sk_buff *skb_checksum_maybe_trim(struct sk_buff *skb, in skb_checksum_maybe_trim()
5950 struct sk_buff *skb_checksum_trimmed(struct sk_buff *skb, in skb_checksum_trimmed()
5952 __sum16(*skb_chkf)(struct sk_buff *skb)) in skb_checksum_trimmed()
5983 void __skb_warn_lro_forwarding(const struct sk_buff *skb) in __skb_warn_lro_forwarding()
5990 void kfree_skb_partial(struct sk_buff *skb, bool head_stolen) in kfree_skb_partial()
6112 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet()
6136 static struct sk_buff *skb_reorder_vlan_header(struct sk_buff *skb) in skb_reorder_vlan_header()
6162 struct sk_buff *skb_vlan_untag(struct sk_buff *skb) in skb_vlan_untag()
6203 int skb_ensure_writable(struct sk_buff *skb, unsigned int write_len) in skb_ensure_writable()
6218 int skb_ensure_writable_head_tail(struct sk_buff *skb, struct net_device *dev) in skb_ensure_writable_head_tail()
6246 int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) in __skb_vlan_pop()
6279 int skb_vlan_pop(struct sk_buff *skb) in skb_vlan_pop()
6312 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push()
6351 int skb_eth_pop(struct sk_buff *skb) in skb_eth_pop()
6378 int skb_eth_push(struct sk_buff *skb, const unsigned char *dst, in skb_eth_push()
6407 static void skb_mod_eth_type(struct sk_buff *skb, struct ethhdr *hdr, in skb_mod_eth_type()
6434 int skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, in skb_mpls_push()
6487 int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, in skb_mpls_pop()
6530 int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse) in skb_mpls_update_lse()
6562 int skb_mpls_dec_ttl(struct sk_buff *skb) in skb_mpls_dec_ttl()
6603 struct sk_buff *skb; in alloc_skb_with_frags() local
6652 static int pskb_carve_inside_header(struct sk_buff *skb, const u32 off, in pskb_carve_inside_header()
6713 static int pskb_carve_frag_list(struct sk_buff *skb, in pskb_carve_frag_list()
6767 static int pskb_carve_inside_nonlinear(struct sk_buff *skb, const u32 off, in pskb_carve_inside_nonlinear()
6844 static int pskb_carve(struct sk_buff *skb, const u32 len, gfp_t gfp) in pskb_carve()
6857 struct sk_buff *pskb_extract(struct sk_buff *skb, int off, in pskb_extract()
6886 void skb_condense(struct sk_buff *skb) in skb_condense()
6980 void *__skb_ext_set(struct sk_buff *skb, enum skb_ext_id id, in __skb_ext_set()
7008 void *skb_ext_add(struct sk_buff *skb, enum skb_ext_id id) in skb_ext_add()
7061 void __skb_ext_del(struct sk_buff *skb, enum skb_ext_id id) in __skb_ext_del()
7106 static void kfree_skb_napi_cache(struct sk_buff *skb) in kfree_skb_napi_cache()
7127 void skb_attempt_defer_free(struct sk_buff *skb) in skb_attempt_defer_free()
7167 static void skb_splice_csum_page(struct sk_buff *skb, struct page *page, in skb_splice_csum_page()
7194 ssize_t skb_splice_from_iter(struct sk_buff *skb, struct iov_iter *iter, in skb_splice_from_iter()