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()
162 struct sk_buff *skb; in __alloc_skb_head() local
207 struct sk_buff *skb; in __alloc_skb() local
306 struct sk_buff *skb; in __build_skb() local
341 struct sk_buff *skb = __build_skb(data, frag_size); in build_skb() local
487 struct sk_buff *skb = NULL; in __alloc_rx_skb() local
529 struct sk_buff *skb; in __netdev_alloc_skb() local
559 struct sk_buff *skb; in __napi_alloc_skb() local
573 void skb_add_rx_frag(struct sk_buff *skb, int i, struct page *page, int off, in skb_add_rx_frag()
583 void skb_coalesce_rx_frag(struct sk_buff *skb, int i, int size, in skb_coalesce_rx_frag()
601 static inline void skb_drop_fraglist(struct sk_buff *skb) in skb_drop_fraglist()
606 static void skb_clone_fraglist(struct sk_buff *skb) in skb_clone_fraglist()
614 static void skb_free_head(struct sk_buff *skb) in skb_free_head()
622 static void skb_release_data(struct sk_buff *skb) in skb_release_data()
656 static void kfree_skbmem(struct sk_buff *skb) in kfree_skbmem()
686 static void skb_release_head_state(struct sk_buff *skb) in skb_release_head_state()
705 static void skb_release_all(struct sk_buff *skb) in skb_release_all()
721 void __kfree_skb(struct sk_buff *skb) in __kfree_skb()
735 void kfree_skb(struct sk_buff *skb) in kfree_skb()
766 void skb_tx_error(struct sk_buff *skb) in skb_tx_error()
787 void consume_skb(struct sk_buff *skb) in consume_skb()
864 static struct sk_buff *__skb_clone(struct sk_buff *n, struct sk_buff *skb) in __skb_clone()
926 int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) in skb_copy_ubufs()
986 struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask) in skb_clone()
1016 static void skb_headers_offset_update(struct sk_buff *skb, int off) in skb_headers_offset_update()
1040 static inline int skb_alloc_rx_flag(const struct sk_buff *skb) in skb_alloc_rx_flag()
1064 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) in skb_copy()
1104 struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, in __pskb_copy_fclone()
1167 int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, in pskb_expand_head()
1246 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom()
1283 struct sk_buff *skb_copy_expand(const struct sk_buff *skb, in skb_copy_expand()
1336 int skb_pad(struct sk_buff *skb, int pad) in skb_pad()
1383 unsigned char *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) in pskb_put()
1402 unsigned char *skb_put(struct sk_buff *skb, unsigned int len) in skb_put()
1423 unsigned char *skb_push(struct sk_buff *skb, unsigned int len) in skb_push()
1443 unsigned char *skb_pull(struct sk_buff *skb, unsigned int len) in skb_pull()
1458 void skb_trim(struct sk_buff *skb, unsigned int len) in skb_trim()
1468 int ___pskb_trim(struct sk_buff *skb, unsigned int len) in ___pskb_trim()
1576 unsigned char *__pskb_pull_tail(struct sk_buff *skb, int delta) in __pskb_pull_tail()
1708 int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) in skb_copy_bits()
1889 static bool __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, in __skb_splice_bits()
1929 int skb_splice_bits(struct sk_buff *skb, unsigned int offset, in skb_splice_bits()
1997 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) in skb_store_bits()
2070 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, in __skb_checksum()
2141 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum()
2155 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, in skb_copy_and_csum_bits()
2330 void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to) in skb_copy_and_csum_dev()
2408 struct sk_buff *skb; in skb_queue_purge() local
2466 void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) in skb_unlink()
2518 static inline void skb_split_inside_header(struct sk_buff *skb, in skb_split_inside_header()
2539 static inline void skb_split_no_header(struct sk_buff *skb, in skb_split_no_header()
2586 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) in skb_split()
2602 static int skb_prepare_for_shift(struct sk_buff *skb) in skb_prepare_for_shift()
2625 int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) in skb_shift()
2751 void skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, in skb_prepare_seq_read()
2894 unsigned int skb_find_text(struct sk_buff *skb, unsigned int from, in skb_find_text()
2921 int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb, in skb_append_datato_frags()
2923 int len, int odd, struct sk_buff *skb), in skb_append_datato_frags()
2979 unsigned char *skb_pull_rcsum(struct sk_buff *skb, unsigned int len) in skb_pull_rcsum()
3225 int skb_gro_receive(struct sk_buff **head, struct sk_buff *skb) in skb_gro_receive()
3361 __skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) in __skb_to_sgvec()
3439 int skb_to_sgvec_nomark(struct sk_buff *skb, struct scatterlist *sg, in skb_to_sgvec_nomark()
3446 int skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) in skb_to_sgvec()
3473 int skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) in skb_cow_data()
3566 static void sock_rmem_free(struct sk_buff *skb) in sock_rmem_free()
3576 int sock_queue_err_skb(struct sock *sk, struct sk_buff *skb) in sock_queue_err_skb()
3600 struct sk_buff *skb, *skb_next; in sock_dequeue_err_skb() local
3631 struct sk_buff *skb_clone_sk(struct sk_buff *skb) in skb_clone_sk()
3652 static void __skb_complete_tx_timestamp(struct sk_buff *skb, in __skb_complete_tx_timestamp()
3691 void skb_complete_tx_timestamp(struct sk_buff *skb, in skb_complete_tx_timestamp()
3713 struct sk_buff *skb; in __skb_tstamp_tx() local
3752 void skb_complete_wifi_ack(struct sk_buff *skb, bool acked) in skb_complete_wifi_ack()
3789 bool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off) in skb_partial_csum_set()
3805 static int skb_maybe_pull_tail(struct sk_buff *skb, unsigned int len, in skb_maybe_pull_tail()
3828 static __sum16 *skb_checksum_setup_ip(struct sk_buff *skb, in skb_checksum_setup_ip()
3862 static int skb_checksum_setup_ipv4(struct sk_buff *skb, bool recalculate) in skb_checksum_setup_ipv4()
3907 #define OPT_HDR(type, skb, off) \ argument
3910 static int skb_checksum_setup_ipv6(struct sk_buff *skb, bool recalculate) in skb_checksum_setup_ipv6()
4015 int skb_checksum_setup(struct sk_buff *skb, bool recalculate) in skb_checksum_setup()
4037 void __skb_warn_lro_forwarding(const struct sk_buff *skb) in __skb_warn_lro_forwarding()
4044 void kfree_skb_partial(struct sk_buff *skb, bool head_stolen) in kfree_skb_partial()
4147 void skb_scrub_packet(struct sk_buff *skb, bool xnet) in skb_scrub_packet()
4177 unsigned int skb_gso_transport_seglen(const struct sk_buff *skb) in skb_gso_transport_seglen()
4199 static struct sk_buff *skb_reorder_vlan_header(struct sk_buff *skb) in skb_reorder_vlan_header()
4212 struct sk_buff *skb_vlan_untag(struct sk_buff *skb) in skb_vlan_untag()
4252 int skb_ensure_writable(struct sk_buff *skb, int write_len) in skb_ensure_writable()
4265 static int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) in __skb_vlan_pop()
4297 int skb_vlan_pop(struct sk_buff *skb) in skb_vlan_pop()
4331 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push()
4378 struct sk_buff *skb; in alloc_skb_with_frags() local