Lines Matching defs:skb

97 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr,  in skb_panic()
107 static void skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_over_panic()
112 static void skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) in skb_under_panic()
182 struct sk_buff *skb; in __alloc_skb() local
278 struct sk_buff *skb; in __build_skb() local
312 struct sk_buff *skb = __build_skb(data, frag_size); in build_skb() local
391 struct sk_buff *skb; in __netdev_alloc_skb() local
459 struct sk_buff *skb; in __napi_alloc_skb() local
502 void skb_add_rx_frag(struct sk_buff *skb, int i, struct page *page, int off, in skb_add_rx_frag()
512 void skb_coalesce_rx_frag(struct sk_buff *skb, int i, int size, in skb_coalesce_rx_frag()
530 static inline void skb_drop_fraglist(struct sk_buff *skb) in skb_drop_fraglist()
535 static void skb_clone_fraglist(struct sk_buff *skb) in skb_clone_fraglist()
543 static void skb_free_head(struct sk_buff *skb) in skb_free_head()
553 static void skb_release_data(struct sk_buff *skb) in skb_release_data()
576 static void kfree_skbmem(struct sk_buff *skb) in kfree_skbmem()
606 void skb_release_head_state(struct sk_buff *skb) in skb_release_head_state()
623 static void skb_release_all(struct sk_buff *skb) in skb_release_all()
639 void __kfree_skb(struct sk_buff *skb) in __kfree_skb()
653 void kfree_skb(struct sk_buff *skb) in kfree_skb()
681 void skb_tx_error(struct sk_buff *skb) in skb_tx_error()
695 void consume_skb(struct sk_buff *skb) in consume_skb()
712 void __consume_stateless_skb(struct sk_buff *skb) in __consume_stateless_skb()
731 static inline void _kfree_skb_defer(struct sk_buff *skb) in _kfree_skb_defer()
753 void __kfree_skb_defer(struct sk_buff *skb) in __kfree_skb_defer()
758 void napi_consume_skb(struct sk_buff *skb, int budget) in napi_consume_skb()
846 static struct sk_buff *__skb_clone(struct sk_buff *n, struct sk_buff *skb) in __skb_clone()
938 struct sk_buff *skb; in sock_zerocopy_alloc() local
1012 static bool skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) in skb_zerocopy_notify_extend()
1034 struct sk_buff *tail, *skb = skb_from_uarg(uarg); in sock_zerocopy_callback() local
1108 int skb_zerocopy_iter_stream(struct sock *sk, struct sk_buff *skb, in skb_zerocopy_iter_stream()
1174 int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) in skb_copy_ubufs()
1262 struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask) in skb_clone()
1291 void skb_headers_offset_update(struct sk_buff *skb, int off) in skb_headers_offset_update()
1317 static inline int skb_alloc_rx_flag(const struct sk_buff *skb) in skb_alloc_rx_flag()
1341 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) in skb_copy()
1380 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, in __pskb_copy_fclone()
1444 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head()
1533 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom()
1570 struct sk_buff *skb_copy_expand(const struct sk_buff *skb, in skb_copy_expand()
1624 int __skb_pad(struct sk_buff *skb, int pad, bool free_on_error) in __skb_pad()
1672 void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) in pskb_put()
1691 void *skb_put(struct sk_buff *skb, unsigned int len) in skb_put()
1712 void *skb_push(struct sk_buff *skb, unsigned int len) in skb_push()
1732 void *skb_pull(struct sk_buff *skb, unsigned int len) in skb_pull()
1747 void skb_trim(struct sk_buff *skb, unsigned int len) in skb_trim()
1757 int ___pskb_trim(struct sk_buff *skb, unsigned int len) in ___pskb_trim()
1844 int pskb_trim_rcsum_slow(struct sk_buff *skb, unsigned int len) in pskb_trim_rcsum_slow()
1882 void *__pskb_pull_tail(struct sk_buff *skb, int delta) in __pskb_pull_tail()
2020 int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) in skb_copy_bits()
2205 static bool __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, in __skb_splice_bits()
2257 int skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset, in skb_splice_bits()
2282 int skb_send_sock_locked(struct sock *sk, struct sk_buff *skb, int offset, in skb_send_sock_locked()
2370 int skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len) in skb_send_sock()
2394 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) in skb_store_bits()
2472 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, in __skb_checksum()
2550 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum()
2564 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, in skb_copy_and_csum_bits()
2773 void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to) in skb_copy_and_csum_dev()
2851 struct sk_buff *skb; in skb_queue_purge() local
2873 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); in skb_rbtree_purge() local
2935 void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) in skb_unlink()
2987 static inline void skb_split_inside_header(struct sk_buff *skb, in skb_split_inside_header()
3008 static inline void skb_split_no_header(struct sk_buff *skb, in skb_split_no_header()
3055 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) in skb_split()
3073 static int skb_prepare_for_shift(struct sk_buff *skb) in skb_prepare_for_shift()
3096 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) in skb_shift()
3226 void skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, in skb_prepare_seq_read()
3369 unsigned int skb_find_text(struct sk_buff *skb, unsigned int from, in skb_find_text()
3396 int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb, in skb_append_datato_frags()
3398 int len, int odd, struct sk_buff *skb), in skb_append_datato_frags()
3443 int skb_append_pagefrags(struct sk_buff *skb, struct page *page, in skb_append_pagefrags()
3472 void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len) in skb_pull_rcsum()
3822 int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb) in skb_gro_receive()
3951 __skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len, in __skb_to_sgvec()
4034 int skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) in skb_to_sgvec()
4066 int skb_to_sgvec_nomark(struct sk_buff *skb, struct scatterlist *sg, in skb_to_sgvec_nomark()
4092 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) in skb_cow_data()
4185 static void sock_rmem_free(struct sk_buff *skb) in sock_rmem_free()
4192 static void skb_set_err_queue(struct sk_buff *skb) in skb_set_err_queue()
4204 int sock_queue_err_skb(struct sock *sk, struct sk_buff *skb) in sock_queue_err_skb()
4226 static bool is_icmp_err_skb(const struct sk_buff *skb) in is_icmp_err_skb()
4235 struct sk_buff *skb, *skb_next = NULL; in sock_dequeue_err_skb() local
4271 struct sk_buff *skb_clone_sk(struct sk_buff *skb) in skb_clone_sk()
4292 static void __skb_complete_tx_timestamp(struct sk_buff *skb, in __skb_complete_tx_timestamp()
4336 void skb_complete_tx_timestamp(struct sk_buff *skb, in skb_complete_tx_timestamp()
4363 struct sk_buff *skb; in __skb_tstamp_tx() local
4416 void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) in skb_complete_wifi_ack()
4454 bool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off) in skb_partial_csum_set()
4472 static int skb_maybe_pull_tail(struct sk_buff *skb, unsigned int len, in skb_maybe_pull_tail()
4495 static __sum16 *skb_checksum_setup_ip(struct sk_buff *skb, in skb_checksum_setup_ip()
4529 static int skb_checksum_setup_ipv4(struct sk_buff *skb, bool recalculate) in skb_checksum_setup_ipv4()
4574 #define OPT_HDR(type, skb, off) \ argument
4577 static int skb_checksum_setup_ipv6(struct sk_buff *skb, bool recalculate) in skb_checksum_setup_ipv6()
4682 int skb_checksum_setup(struct sk_buff *skb, bool recalculate) in skb_checksum_setup()
4717 static struct sk_buff *skb_checksum_maybe_trim(struct sk_buff *skb, in skb_checksum_maybe_trim()
4757 struct sk_buff *skb_checksum_trimmed(struct sk_buff *skb, in skb_checksum_trimmed()
4759 __sum16(*skb_chkf)(struct sk_buff *skb)) in skb_checksum_trimmed()
4790 void __skb_warn_lro_forwarding(const struct sk_buff *skb) in __skb_warn_lro_forwarding()
4797 void kfree_skb_partial(struct sk_buff *skb, bool head_stolen) in kfree_skb_partial()
4905 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet()
4934 static unsigned int skb_gso_transport_seglen(const struct sk_buff *skb) in skb_gso_transport_seglen()
4969 static unsigned int skb_gso_network_seglen(const struct sk_buff *skb) in skb_gso_network_seglen()
4986 static unsigned int skb_gso_mac_seglen(const struct sk_buff *skb) in skb_gso_mac_seglen()
5012 static inline bool skb_gso_size_check(const struct sk_buff *skb, in skb_gso_size_check()
5042 bool skb_gso_validate_network_len(const struct sk_buff *skb, unsigned int mtu) in skb_gso_validate_network_len()
5057 bool skb_gso_validate_mac_len(const struct sk_buff *skb, unsigned int len) in skb_gso_validate_mac_len()
5063 static struct sk_buff *skb_reorder_vlan_header(struct sk_buff *skb) in skb_reorder_vlan_header()
5081 struct sk_buff *skb_vlan_untag(struct sk_buff *skb) in skb_vlan_untag()
5121 int skb_ensure_writable(struct sk_buff *skb, int write_len) in skb_ensure_writable()
5136 int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) in __skb_vlan_pop()
5175 int skb_vlan_pop(struct sk_buff *skb) in skb_vlan_pop()
5208 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push()
5254 struct sk_buff *skb; in alloc_skb_with_frags() local
5313 static int pskb_carve_inside_header(struct sk_buff *skb, const u32 off, in pskb_carve_inside_header()
5382 static int pskb_carve_frag_list(struct sk_buff *skb, in pskb_carve_frag_list()
5436 static int pskb_carve_inside_nonlinear(struct sk_buff *skb, const u32 off, in pskb_carve_inside_nonlinear()
5518 static int pskb_carve(struct sk_buff *skb, const u32 len, gfp_t gfp) in pskb_carve()
5531 struct sk_buff *pskb_extract(struct sk_buff *skb, int off, in pskb_extract()
5560 void skb_condense(struct sk_buff *skb) in skb_condense()