Home
last modified time | relevance | path

Searched refs:skb (Results 1 - 25 of 6453) sorted by relevance

12345678910>>...259

/kernel/linux/linux-6.6/include/linux/
H A Dskbuff.h42 * DOC: skb checksums
103 * not in skb->csum. Thus, skb->csum is undefined in this case.
131 * checksum is bad, skb->csum_level would be set to zero (TCP checksum is
143 * skb->csum, it MUST use CHECKSUM_COMPLETE, not CHECKSUM_UNNECESSARY.
153 * referred to by skb->csum_start + skb->csum_offset and any preceding
192 * The skb was already checksummed by the protocol, or a checksum is not
251 /* Maximum value in skb->csum_level */
258 /* For X bytes available in skb
1098 skb_pfmemalloc(const struct sk_buff *skb) skb_pfmemalloc() argument
1116 skb_dst(const struct sk_buff *skb) skb_dst() argument
1135 skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) skb_dst_set() argument
1151 skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) skb_dst_set_noref() argument
1162 skb_dst_is_noref(const struct sk_buff *skb) skb_dst_is_noref() argument
1171 skb_rtable(const struct sk_buff *skb) skb_rtable() argument
1189 skb_napi_id(const struct sk_buff *skb) skb_napi_id() argument
1198 skb_wifi_acked_valid(const struct sk_buff *skb) skb_wifi_acked_valid() argument
1213 skb_unref(struct sk_buff *skb) skb_unref() argument
1232 kfree_skb(struct sk_buff *skb) kfree_skb() argument
1251 consume_skb(struct sk_buff *skb) consume_skb() argument
1314 skb_fclone_busy(const struct sock *sk, const struct sk_buff *skb) skb_fclone_busy() argument
1347 __pskb_copy(struct sk_buff *skb, int headroom, gfp_t gfp_mask) __pskb_copy() argument
1377 skb_pad(struct sk_buff *skb, int pad) skb_pad() argument
1439 skb_clear_hash(struct sk_buff *skb) skb_clear_hash() argument
1446 skb_clear_hash_if_not_l4(struct sk_buff *skb) skb_clear_hash_if_not_l4() argument
1453 __skb_set_hash(struct sk_buff *skb, __u32 hash, bool is_sw, bool is_l4) __skb_set_hash() argument
1461 skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) skb_set_hash() argument
1468 __skb_set_sw_hash(struct sk_buff *skb, __u32 hash, bool is_l4) __skb_set_sw_hash() argument
1481 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto) skb_flow_get_ports() argument
1501 skb_flow_dissect(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, unsigned int flags) skb_flow_dissect() argument
1509 skb_flow_dissect_flow_keys(const struct sk_buff *skb, struct flow_keys *flow, unsigned int flags) skb_flow_dissect_flow_keys() argument
1519 skb_flow_dissect_flow_keys_basic(const struct net *net, const struct sk_buff *skb, struct flow_keys_basic *flow, const void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) skb_flow_dissect_flow_keys_basic() argument
1553 skb_get_hash(struct sk_buff *skb) skb_get_hash() argument
1561 skb_get_hash_flowi6(struct sk_buff *skb, const struct flowi6 *fl6) skb_get_hash_flowi6() argument
1576 skb_get_hash_raw(const struct sk_buff *skb) skb_get_hash_raw() argument
1607 skb_end_pointer(const struct sk_buff *skb) skb_end_pointer() argument
1612 skb_end_offset(const struct sk_buff *skb) skb_end_offset() argument
1617 skb_set_end_offset(struct sk_buff *skb, unsigned int offset) skb_set_end_offset() argument
1622 skb_end_pointer(const struct sk_buff *skb) skb_end_pointer() argument
1627 skb_end_offset(const struct sk_buff *skb) skb_end_offset() argument
1632 skb_set_end_offset(struct sk_buff *skb, unsigned int offset) skb_set_end_offset() argument
1650 skb_zerocopy_iter_dgram(struct sk_buff *skb, struct msghdr *msg, int len) skb_zerocopy_iter_dgram() argument
1663 skb_hwtstamps(struct sk_buff *skb) skb_hwtstamps() argument
1668 skb_zcopy(struct sk_buff *skb) skb_zcopy() argument
1675 skb_zcopy_pure(const struct sk_buff *skb) skb_zcopy_pure() argument
1680 skb_zcopy_managed(const struct sk_buff *skb) skb_zcopy_managed() argument
1696 skb_zcopy_init(struct sk_buff *skb, struct ubuf_info *uarg) skb_zcopy_init() argument
1702 skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg, bool *have_ref) skb_zcopy_set() argument
1714 skb_zcopy_set_nouarg(struct sk_buff *skb, void *val) skb_zcopy_set_nouarg() argument
1720 skb_zcopy_is_nouarg(struct sk_buff *skb) skb_zcopy_is_nouarg() argument
1725 skb_zcopy_get_nouarg(struct sk_buff *skb) skb_zcopy_get_nouarg() argument
1747 skb_zcopy_clear(struct sk_buff *skb, bool zerocopy_success) skb_zcopy_clear() argument
1761 skb_zcopy_downgrade_managed(struct sk_buff *skb) skb_zcopy_downgrade_managed() argument
1767 skb_mark_not_on_list(struct sk_buff *skb) skb_mark_not_on_list() argument
1772 skb_poison_list(struct sk_buff *skb) skb_poison_list() argument
1784 skb_list_del_init(struct sk_buff *skb) skb_list_del_init() argument
1821 skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_is_last() argument
1834 skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_is_first() argument
1848 skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_next() argument
1866 skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_prev() argument
1883 skb_get(struct sk_buff *skb) skb_get() argument
1901 skb_cloned(const struct sk_buff *skb) skb_cloned() argument
1907 skb_unclone(struct sk_buff *skb, gfp_t pri) skb_unclone() argument
1924 skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri) skb_unclone_keeptruesize() argument
1940 skb_header_cloned(const struct sk_buff *skb) skb_header_cloned() argument
1952 skb_header_unclone(struct sk_buff *skb, gfp_t pri) skb_header_unclone() argument
1968 __skb_header_release(struct sk_buff *skb) __skb_header_release() argument
1982 skb_shared(const struct sk_buff *skb) skb_shared() argument
2000 skb_share_check(struct sk_buff *skb, gfp_t pri) skb_share_check() argument
2035 skb_unshare(struct sk_buff *skb, gfp_t pri) skb_unshare() argument
2067 struct sk_buff *skb = list_->next; skb_peek() local
2094 skb_peek_next(struct sk_buff *skb, const struct sk_buff_head *list_) skb_peek_next() argument
2119 struct sk_buff *skb = READ_ONCE(list_->prev); skb_peek_tail() local
2351 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) __skb_unlink() argument
2373 struct sk_buff *skb = skb_peek(list); __skb_dequeue() local
2390 struct sk_buff *skb = skb_peek_tail(list); __skb_dequeue_tail() local
2398 skb_is_nonlinear(const struct sk_buff *skb) skb_is_nonlinear() argument
2403 skb_headlen(const struct sk_buff *skb) skb_headlen() argument
2408 __skb_pagelen(const struct sk_buff *skb) __skb_pagelen() argument
2417 skb_pagelen(const struct sk_buff *skb) skb_pagelen() argument
2445 skb_len_add(struct sk_buff *skb, int delta) skb_len_add() argument
2465 __skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) __skb_fill_page_desc() argument
2493 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) skb_fill_page_desc() argument
2511 skb_fill_page_desc_noacc(struct sk_buff *skb, int i, struct page *page, int off, int size) skb_fill_page_desc_noacc() argument
2530 skb_tail_pointer(const struct sk_buff *skb) skb_tail_pointer() argument
2535 skb_reset_tail_pointer(struct sk_buff *skb) skb_reset_tail_pointer() argument
2540 skb_set_tail_pointer(struct sk_buff *skb, const int offset) skb_set_tail_pointer() argument
2547 skb_tail_pointer(const struct sk_buff *skb) skb_tail_pointer() argument
2552 skb_reset_tail_pointer(struct sk_buff *skb) skb_reset_tail_pointer() argument
2557 skb_set_tail_pointer(struct sk_buff *skb, const int offset) skb_set_tail_pointer() argument
2564 skb_assert_len(struct sk_buff *skb) skb_assert_len() argument
2577 __skb_put(struct sk_buff *skb, unsigned int len) __skb_put() argument
2586 __skb_put_zero(struct sk_buff *skb, unsigned int len) __skb_put_zero() argument
2594 __skb_put_data(struct sk_buff *skb, const void *data, unsigned int len) __skb_put_data() argument
2603 __skb_put_u8(struct sk_buff *skb, u8 val) __skb_put_u8() argument
2608 skb_put_zero(struct sk_buff *skb, unsigned int len) skb_put_zero() argument
2617 skb_put_data(struct sk_buff *skb, const void *data, unsigned int len) skb_put_data() argument
2627 skb_put_u8(struct sk_buff *skb, u8 val) skb_put_u8() argument
2633 __skb_push(struct sk_buff *skb, unsigned int len) __skb_push() argument
2641 __skb_pull(struct sk_buff *skb, unsigned int len) __skb_pull() argument
2655 skb_pull_inline(struct sk_buff *skb, unsigned int len) skb_pull_inline() argument
2665 pskb_may_pull_reason(struct sk_buff *skb, unsigned int len) pskb_may_pull_reason() argument
2679 pskb_may_pull(struct sk_buff *skb, unsigned int len) pskb_may_pull() argument
2684 pskb_pull(struct sk_buff *skb, unsigned int len) pskb_pull() argument
2701 skb_headroom(const struct sk_buff *skb) skb_headroom() argument
2712 skb_tailroom(const struct sk_buff *skb) skb_tailroom() argument
2724 skb_availroom(const struct sk_buff *skb) skb_availroom() argument
2740 skb_reserve(struct sk_buff *skb, int len) skb_reserve() argument
2758 skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom) skb_tailroom_reserve() argument
2773 skb_set_inner_protocol(struct sk_buff *skb, __be16 protocol) skb_set_inner_protocol() argument
2780 skb_set_inner_ipproto(struct sk_buff *skb, __u8 ipproto) skb_set_inner_ipproto() argument
2787 skb_reset_inner_headers(struct sk_buff *skb) skb_reset_inner_headers() argument
2794 skb_reset_mac_len(struct sk_buff *skb) skb_reset_mac_len() argument
2799 skb_inner_transport_header(const struct sk_buff *skb) skb_inner_transport_header() argument
2805 skb_inner_transport_offset(const struct sk_buff *skb) skb_inner_transport_offset() argument
2810 skb_reset_inner_transport_header(struct sk_buff *skb) skb_reset_inner_transport_header() argument
2815 skb_set_inner_transport_header(struct sk_buff *skb, const int offset) skb_set_inner_transport_header() argument
2822 skb_inner_network_header(const struct sk_buff *skb) skb_inner_network_header() argument
2827 skb_reset_inner_network_header(struct sk_buff *skb) skb_reset_inner_network_header() argument
2832 skb_set_inner_network_header(struct sk_buff *skb, const int offset) skb_set_inner_network_header() argument
2839 skb_inner_mac_header(const struct sk_buff *skb) skb_inner_mac_header() argument
2844 skb_reset_inner_mac_header(struct sk_buff *skb) skb_reset_inner_mac_header() argument
2849 skb_set_inner_mac_header(struct sk_buff *skb, const int offset) skb_set_inner_mac_header() argument
2855 skb_transport_header_was_set(const struct sk_buff *skb) skb_transport_header_was_set() argument
2860 skb_transport_header(const struct sk_buff *skb) skb_transport_header() argument
2866 skb_reset_transport_header(struct sk_buff *skb) skb_reset_transport_header() argument
2871 skb_set_transport_header(struct sk_buff *skb, const int offset) skb_set_transport_header() argument
2878 skb_network_header(const struct sk_buff *skb) skb_network_header() argument
2883 skb_reset_network_header(struct sk_buff *skb) skb_reset_network_header() argument
2888 skb_set_network_header(struct sk_buff *skb, const int offset) skb_set_network_header() argument
2894 skb_mac_header_was_set(const struct sk_buff *skb) skb_mac_header_was_set() argument
2899 skb_mac_header(const struct sk_buff *skb) skb_mac_header() argument
2905 skb_mac_offset(const struct sk_buff *skb) skb_mac_offset() argument
2910 skb_mac_header_len(const struct sk_buff *skb) skb_mac_header_len() argument
2916 skb_unset_mac_header(struct sk_buff *skb) skb_unset_mac_header() argument
2921 skb_reset_mac_header(struct sk_buff *skb) skb_reset_mac_header() argument
2926 skb_set_mac_header(struct sk_buff *skb, const int offset) skb_set_mac_header() argument
2932 skb_pop_mac_header(struct sk_buff *skb) skb_pop_mac_header() argument
2937 skb_probe_transport_header(struct sk_buff *skb) skb_probe_transport_header() argument
2949 skb_mac_header_rebuild(struct sk_buff *skb) skb_mac_header_rebuild() argument
2959 skb_checksum_start_offset(const struct sk_buff *skb) skb_checksum_start_offset() argument
2964 skb_checksum_start(const struct sk_buff *skb) skb_checksum_start() argument
2969 skb_transport_offset(const struct sk_buff *skb) skb_transport_offset() argument
2974 skb_network_header_len(const struct sk_buff *skb) skb_network_header_len() argument
2979 skb_inner_network_header_len(const struct sk_buff *skb) skb_inner_network_header_len() argument
2984 skb_network_offset(const struct sk_buff *skb) skb_network_offset() argument
2989 skb_inner_network_offset(const struct sk_buff *skb) skb_inner_network_offset() argument
2994 pskb_network_may_pull(struct sk_buff *skb, unsigned int len) pskb_network_may_pull() argument
3049 __skb_set_length(struct sk_buff *skb, unsigned int len) __skb_set_length() argument
3057 __skb_trim(struct sk_buff *skb, unsigned int len) __skb_trim() argument
3064 __pskb_trim(struct sk_buff *skb, unsigned int len) __pskb_trim() argument
3072 pskb_trim(struct sk_buff *skb, unsigned int len) pskb_trim() argument
3086 pskb_trim_unique(struct sk_buff *skb, unsigned int len) pskb_trim_unique() argument
3092 __skb_grow(struct sk_buff *skb, unsigned int len) __skb_grow() argument
3114 skb_orphan(struct sk_buff *skb) skb_orphan() argument
3134 skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) skb_orphan_frags() argument
3144 skb_orphan_frags_rx(struct sk_buff *skb, gfp_t gfp_mask) skb_orphan_frags_rx() argument
3163 struct sk_buff *skb; __skb_queue_purge_reason() local
3245 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); __netdev_alloc_skb_ip_align() local
3358 skb_propagate_pfmemalloc(const struct page *page, struct sk_buff *skb) skb_propagate_pfmemalloc() argument
3434 skb_frag_ref(struct sk_buff *skb, int f) skb_frag_ref() argument
3473 skb_frag_unref(struct sk_buff *skb, int f) skb_frag_unref() argument
3542 pskb_copy(struct sk_buff *skb, gfp_t gfp_mask) pskb_copy() argument
3549 pskb_copy_for_clone(struct sk_buff *skb, gfp_t gfp_mask) pskb_copy_for_clone() argument
3564 skb_clone_writable(const struct sk_buff *skb, unsigned int len) skb_clone_writable() argument
3570 skb_try_make_writable(struct sk_buff *skb, unsigned int write_len) skb_try_make_writable() argument
3577 __skb_cow(struct sk_buff *skb, unsigned int headroom, int cloned) __skb_cow() argument
3603 skb_cow(struct sk_buff *skb, unsigned int headroom) skb_cow() argument
3618 skb_cow_head(struct sk_buff *skb, unsigned int headroom) skb_cow_head() argument
3633 skb_padto(struct sk_buff *skb, unsigned int len) skb_padto() argument
3652 __skb_put_padto(struct sk_buff *skb, unsigned int len, bool free_on_error) __skb_put_padto() argument
3677 skb_put_padto(struct sk_buff *skb, unsigned int len) skb_put_padto() argument
3682 skb_add_data(struct sk_buff *skb, struct iov_iter *from, int copy) skb_add_data() argument
3701 skb_can_coalesce(struct sk_buff *skb, int i, const struct page *page, int off) skb_can_coalesce() argument
3715 __skb_linearize(struct sk_buff *skb) __skb_linearize() argument
3727 skb_linearize(struct sk_buff *skb) skb_linearize() argument
3739 skb_has_shared_frag(const struct sk_buff *skb) skb_has_shared_frag() argument
3752 skb_linearize_cow(struct sk_buff *skb) skb_linearize_cow() argument
3759 __skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len, unsigned int off) __skb_postpull_rcsum() argument
3780 skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len) skb_postpull_rcsum() argument
3792 __skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len, unsigned int off) __skb_postpush_rcsum() argument
3809 skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len) skb_postpush_rcsum() argument
3828 skb_push_rcsum(struct sk_buff *skb, unsigned int len) skb_push_rcsum() argument
3846 pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) pskb_trim_rcsum() argument
3853 __skb_trim_rcsum(struct sk_buff *skb, unsigned int len) __skb_trim_rcsum() argument
3861 __skb_grow_rcsum(struct sk_buff *skb, unsigned int len) __skb_grow_rcsum() argument
3920 skb_has_frag_list(const struct sk_buff *skb) skb_has_frag_list() argument
3925 skb_frag_list_init(struct sk_buff *skb) skb_frag_list_init() argument
3969 skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb) skb_free_datagram_locked() argument
4035 __skb_header_pointer(const struct sk_buff *skb, int offset, int len, const void *data, int hlen, void *buffer) __skb_header_pointer() argument
4048 skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) skb_header_pointer() argument
4055 skb_pointer_if_linear(const struct sk_buff *skb, int offset, int len) skb_pointer_if_linear() argument
4072 skb_needs_linearize(struct sk_buff *skb, netdev_features_t features) skb_needs_linearize() argument
4080 skb_copy_from_linear_data(const struct sk_buff *skb, void *to, const unsigned int len) skb_copy_from_linear_data() argument
4087 skb_copy_from_linear_data_offset(const struct sk_buff *skb, const int offset, void *to, const unsigned int len) skb_copy_from_linear_data_offset() argument
4094 skb_copy_to_linear_data(struct sk_buff *skb, const void *from, const unsigned int len) skb_copy_to_linear_data() argument
4101 skb_copy_to_linear_data_offset(struct sk_buff *skb, const int offset, const void *from, const unsigned int len) skb_copy_to_linear_data_offset() argument
4111 skb_get_ktime(const struct sk_buff *skb) skb_get_ktime() argument
4125 skb_get_timestamp(const struct sk_buff *skb, struct __kernel_old_timeval *stamp) skb_get_timestamp() argument
4131 skb_get_new_timestamp(const struct sk_buff *skb, struct __kernel_sock_timeval *stamp) skb_get_new_timestamp() argument
4140 skb_get_timestampns(const struct sk_buff *skb, struct __kernel_old_timespec *stamp) skb_get_timestampns() argument
4149 skb_get_new_timestampns(const struct sk_buff *skb, struct __kernel_timespec *stamp) skb_get_new_timestampns() argument
4158 __net_timestamp(struct sk_buff *skb) __net_timestamp() argument
4169 skb_set_delivery_time(struct sk_buff *skb, ktime_t kt, bool mono) skb_set_delivery_time() argument
4181 skb_clear_delivery_time(struct sk_buff *skb) skb_clear_delivery_time() argument
4192 skb_clear_tstamp(struct sk_buff *skb) skb_clear_tstamp() argument
4200 skb_tstamp(const struct sk_buff *skb) skb_tstamp() argument
4208 skb_tstamp_cond(const struct sk_buff *skb, bool cond) skb_tstamp_cond() argument
4219 skb_metadata_len(const struct sk_buff *skb) skb_metadata_len() argument
4224 skb_metadata_end(const struct sk_buff *skb) skb_metadata_end() argument
4278 skb_metadata_set(struct sk_buff *skb, u8 meta_len) skb_metadata_set() argument
4283 skb_metadata_clear(struct sk_buff *skb) skb_metadata_clear() argument
4297 skb_clone_tx_timestamp(struct sk_buff *skb) skb_clone_tx_timestamp() argument
4301 skb_defer_rx_timestamp(struct sk_buff *skb) skb_defer_rx_timestamp() argument
4353 skb_tx_timestamp(struct sk_buff *skb) skb_tx_timestamp() argument
4372 skb_csum_unnecessary(const struct sk_buff *skb) skb_csum_unnecessary() argument
4396 skb_checksum_complete(struct sk_buff *skb) skb_checksum_complete() argument
4402 __skb_decr_checksum_unnecessary(struct sk_buff *skb) __skb_decr_checksum_unnecessary() argument
4412 __skb_incr_checksum_unnecessary(struct sk_buff *skb) __skb_incr_checksum_unnecessary() argument
4423 __skb_reset_checksum_unnecessary(struct sk_buff *skb) __skb_reset_checksum_unnecessary() argument
4436 __skb_checksum_validate_needed(struct sk_buff *skb, bool zero_okay, __sum16 check) __skb_checksum_validate_needed() argument
4460 skb_checksum_complete_unset(struct sk_buff *skb) skb_checksum_complete_unset() argument
4475 __skb_checksum_validate_complete(struct sk_buff *skb, bool complete, __wsum psum) __skb_checksum_validate_complete() argument
4499 null_compute_pseudo(struct sk_buff *skb, int proto) null_compute_pseudo() argument
4541 __skb_checksum_convert_check(struct sk_buff *skb) __skb_checksum_convert_check() argument
4546 __skb_checksum_convert(struct sk_buff *skb, __wsum pseudo) __skb_checksum_convert() argument
4558 skb_remcsum_adjust_partial(struct sk_buff *skb, void *ptr, u16 start, u16 offset) skb_remcsum_adjust_partial() argument
4571 skb_remcsum_process(struct sk_buff *skb, void *ptr, int start, int offset, bool nopartial) skb_remcsum_process() argument
4592 skb_nfct(const struct sk_buff *skb) skb_nfct() argument
4601 skb_get_nfct(const struct sk_buff *skb) skb_get_nfct() argument
4610 skb_set_nfct(struct sk_buff *skb, unsigned long nfct) skb_set_nfct() argument
4662 skb_ext_put(struct sk_buff *skb) skb_ext_put() argument
4692 skb_ext_exist(const struct sk_buff *skb, enum skb_ext_id id) skb_ext_exist() argument
4697 skb_ext_del(struct sk_buff *skb, enum skb_ext_id id) skb_ext_del() argument
4703 skb_ext_find(const struct sk_buff *skb, enum skb_ext_id id) skb_ext_find() argument
4714 skb_ext_reset(struct sk_buff *skb) skb_ext_reset() argument
4722 skb_has_extensions(struct sk_buff *skb) skb_has_extensions() argument
4727 skb_ext_put(struct sk_buff *skb) skb_ext_put() argument
4728 skb_ext_reset(struct sk_buff *skb) skb_ext_reset() argument
4729 skb_ext_del(struct sk_buff *skb, int unused) skb_ext_del() argument
4732 skb_has_extensions(struct sk_buff *skb) skb_has_extensions() argument
4735 nf_reset_ct(struct sk_buff *skb) nf_reset_ct() argument
4743 nf_reset_trace(struct sk_buff *skb) nf_reset_trace() argument
4750 ipvs_reset(struct sk_buff *skb) ipvs_reset() argument
4786 skb_init_secmark(struct sk_buff *skb) skb_init_secmark() argument
4794 skb_init_secmark(struct sk_buff *skb) skb_init_secmark() argument
4798 secpath_exists(const struct sk_buff *skb) secpath_exists() argument
4807 skb_irq_freeable(const struct sk_buff *skb) skb_irq_freeable() argument
4816 skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) skb_set_queue_mapping() argument
4821 skb_get_queue_mapping(const struct sk_buff *skb) skb_get_queue_mapping() argument
4831 skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) skb_record_rx_queue() argument
4836 skb_get_rx_queue(const struct sk_buff *skb) skb_get_rx_queue() argument
4841 skb_rx_queue_recorded(const struct sk_buff *skb) skb_rx_queue_recorded() argument
4846 skb_set_dst_pending_confirm(struct sk_buff *skb, u32 val) skb_set_dst_pending_confirm() argument
4851 skb_get_dst_pending_confirm(const struct sk_buff *skb) skb_get_dst_pending_confirm() argument
4856 skb_sec_path(const struct sk_buff *skb) skb_sec_path() argument
4865 skb_is_gso(const struct sk_buff *skb) skb_is_gso() argument
4871 skb_is_gso_v6(const struct sk_buff *skb) skb_is_gso_v6() argument
4877 skb_is_gso_sctp(const struct sk_buff *skb) skb_is_gso_sctp() argument
4883 skb_is_gso_tcp(const struct sk_buff *skb) skb_is_gso_tcp() argument
4888 skb_gso_reset(struct sk_buff *skb) skb_gso_reset() argument
4913 skb_warn_if_lro(const struct sk_buff *skb) skb_warn_if_lro() argument
4927 skb_forward_csum(struct sk_buff *skb) skb_forward_csum() argument
4942 skb_checksum_none_assert(const struct sk_buff *skb) skb_checksum_none_assert() argument
4963 skb_head_is_locked(const struct sk_buff *skb) skb_head_is_locked() argument
4977 lco_csum(struct sk_buff *skb) lco_csum() argument
4993 skb_is_redirected(const struct sk_buff *skb) skb_is_redirected() argument
4998 skb_set_redirected(struct sk_buff *skb, bool from_ingress) skb_set_redirected() argument
5008 skb_reset_redirect(struct sk_buff *skb) skb_reset_redirect() argument
5013 skb_set_redirected_noclear(struct sk_buff *skb, bool from_ingress) skb_set_redirected_noclear() argument
5022 skb_csum_is_sctp(struct sk_buff *skb) skb_csum_is_sctp() argument
5031 skb_reset_csum_not_inet(struct sk_buff *skb) skb_reset_csum_not_inet() argument
5039 skb_set_kcov_handle(struct sk_buff *skb, const u64 kcov_handle) skb_set_kcov_handle() argument
5047 skb_get_kcov_handle(struct sk_buff *skb) skb_get_kcov_handle() argument
5056 skb_mark_for_recycle(struct sk_buff *skb) skb_mark_for_recycle() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dskbuff.h88 * verification is set in skb->ip_summed. Possible values are:
94 * not in skb->csum. Thus, skb->csum is undefined in this case.
101 * if their checksums are okay. skb->csum is still undefined in this case
114 * skb->csum_level indicates the number of consecutive checksums found in
118 * GRE (checksum flag is set) and TCP, skb->csum_level would be set to
121 * checksum is bad, skb->csum_level would be set to zero (TCP checksum is
127 * packet as seen by netif_rx() and fills in skb->csum. This means the
132 * skb->csum, it MUST use CHECKSUM_COMPLETE, not CHECKSUM_UNNECESSARY.
142 * referred to by skb
946 skb_pfmemalloc(const struct sk_buff *skb) skb_pfmemalloc() argument
964 skb_dst(const struct sk_buff *skb) skb_dst() argument
983 skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) skb_dst_set() argument
998 skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) skb_dst_set_noref() argument
1008 skb_dst_is_noref(const struct sk_buff *skb) skb_dst_is_noref() argument
1017 skb_rtable(const struct sk_buff *skb) skb_rtable() argument
1035 skb_napi_id(const struct sk_buff *skb) skb_napi_id() argument
1050 skb_unref(struct sk_buff *skb) skb_unref() argument
1071 consume_skb(struct sk_buff *skb) consume_skb() argument
1130 skb_fclone_busy(const struct sock *sk, const struct sk_buff *skb) skb_fclone_busy() argument
1163 __pskb_copy(struct sk_buff *skb, int headroom, gfp_t gfp_mask) __pskb_copy() argument
1192 skb_pad(struct sk_buff *skb, int pad) skb_pad() argument
1253 skb_clear_hash(struct sk_buff *skb) skb_clear_hash() argument
1260 skb_clear_hash_if_not_l4(struct sk_buff *skb) skb_clear_hash_if_not_l4() argument
1267 __skb_set_hash(struct sk_buff *skb, __u32 hash, bool is_sw, bool is_l4) __skb_set_hash() argument
1275 skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types type) skb_set_hash() argument
1282 __skb_set_sw_hash(struct sk_buff *skb, __u32 hash, bool is_l4) __skb_set_sw_hash() argument
1295 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto) skb_flow_get_ports() argument
1316 skb_flow_dissect(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, unsigned int flags) skb_flow_dissect() argument
1324 skb_flow_dissect_flow_keys(const struct sk_buff *skb, struct flow_keys *flow, unsigned int flags) skb_flow_dissect_flow_keys() argument
1334 skb_flow_dissect_flow_keys_basic(const struct net *net, const struct sk_buff *skb, struct flow_keys_basic *flow, void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) skb_flow_dissect_flow_keys_basic() argument
1368 skb_get_hash(struct sk_buff *skb) skb_get_hash() argument
1376 skb_get_hash_flowi6(struct sk_buff *skb, const struct flowi6 *fl6) skb_get_hash_flowi6() argument
1391 skb_get_hash_raw(const struct sk_buff *skb) skb_get_hash_raw() argument
1412 skb_end_pointer(const struct sk_buff *skb) skb_end_pointer() argument
1417 skb_end_offset(const struct sk_buff *skb) skb_end_offset() argument
1422 skb_end_pointer(const struct sk_buff *skb) skb_end_pointer() argument
1427 skb_end_offset(const struct sk_buff *skb) skb_end_offset() argument
1436 skb_hwtstamps(struct sk_buff *skb) skb_hwtstamps() argument
1441 skb_zcopy(struct sk_buff *skb) skb_zcopy() argument
1448 skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg, bool *have_ref) skb_zcopy_set() argument
1461 skb_zcopy_set_nouarg(struct sk_buff *skb, void *val) skb_zcopy_set_nouarg() argument
1467 skb_zcopy_is_nouarg(struct sk_buff *skb) skb_zcopy_is_nouarg() argument
1472 skb_zcopy_get_nouarg(struct sk_buff *skb) skb_zcopy_get_nouarg() argument
1478 skb_zcopy_clear(struct sk_buff *skb, bool zerocopy) skb_zcopy_clear() argument
1497 skb_zcopy_abort(struct sk_buff *skb) skb_zcopy_abort() argument
1507 skb_mark_not_on_list(struct sk_buff *skb) skb_mark_not_on_list() argument
1517 skb_list_del_init(struct sk_buff *skb) skb_list_del_init() argument
1554 skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_is_last() argument
1567 skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_is_first() argument
1581 skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_next() argument
1599 skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb) skb_queue_prev() argument
1616 skb_get(struct sk_buff *skb) skb_get() argument
1634 skb_cloned(const struct sk_buff *skb) skb_cloned() argument
1640 skb_unclone(struct sk_buff *skb, gfp_t pri) skb_unclone() argument
1657 skb_header_cloned(const struct sk_buff *skb) skb_header_cloned() argument
1669 skb_header_unclone(struct sk_buff *skb, gfp_t pri) skb_header_unclone() argument
1683 __skb_header_release(struct sk_buff *skb) __skb_header_release() argument
1697 skb_shared(const struct sk_buff *skb) skb_shared() argument
1715 skb_share_check(struct sk_buff *skb, gfp_t pri) skb_share_check() argument
1750 skb_unshare(struct sk_buff *skb, gfp_t pri) skb_unshare() argument
1782 struct sk_buff *skb = list_->next; skb_peek() local
1809 skb_peek_next(struct sk_buff *skb, const struct sk_buff_head *list_) skb_peek_next() argument
1834 struct sk_buff *skb = READ_ONCE(list_->prev); skb_peek_tail() local
2066 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) __skb_unlink() argument
2088 struct sk_buff *skb = skb_peek(list); __skb_dequeue() local
2105 struct sk_buff *skb = skb_peek_tail(list); __skb_dequeue_tail() local
2113 skb_is_nonlinear(const struct sk_buff *skb) skb_is_nonlinear() argument
2118 skb_headlen(const struct sk_buff *skb) skb_headlen() argument
2123 __skb_pagelen(const struct sk_buff *skb) __skb_pagelen() argument
2132 skb_pagelen(const struct sk_buff *skb) skb_pagelen() argument
2150 __skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) __skb_fill_page_desc() argument
2183 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) skb_fill_page_desc() argument
2199 skb_tail_pointer(const struct sk_buff *skb) skb_tail_pointer() argument
2204 skb_reset_tail_pointer(struct sk_buff *skb) skb_reset_tail_pointer() argument
2209 skb_set_tail_pointer(struct sk_buff *skb, const int offset) skb_set_tail_pointer() argument
2216 skb_tail_pointer(const struct sk_buff *skb) skb_tail_pointer() argument
2221 skb_reset_tail_pointer(struct sk_buff *skb) skb_reset_tail_pointer() argument
2226 skb_set_tail_pointer(struct sk_buff *skb, const int offset) skb_set_tail_pointer() argument
2233 skb_assert_len(struct sk_buff *skb) skb_assert_len() argument
2246 __skb_put(struct sk_buff *skb, unsigned int len) __skb_put() argument
2255 __skb_put_zero(struct sk_buff *skb, unsigned int len) __skb_put_zero() argument
2263 __skb_put_data(struct sk_buff *skb, const void *data, unsigned int len) __skb_put_data() argument
2272 __skb_put_u8(struct sk_buff *skb, u8 val) __skb_put_u8() argument
2277 skb_put_zero(struct sk_buff *skb, unsigned int len) skb_put_zero() argument
2286 skb_put_data(struct sk_buff *skb, const void *data, unsigned int len) skb_put_data() argument
2296 skb_put_u8(struct sk_buff *skb, u8 val) skb_put_u8() argument
2302 __skb_push(struct sk_buff *skb, unsigned int len) __skb_push() argument
2310 __skb_pull(struct sk_buff *skb, unsigned int len) __skb_pull() argument
2317 skb_pull_inline(struct sk_buff *skb, unsigned int len) skb_pull_inline() argument
2324 __pskb_pull(struct sk_buff *skb, unsigned int len) __pskb_pull() argument
2333 pskb_pull(struct sk_buff *skb, unsigned int len) pskb_pull() argument
2338 pskb_may_pull(struct sk_buff *skb, unsigned int len) pskb_may_pull() argument
2355 skb_headroom(const struct sk_buff *skb) skb_headroom() argument
2366 skb_tailroom(const struct sk_buff *skb) skb_tailroom() argument
2378 skb_availroom(const struct sk_buff *skb) skb_availroom() argument
2394 skb_reserve(struct sk_buff *skb, int len) skb_reserve() argument
2412 skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom) skb_tailroom_reserve() argument
2427 skb_set_inner_protocol(struct sk_buff *skb, __be16 protocol) skb_set_inner_protocol() argument
2434 skb_set_inner_ipproto(struct sk_buff *skb, __u8 ipproto) skb_set_inner_ipproto() argument
2441 skb_reset_inner_headers(struct sk_buff *skb) skb_reset_inner_headers() argument
2448 skb_reset_mac_len(struct sk_buff *skb) skb_reset_mac_len() argument
2453 skb_inner_transport_header(const struct sk_buff *skb) skb_inner_transport_header() argument
2459 skb_inner_transport_offset(const struct sk_buff *skb) skb_inner_transport_offset() argument
2464 skb_reset_inner_transport_header(struct sk_buff *skb) skb_reset_inner_transport_header() argument
2469 skb_set_inner_transport_header(struct sk_buff *skb, const int offset) skb_set_inner_transport_header() argument
2476 skb_inner_network_header(const struct sk_buff *skb) skb_inner_network_header() argument
2481 skb_reset_inner_network_header(struct sk_buff *skb) skb_reset_inner_network_header() argument
2486 skb_set_inner_network_header(struct sk_buff *skb, const int offset) skb_set_inner_network_header() argument
2493 skb_inner_mac_header(const struct sk_buff *skb) skb_inner_mac_header() argument
2498 skb_reset_inner_mac_header(struct sk_buff *skb) skb_reset_inner_mac_header() argument
2503 skb_set_inner_mac_header(struct sk_buff *skb, const int offset) skb_set_inner_mac_header() argument
2509 skb_transport_header_was_set(const struct sk_buff *skb) skb_transport_header_was_set() argument
2514 skb_transport_header(const struct sk_buff *skb) skb_transport_header() argument
2519 skb_reset_transport_header(struct sk_buff *skb) skb_reset_transport_header() argument
2524 skb_set_transport_header(struct sk_buff *skb, const int offset) skb_set_transport_header() argument
2531 skb_network_header(const struct sk_buff *skb) skb_network_header() argument
2536 skb_reset_network_header(struct sk_buff *skb) skb_reset_network_header() argument
2541 skb_set_network_header(struct sk_buff *skb, const int offset) skb_set_network_header() argument
2547 skb_mac_header(const struct sk_buff *skb) skb_mac_header() argument
2552 skb_mac_offset(const struct sk_buff *skb) skb_mac_offset() argument
2557 skb_mac_header_len(const struct sk_buff *skb) skb_mac_header_len() argument
2562 skb_mac_header_was_set(const struct sk_buff *skb) skb_mac_header_was_set() argument
2567 skb_unset_mac_header(struct sk_buff *skb) skb_unset_mac_header() argument
2572 skb_reset_mac_header(struct sk_buff *skb) skb_reset_mac_header() argument
2577 skb_set_mac_header(struct sk_buff *skb, const int offset) skb_set_mac_header() argument
2583 skb_pop_mac_header(struct sk_buff *skb) skb_pop_mac_header() argument
2588 skb_probe_transport_header(struct sk_buff *skb) skb_probe_transport_header() argument
2600 skb_mac_header_rebuild(struct sk_buff *skb) skb_mac_header_rebuild() argument
2610 skb_checksum_start_offset(const struct sk_buff *skb) skb_checksum_start_offset() argument
2615 skb_checksum_start(const struct sk_buff *skb) skb_checksum_start() argument
2620 skb_transport_offset(const struct sk_buff *skb) skb_transport_offset() argument
2625 skb_network_header_len(const struct sk_buff *skb) skb_network_header_len() argument
2630 skb_inner_network_header_len(const struct sk_buff *skb) skb_inner_network_header_len() argument
2635 skb_network_offset(const struct sk_buff *skb) skb_network_offset() argument
2640 skb_inner_network_offset(const struct sk_buff *skb) skb_inner_network_offset() argument
2645 pskb_network_may_pull(struct sk_buff *skb, unsigned int len) pskb_network_may_pull() argument
2700 __skb_set_length(struct sk_buff *skb, unsigned int len) __skb_set_length() argument
2708 __skb_trim(struct sk_buff *skb, unsigned int len) __skb_trim() argument
2715 __pskb_trim(struct sk_buff *skb, unsigned int len) __pskb_trim() argument
2723 pskb_trim(struct sk_buff *skb, unsigned int len) pskb_trim() argument
2737 pskb_trim_unique(struct sk_buff *skb, unsigned int len) pskb_trim_unique() argument
2743 __skb_grow(struct sk_buff *skb, unsigned int len) __skb_grow() argument
2765 skb_orphan(struct sk_buff *skb) skb_orphan() argument
2785 skb_orphan_frags(struct sk_buff *skb, gfp_t gfp_mask) skb_orphan_frags() argument
2796 skb_orphan_frags_rx(struct sk_buff *skb, gfp_t gfp_mask) skb_orphan_frags_rx() argument
2813 struct sk_buff *skb; __skb_queue_purge() local
2862 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); __netdev_alloc_skb_ip_align() local
2946 skb_propagate_pfmemalloc(struct page *page, struct sk_buff *skb) skb_propagate_pfmemalloc() argument
3022 skb_frag_ref(struct sk_buff *skb, int f) skb_frag_ref() argument
3045 skb_frag_unref(struct sk_buff *skb, int f) skb_frag_unref() argument
3109 skb_frag_set_page(struct sk_buff *skb, int f, struct page *page) skb_frag_set_page() argument
3137 pskb_copy(struct sk_buff *skb, gfp_t gfp_mask) pskb_copy() argument
3144 pskb_copy_for_clone(struct sk_buff *skb, gfp_t gfp_mask) pskb_copy_for_clone() argument
3159 skb_clone_writable(const struct sk_buff *skb, unsigned int len) skb_clone_writable() argument
3165 skb_try_make_writable(struct sk_buff *skb, unsigned int write_len) skb_try_make_writable() argument
3172 __skb_cow(struct sk_buff *skb, unsigned int headroom, int cloned) __skb_cow() argument
3198 skb_cow(struct sk_buff *skb, unsigned int headroom) skb_cow() argument
3213 skb_cow_head(struct sk_buff *skb, unsigned int headroom) skb_cow_head() argument
3228 skb_padto(struct sk_buff *skb, unsigned int len) skb_padto() argument
3247 __skb_put_padto(struct sk_buff *skb, unsigned int len, bool free_on_error) __skb_put_padto() argument
3272 skb_put_padto(struct sk_buff *skb, unsigned int len) skb_put_padto() argument
3277 skb_add_data(struct sk_buff *skb, struct iov_iter *from, int copy) skb_add_data() argument
3296 skb_can_coalesce(struct sk_buff *skb, int i, const struct page *page, int off) skb_can_coalesce() argument
3310 __skb_linearize(struct sk_buff *skb) __skb_linearize() argument
3322 skb_linearize(struct sk_buff *skb) skb_linearize() argument
3334 skb_has_shared_frag(const struct sk_buff *skb) skb_has_shared_frag() argument
3347 skb_linearize_cow(struct sk_buff *skb) skb_linearize_cow() argument
3354 __skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len, unsigned int off) __skb_postpull_rcsum() argument
3375 skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len) skb_postpull_rcsum() argument
3382 __skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len, unsigned int off) __skb_postpush_rcsum() argument
3399 skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len) skb_postpush_rcsum() argument
3418 skb_push_rcsum(struct sk_buff *skb, unsigned int len) skb_push_rcsum() argument
3436 pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) pskb_trim_rcsum() argument
3443 __skb_trim_rcsum(struct sk_buff *skb, unsigned int len) __skb_trim_rcsum() argument
3451 __skb_grow_rcsum(struct sk_buff *skb, unsigned int len) __skb_grow_rcsum() argument
3510 skb_has_frag_list(const struct sk_buff *skb) skb_has_frag_list() argument
3515 skb_frag_list_init(struct sk_buff *skb) skb_frag_list_init() argument
3560 skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb) skb_free_datagram_locked() argument
3627 __skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *data, int hlen, void *buffer) __skb_header_pointer() argument
3641 skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) skb_header_pointer() argument
3657 skb_needs_linearize(struct sk_buff *skb, netdev_features_t features) skb_needs_linearize() argument
3665 skb_copy_from_linear_data(const struct sk_buff *skb, void *to, const unsigned int len) skb_copy_from_linear_data() argument
3672 skb_copy_from_linear_data_offset(const struct sk_buff *skb, const int offset, void *to, const unsigned int len) skb_copy_from_linear_data_offset() argument
3679 skb_copy_to_linear_data(struct sk_buff *skb, const void *from, const unsigned int len) skb_copy_to_linear_data() argument
3686 skb_copy_to_linear_data_offset(struct sk_buff *skb, const int offset, const void *from, const unsigned int len) skb_copy_to_linear_data_offset() argument
3696 skb_get_ktime(const struct sk_buff *skb) skb_get_ktime() argument
3710 skb_get_timestamp(const struct sk_buff *skb, struct __kernel_old_timeval *stamp) skb_get_timestamp() argument
3716 skb_get_new_timestamp(const struct sk_buff *skb, struct __kernel_sock_timeval *stamp) skb_get_new_timestamp() argument
3725 skb_get_timestampns(const struct sk_buff *skb, struct __kernel_old_timespec *stamp) skb_get_timestampns() argument
3734 skb_get_new_timestampns(const struct sk_buff *skb, struct __kernel_timespec *stamp) skb_get_new_timestampns() argument
3743 __net_timestamp(struct sk_buff *skb) __net_timestamp() argument
3758 skb_metadata_len(const struct sk_buff *skb) skb_metadata_len() argument
3763 skb_metadata_end(const struct sk_buff *skb) skb_metadata_end() argument
3817 skb_metadata_set(struct sk_buff *skb, u8 meta_len) skb_metadata_set() argument
3822 skb_metadata_clear(struct sk_buff *skb) skb_metadata_clear() argument
3836 skb_clone_tx_timestamp(struct sk_buff *skb) skb_clone_tx_timestamp() argument
3840 skb_defer_rx_timestamp(struct sk_buff *skb) skb_defer_rx_timestamp() argument
3892 skb_tx_timestamp(struct sk_buff *skb) skb_tx_timestamp() argument
3911 skb_csum_unnecessary(const struct sk_buff *skb) skb_csum_unnecessary() argument
3935 skb_checksum_complete(struct sk_buff *skb) skb_checksum_complete() argument
3941 __skb_decr_checksum_unnecessary(struct sk_buff *skb) __skb_decr_checksum_unnecessary() argument
3951 __skb_incr_checksum_unnecessary(struct sk_buff *skb) __skb_incr_checksum_unnecessary() argument
3962 __skb_reset_checksum_unnecessary(struct sk_buff *skb) __skb_reset_checksum_unnecessary() argument
3975 __skb_checksum_validate_needed(struct sk_buff *skb, bool zero_okay, __sum16 check) __skb_checksum_validate_needed() argument
3999 skb_checksum_complete_unset(struct sk_buff *skb) skb_checksum_complete_unset() argument
4014 __skb_checksum_validate_complete(struct sk_buff *skb, bool complete, __wsum psum) __skb_checksum_validate_complete() argument
4038 null_compute_pseudo(struct sk_buff *skb, int proto) null_compute_pseudo() argument
4080 __skb_checksum_convert_check(struct sk_buff *skb) __skb_checksum_convert_check() argument
4085 __skb_checksum_convert(struct sk_buff *skb, __wsum pseudo) __skb_checksum_convert() argument
4097 skb_remcsum_adjust_partial(struct sk_buff *skb, void *ptr, u16 start, u16 offset) skb_remcsum_adjust_partial() argument
4110 skb_remcsum_process(struct sk_buff *skb, void *ptr, int start, int offset, bool nopartial) skb_remcsum_process() argument
4131 skb_nfct(const struct sk_buff *skb) skb_nfct() argument
4140 skb_get_nfct(const struct sk_buff *skb) skb_get_nfct() argument
4149 skb_set_nfct(struct sk_buff *skb, unsigned long nfct) skb_set_nfct() argument
4197 skb_ext_put(struct sk_buff *skb) skb_ext_put() argument
4227 skb_ext_exist(const struct sk_buff *skb, enum skb_ext_id id) skb_ext_exist() argument
4232 skb_ext_del(struct sk_buff *skb, enum skb_ext_id id) skb_ext_del() argument
4238 skb_ext_find(const struct sk_buff *skb, enum skb_ext_id id) skb_ext_find() argument
4249 skb_ext_reset(struct sk_buff *skb) skb_ext_reset() argument
4257 skb_has_extensions(struct sk_buff *skb) skb_has_extensions() argument
4262 skb_ext_put(struct sk_buff *skb) skb_ext_put() argument
4263 skb_ext_reset(struct sk_buff *skb) skb_ext_reset() argument
4264 skb_ext_del(struct sk_buff *skb, int unused) skb_ext_del() argument
4267 skb_has_extensions(struct sk_buff *skb) skb_has_extensions() argument
4270 nf_reset_ct(struct sk_buff *skb) nf_reset_ct() argument
4278 nf_reset_trace(struct sk_buff *skb) nf_reset_trace() argument
4285 ipvs_reset(struct sk_buff *skb) ipvs_reset() argument
4320 skb_init_secmark(struct sk_buff *skb) skb_init_secmark() argument
4328 skb_init_secmark(struct sk_buff *skb) skb_init_secmark() argument
4332 secpath_exists(const struct sk_buff *skb) secpath_exists() argument
4341 skb_irq_freeable(const struct sk_buff *skb) skb_irq_freeable() argument
4350 skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) skb_set_queue_mapping() argument
4355 skb_get_queue_mapping(const struct sk_buff *skb) skb_get_queue_mapping() argument
4365 skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) skb_record_rx_queue() argument
4370 skb_get_rx_queue(const struct sk_buff *skb) skb_get_rx_queue() argument
4375 skb_rx_queue_recorded(const struct sk_buff *skb) skb_rx_queue_recorded() argument
4380 skb_set_dst_pending_confirm(struct sk_buff *skb, u32 val) skb_set_dst_pending_confirm() argument
4385 skb_get_dst_pending_confirm(const struct sk_buff *skb) skb_get_dst_pending_confirm() argument
4390 skb_sec_path(const struct sk_buff *skb) skb_sec_path() argument
4423 gso_pskb_expand_head(struct sk_buff *skb, int extra) gso_pskb_expand_head() argument
4438 gso_reset_checksum(struct sk_buff *skb, __wsum res) gso_reset_checksum() argument
4456 gso_make_checksum(struct sk_buff *skb, __wsum res) gso_make_checksum() argument
4468 skb_is_gso(const struct sk_buff *skb) skb_is_gso() argument
4474 skb_is_gso_v6(const struct sk_buff *skb) skb_is_gso_v6() argument
4480 skb_is_gso_sctp(const struct sk_buff *skb) skb_is_gso_sctp() argument
4486 skb_is_gso_tcp(const struct sk_buff *skb) skb_is_gso_tcp() argument
4491 skb_gso_reset(struct sk_buff *skb) skb_gso_reset() argument
4516 skb_warn_if_lro(const struct sk_buff *skb) skb_warn_if_lro() argument
4530 skb_forward_csum(struct sk_buff *skb) skb_forward_csum() argument
4545 skb_checksum_none_assert(const struct sk_buff *skb) skb_checksum_none_assert() argument
4568 skb_head_is_locked(const struct sk_buff *skb) skb_head_is_locked() argument
4582 lco_csum(struct sk_buff *skb) lco_csum() argument
4598 skb_is_redirected(const struct sk_buff *skb) skb_is_redirected() argument
4607 skb_set_redirected(struct sk_buff *skb, bool from_ingress) skb_set_redirected() argument
4617 skb_reset_redirect(struct sk_buff *skb) skb_reset_redirect() argument
4624 skb_csum_is_sctp(struct sk_buff *skb) skb_csum_is_sctp() argument
4629 skb_set_kcov_handle(struct sk_buff *skb, const u64 kcov_handle) skb_set_kcov_handle() argument
4637 skb_get_kcov_handle(struct sk_buff *skb) skb_get_kcov_handle() argument
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dgro.c96 int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb) in skb_gro_receive() argument
98 struct skb_shared_info *pinfo, *skbinfo = skb_shinfo(skb); in skb_gro_receive()
99 unsigned int offset = skb_gro_offset(skb); in skb_gro_receive()
100 unsigned int headlen = skb_headlen(skb); in skb_gro_receive()
101 unsigned int len = skb_gro_len(skb); in skb_gro_receive()
114 if (p->pp_recycle != skb->pp_recycle) in skb_gro_receive()
122 if (unlikely(p->len + len >= gro_max_size || NAPI_GRO_CB(skb)->flush)) in skb_gro_receive()
126 if (NAPI_GRO_CB(skb)->proto != IPPROTO_TCP || in skb_gro_receive()
133 segs = NAPI_GRO_CB(skb)->count; in skb_gro_receive()
160 new_truesize = SKB_TRUESIZE(skb_end_offset(skb)); in skb_gro_receive()
236 napi_gro_complete(struct napi_struct *napi, struct sk_buff *skb) napi_gro_complete() argument
276 struct sk_buff *skb, *p; __napi_gro_flush_chain() local
307 gro_list_prepare_tc_ext(const struct sk_buff *skb, const struct sk_buff *p, unsigned long diffs) gro_list_prepare_tc_ext() argument
325 gro_list_prepare(const struct list_head *head, const struct sk_buff *skb) gro_list_prepare() argument
370 skb_gro_reset_offset(struct sk_buff *skb, u32 nhoff) skb_gro_reset_offset() argument
389 gro_pull_from_frag0(struct sk_buff *skb, int grow) gro_pull_from_frag0() argument
410 gro_try_pull_from_frag0(struct sk_buff *skb) gro_try_pull_from_frag0() argument
437 dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) dev_gro_receive() argument
573 napi_skb_finish(struct napi_struct *napi, struct sk_buff *skb, gro_result_t ret) napi_skb_finish() argument
600 napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb) napi_gro_receive() argument
616 napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb) napi_reuse_skb() argument
647 struct sk_buff *skb = napi->skb; napi_get_frags() local
660 napi_frags_finish(struct napi_struct *napi, struct sk_buff *skb, gro_result_t ret) napi_frags_finish() argument
694 struct sk_buff *skb = napi->skb; napi_frags_skb() local
732 struct sk_buff *skb = napi_frags_skb(napi); napi_gro_frags() local
746 __skb_gro_checksum_complete(struct sk_buff *skb) __skb_gro_checksum_complete() argument
[all...]
H A Dskbuff.c19 * Ray VanTassle : Fixed --skb->lock in free
80 #include <trace/events/skb.h>
175 * @skb: buffer
185 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument
189 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic()
190 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic()
191 skb in skb_panic()
195 skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) skb_over_panic() argument
200 skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) skb_under_panic() argument
284 struct sk_buff *skb; napi_get_frags_check() local
327 struct sk_buff *skb; napi_skb_cache_get() local
344 __finalize_skb_around(struct sk_buff *skb, void *data, unsigned int size) __finalize_skb_around() argument
369 __slab_build_skb(struct sk_buff *skb, void *data, unsigned int *size) __slab_build_skb() argument
394 struct sk_buff *skb; slab_build_skb() local
410 __build_skb_around(struct sk_buff *skb, void *data, unsigned int frag_size) __build_skb_around() argument
446 struct sk_buff *skb; __build_skb() local
463 struct sk_buff *skb = __build_skb(data, frag_size); build_skb() local
467 skb_propagate_pfmemalloc(virt_to_head_page(data), skb); build_skb() local
479 build_skb_around(struct sk_buff *skb, void *data, unsigned int frag_size) build_skb_around() argument
489 skb_propagate_pfmemalloc(virt_to_head_page(data), skb); build_skb_around() local
507 struct sk_buff *skb; __napi_build_skb() local
531 struct sk_buff *skb = __napi_build_skb(data, frag_size); napi_build_skb() local
535 skb_propagate_pfmemalloc(virt_to_head_page(data), skb); napi_build_skb() local
625 struct sk_buff *skb; __alloc_skb() local
702 struct sk_buff *skb; __netdev_alloc_skb() local
776 struct sk_buff *skb; __napi_alloc_skb() local
847 skb_add_rx_frag(struct sk_buff *skb, int i, struct page *page, int off, int size, unsigned int truesize) skb_add_rx_frag() argument
857 skb_coalesce_rx_frag(struct sk_buff *skb, int i, int size, unsigned int truesize) skb_coalesce_rx_frag() argument
875 skb_drop_fraglist(struct sk_buff *skb) skb_drop_fraglist() argument
880 skb_clone_fraglist(struct sk_buff *skb) skb_clone_fraglist() argument
933 skb_pp_recycle(struct sk_buff *skb, void *data, bool napi_safe) skb_pp_recycle() argument
948 skb_free_head(struct sk_buff *skb, bool napi_safe) skb_free_head() argument
961 skb_release_data(struct sk_buff *skb, enum skb_drop_reason reason, bool napi_safe) skb_release_data() argument
1004 kfree_skbmem(struct sk_buff *skb) kfree_skbmem() argument
1034 skb_release_head_state(struct sk_buff *skb) skb_release_head_state() argument
1048 skb_release_all(struct sk_buff *skb, enum skb_drop_reason reason, bool napi_safe) skb_release_all() argument
1065 __kfree_skb(struct sk_buff *skb) __kfree_skb() argument
1073 __kfree_skb_reason(struct sk_buff *skb, enum skb_drop_reason reason) __kfree_skb_reason() argument
1100 kfree_skb_reason(struct sk_buff *skb, enum skb_drop_reason reason) kfree_skb_reason() argument
1114 kfree_skb_add_bulk(struct sk_buff *skb, struct skb_free_array *sa, enum skb_drop_reason reason) kfree_skb_add_bulk() argument
1163 skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) skb_dump() argument
1259 skb_tx_error(struct sk_buff *skb) skb_tx_error() argument
1277 consume_skb(struct sk_buff *skb) consume_skb() argument
1295 __consume_stateless_skb(struct sk_buff *skb) __consume_stateless_skb() argument
1302 napi_skb_cache_put(struct sk_buff *skb) napi_skb_cache_put() argument
1321 __napi_kfree_skb(struct sk_buff *skb, enum skb_drop_reason reason) __napi_kfree_skb() argument
1327 napi_skb_free_stolen_head(struct sk_buff *skb) napi_skb_free_stolen_head() argument
1339 napi_consume_skb(struct sk_buff *skb, int budget) napi_consume_skb() argument
1422 __skb_clone(struct sk_buff *n, struct sk_buff *skb) __skb_clone() argument
1543 struct sk_buff *skb; msg_zerocopy_alloc() local
1627 skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) skb_zerocopy_notify_extend() argument
1649 struct sk_buff *tail, *skb = skb_from_uarg(uarg); __msg_zerocopy_callback() local
1697 msg_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *uarg, bool success) msg_zerocopy_callback() argument
1721 skb_zerocopy_iter_stream(struct sock *sk, struct sk_buff *skb, struct msghdr *msg, int len, struct ubuf_info *uarg) skb_zerocopy_iter_stream() argument
1751 __skb_zcopy_downgrade_managed(struct sk_buff *skb) __skb_zcopy_downgrade_managed() argument
1796 skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) skb_copy_ubufs() argument
1892 skb_clone(struct sk_buff *skb, gfp_t gfp_mask) skb_clone() argument
1922 skb_headers_offset_update(struct sk_buff *skb, int off) skb_headers_offset_update() argument
1948 skb_alloc_rx_flag(const struct sk_buff *skb) skb_alloc_rx_flag() argument
1972 skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) skb_copy() argument
2011 __pskb_copy_fclone(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone) __pskb_copy_fclone() argument
2075 pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask) pskb_expand_head() argument
2164 skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) skb_realloc_headroom() argument
2184 __skb_unclone_keeptruesize(struct sk_buff *skb, gfp_t pri) __skb_unclone_keeptruesize() argument
2242 skb_expand_head(struct sk_buff *skb, unsigned int headroom) skb_expand_head() argument
2299 skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask) skb_copy_expand() argument
2353 __skb_pad(struct sk_buff *skb, int pad, bool free_on_error) __skb_pad() argument
2401 pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) pskb_put() argument
2420 skb_put(struct sk_buff *skb, unsigned int len) skb_put() argument
2441 skb_push(struct sk_buff *skb, unsigned int len) skb_push() argument
2461 skb_pull(struct sk_buff *skb, unsigned int len) skb_pull() argument
2478 skb_pull_data(struct sk_buff *skb, size_t len) skb_pull_data() argument
2500 skb_trim(struct sk_buff *skb, unsigned int len) skb_trim() argument
2510 ___pskb_trim(struct sk_buff *skb, unsigned int len) ___pskb_trim() argument
2597 pskb_trim_rcsum_slow(struct sk_buff *skb, unsigned int len) pskb_trim_rcsum_slow() argument
2641 __pskb_pull_tail(struct sk_buff *skb, int delta) __pskb_pull_tail() argument
2782 skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) skb_copy_bits() argument
2967 __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, unsigned int *offset, unsigned int *len, struct splice_pipe_desc *spd, struct sock *sk) __skb_splice_bits() argument
3019 skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset, struct pipe_inode_info *pipe, unsigned int tlen, unsigned int flags) skb_splice_bits() argument
3067 __skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len, sendmsg_func sendmsg) __skb_send_sock() argument
3166 skb_send_sock_locked(struct sock *sk, struct sk_buff *skb, int offset, int len) skb_send_sock_locked() argument
3174 skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len) skb_send_sock() argument
3191 skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) skb_store_bits() argument
3269 __skb_checksum(const struct sk_buff *skb, int offset, int len, __wsum csum, const struct skb_checksum_ops *ops) __skb_checksum() argument
3353 skb_checksum(const struct sk_buff *skb, int offset, int len, __wsum csum) skb_checksum() argument
3367 skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to, int len) skb_copy_and_csum_bits() argument
3452 __skb_checksum_complete_head(struct sk_buff *skb, int len) __skb_checksum_complete_head() argument
3478 __skb_checksum_complete(struct sk_buff *skb) __skb_checksum_complete() argument
3641 skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to) skb_copy_and_csum_dev() argument
3721 struct sk_buff *skb; skb_queue_purge_reason() local
3744 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); skb_rbtree_purge() local
3756 struct sk_buff *skb, *next; skb_errqueue_purge() local
3827 skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) skb_unlink() argument
3857 skb_split_inside_header(struct sk_buff *skb, struct sk_buff* skb1, const u32 len, const int pos) skb_split_inside_header() argument
3878 skb_split_no_header(struct sk_buff *skb, struct sk_buff* skb1, const u32 len, int pos) skb_split_no_header() argument
3925 skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) skb_split() argument
3945 skb_prepare_for_shift(struct sk_buff *skb) skb_prepare_for_shift() argument
3968 skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) skb_shift() argument
4093 skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st) skb_prepare_seq_read() argument
4254 skb_find_text(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config) skb_find_text() argument
4273 skb_append_pagefrags(struct sk_buff *skb, struct page *page, int offset, size_t size, size_t max_frags) skb_append_pagefrags() argument
4303 skb_pull_rcsum(struct sk_buff *skb, unsigned int len) skb_pull_rcsum() argument
4326 skb_segment_list(struct sk_buff *skb, netdev_features_t features, unsigned int offset) skb_segment_list() argument
4868 __skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len, unsigned int recursion_level) __skb_to_sgvec() argument
4951 skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) skb_to_sgvec() argument
4983 skb_to_sgvec_nomark(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) skb_to_sgvec_nomark() argument
5009 skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) skb_cow_data() argument
5102 sock_rmem_free(struct sk_buff *skb) sock_rmem_free() argument
5109 skb_set_err_queue(struct sk_buff *skb) skb_set_err_queue() argument
5121 sock_queue_err_skb(struct sock *sk, struct sk_buff *skb) sock_queue_err_skb() argument
5143 is_icmp_err_skb(const struct sk_buff *skb) is_icmp_err_skb() argument
5152 struct sk_buff *skb, *skb_next = NULL; sock_dequeue_err_skb() local
5188 skb_clone_sk(struct sk_buff *skb) skb_clone_sk() argument
5209 __skb_complete_tx_timestamp(struct sk_buff *skb, struct sock *sk, int tstype, bool opt_stats) __skb_complete_tx_timestamp() argument
5252 skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps) skb_complete_tx_timestamp() argument
5280 struct sk_buff *skb; __skb_tstamp_tx() local
5341 skb_complete_wifi_ack(struct sk_buff *skb, bool acked) skb_complete_wifi_ack() argument
5380 skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off) skb_partial_csum_set() argument
5398 skb_maybe_pull_tail(struct sk_buff *skb, unsigned int len, unsigned int max) skb_maybe_pull_tail() argument
5421 skb_checksum_setup_ip(struct sk_buff *skb, typeof(IPPROTO_IP) proto, unsigned int off) skb_checksum_setup_ip() argument
5455 skb_checksum_setup_ipv4(struct sk_buff *skb, bool recalculate) skb_checksum_setup_ipv4() argument
5503 skb_checksum_setup_ipv6(struct sk_buff *skb, bool recalculate) skb_checksum_setup_ipv6() argument
5608 skb_checksum_setup(struct sk_buff *skb, bool recalculate) skb_checksum_setup() argument
5643 skb_checksum_maybe_trim(struct sk_buff *skb, unsigned int transport_len) skb_checksum_maybe_trim() argument
5683 skb_checksum_trimmed(struct sk_buff *skb, unsigned int transport_len, __sum16(*skb_chkf)(struct sk_buff *skb)) skb_checksum_trimmed() argument
5716 __skb_warn_lro_forwarding(const struct sk_buff *skb) __skb_warn_lro_forwarding() argument
5723 kfree_skb_partial(struct sk_buff *skb, bool head_stolen) kfree_skb_partial() argument
5845 skb_scrub_packet(struct sk_buff *skb, bool xnet) skb_scrub_packet() argument
5869 skb_reorder_vlan_header(struct sk_buff *skb) skb_reorder_vlan_header() argument
5895 skb_vlan_untag(struct sk_buff *skb) skb_vlan_untag() argument
5936 skb_ensure_writable(struct sk_buff *skb, unsigned int write_len) skb_ensure_writable() argument
5951 __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) __skb_vlan_pop() argument
5984 skb_vlan_pop(struct sk_buff *skb) skb_vlan_pop() argument
6017 skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) skb_vlan_push() argument
6056 skb_eth_pop(struct sk_buff *skb) skb_eth_pop() argument
6083 skb_eth_push(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src) skb_eth_push() argument
6112 skb_mod_eth_type(struct sk_buff *skb, struct ethhdr *hdr, __be16 ethertype) skb_mod_eth_type() argument
6139 skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet) skb_mpls_push() argument
6192 skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet) skb_mpls_pop() argument
6235 skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse) skb_mpls_update_lse() argument
6267 skb_mpls_dec_ttl(struct sk_buff *skb) skb_mpls_dec_ttl() argument
6308 struct sk_buff *skb; alloc_skb_with_frags() local
6357 pskb_carve_inside_header(struct sk_buff *skb, const u32 off, const int headlen, gfp_t gfp_mask) pskb_carve_inside_header() argument
6418 pskb_carve_frag_list(struct sk_buff *skb, struct skb_shared_info *shinfo, int eat, gfp_t gfp_mask) pskb_carve_frag_list() argument
6472 pskb_carve_inside_nonlinear(struct sk_buff *skb, const u32 off, int pos, gfp_t gfp_mask) pskb_carve_inside_nonlinear() argument
6549 pskb_carve(struct sk_buff *skb, const u32 len, gfp_t gfp) pskb_carve() argument
6562 pskb_extract(struct sk_buff *skb, int off, int to_copy, gfp_t gfp) pskb_extract() argument
6591 skb_condense(struct sk_buff *skb) skb_condense() argument
6685 __skb_ext_set(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext) __skb_ext_set() argument
6713 skb_ext_add(struct sk_buff *skb, enum skb_ext_id id) skb_ext_add() argument
6766 __skb_ext_del(struct sk_buff *skb, enum skb_ext_id id) __skb_ext_del() argument
6819 skb_attempt_defer_free(struct sk_buff *skb) skb_attempt_defer_free() argument
6859 skb_splice_csum_page(struct sk_buff *skb, struct page *page, size_t offset, size_t len) skb_splice_csum_page() argument
6886 skb_splice_from_iter(struct sk_buff *skb, struct iov_iter *iter, ssize_t maxsize, gfp_t gfp) skb_splice_from_iter() argument
[all...]
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_output.c28 static int xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb);
29 static int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb);
31 static int xfrm_skb_check_space(struct sk_buff *skb) in xfrm_skb_check_space() argument
33 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space()
35 - skb_headroom(skb); in xfrm_skb_check_space()
36 int ntail = dst->dev->needed_tailroom - skb_tailroom(skb); in xfrm_skb_check_space()
45 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
52 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop() argument
54 struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); in skb_dst_pop()
56 skb_dst_drop(skb); in skb_dst_pop()
65 xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) xfrm4_transport_output() argument
82 mip6_rthdr_offset(struct sk_buff *skb, u8 **nexthdr, int type) mip6_rthdr_offset() argument
142 xfrm6_hdr_offset(struct xfrm_state *x, struct sk_buff *skb, u8 **prevhdr) xfrm6_hdr_offset() argument
163 xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_transport_output() argument
194 xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_ro_output() argument
224 xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm4_beet_encap_add() argument
273 xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm4_tunnel_encap_add() argument
319 xfrm6_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm6_tunnel_encap_add() argument
354 xfrm6_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm6_beet_encap_add() argument
405 xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) xfrm4_prepare_output() argument
427 xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_prepare_output() argument
453 xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb) xfrm_outer_mode_output() argument
483 pktgen_xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb) pktgen_xfrm_outer_mode_output() argument
490 xfrm_output_one(struct sk_buff *skb, int err) xfrm_output_one() argument
584 xfrm_output_resume(struct sock *sk, struct sk_buff *skb, int err) xfrm_output_resume() argument
613 xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb) xfrm_output2() argument
618 xfrm_output_gso(struct net *net, struct sock *sk, struct sk_buff *skb) xfrm_output_gso() argument
656 xfrm_get_inner_ipproto(struct sk_buff *skb, struct xfrm_state *x) xfrm_get_inner_ipproto() argument
703 xfrm_output(struct sock *sk, struct sk_buff *skb) xfrm_output() argument
783 xfrm4_tunnel_check_size(struct sk_buff *skb) xfrm4_tunnel_check_size() argument
810 xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb) xfrm4_extract_output() argument
831 xfrm6_tunnel_check_size(struct sk_buff *skb) xfrm6_tunnel_check_size() argument
862 xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_extract_output() argument
881 xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb) xfrm_inner_extract_output() argument
893 xfrm_local_error(struct sk_buff *skb, int mtu) xfrm_local_error() argument
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dudp_offload.c14 static struct sk_buff *__skb_udp_tunnel_segment(struct sk_buff *skb, in __skb_udp_tunnel_segment() argument
16 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, in __skb_udp_tunnel_segment()
20 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in __skb_udp_tunnel_segment()
23 struct udphdr *uh = udp_hdr(skb); in __skb_udp_tunnel_segment()
24 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment()
25 __be16 protocol = skb->protocol; in __skb_udp_tunnel_segment()
26 u16 mac_len = skb->mac_len; in __skb_udp_tunnel_segment()
31 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in __skb_udp_tunnel_segment()
40 if (skb_shinfo(skb) in __skb_udp_tunnel_segment()
148 skb_udp_tunnel_segment(struct sk_buff *skb, netdev_features_t features, bool is_ipv6) skb_udp_tunnel_segment() argument
245 __udp_gso_segment_list(struct sk_buff *skb, netdev_features_t features, bool is_ipv6) __udp_gso_segment_list() argument
364 udp4_ufo_fragment(struct sk_buff *skb, netdev_features_t features) udp4_ufo_fragment() argument
425 udp_gro_receive_segment(struct list_head *head, struct sk_buff *skb) udp_gro_receive_segment() argument
506 udp_gro_receive(struct list_head *head, struct sk_buff *skb, struct udphdr *uh, struct sock *sk) udp_gro_receive() argument
567 udp4_gro_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport) udp4_gro_lookup_skb() argument
578 udp4_gro_receive(struct list_head *head, struct sk_buff *skb) udp4_gro_receive() argument
613 udp_gro_complete_segment(struct sk_buff *skb) udp_gro_complete_segment() argument
630 udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup) udp_gro_complete() argument
665 udp4_gro_complete(struct sk_buff *skb, int nhoff) udp4_gro_complete() argument
[all...]
H A Dgre_offload.c14 static struct sk_buff *gre_gso_segment(struct sk_buff *skb, in gre_gso_segment() argument
17 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment()
20 u16 mac_offset = skb->mac_header; in gre_gso_segment()
21 __be16 protocol = skb->protocol; in gre_gso_segment()
22 u16 mac_len = skb->mac_len; in gre_gso_segment()
25 if (!skb->encapsulation) in gre_gso_segment()
31 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in gre_gso_segment()
34 /* setup inner skb. */ in gre_gso_segment()
35 skb in gre_gso_segment()
116 gre_gro_receive(struct list_head *head, struct sk_buff *skb) gre_gro_receive() argument
236 gre_gro_complete(struct sk_buff *skb, int nhoff) gre_gro_complete() argument
[all...]
H A Dip_input.c151 bool ip_call_ra_chain(struct sk_buff *skb) in ip_call_ra_chain() argument
154 u8 protocol = ip_hdr(skb)->protocol; in ip_call_ra_chain()
156 struct net_device *dev = skb->dev; in ip_call_ra_chain()
168 if (ip_is_fragment(ip_hdr(skb))) { in ip_call_ra_chain()
169 if (ip_defrag(net, skb, IP_DEFRAG_CALL_RA_CHAIN)) in ip_call_ra_chain()
173 struct sk_buff *skb2 = skb_clone(skb, GFP_ATOMIC); in ip_call_ra_chain()
182 raw_rcv(last, skb); in ip_call_ra_chain()
190 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) in ip_protocol_deliver_rcu() argument
196 raw = raw_local_deliver(skb, protocol); in ip_protocol_deliver_rcu()
201 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { in ip_protocol_deliver_rcu()
229 ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) ip_local_deliver_finish() argument
243 ip_local_deliver(struct sk_buff *skb) ip_local_deliver() argument
268 ip_rcv_options(struct sk_buff *skb, struct net_device *dev) ip_rcv_options() argument
316 ip_can_use_hint(const struct sk_buff *skb, const struct iphdr *iph, const struct sk_buff *hint) ip_can_use_hint() argument
325 ip_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct sk_buff *hint) ip_rcv_finish_core() argument
437 ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) ip_rcv_finish() argument
458 ip_rcv_core(struct sk_buff *skb, struct net *net) ip_rcv_core() argument
553 ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) ip_rcv() argument
569 struct sk_buff *skb, *next; ip_sublist_rcv_finish() local
577 ip_extract_route_hint(const struct net *net, struct sk_buff *skb, int rt_type) ip_extract_route_hint() argument
590 struct sk_buff *skb, *next, *hint = NULL; ip_list_rcv_finish() local
641 struct sk_buff *skb, *next; ip_list_rcv() local
[all...]
H A Dtcp_offload.c14 static void tcp_gso_tstamp(struct sk_buff *skb, unsigned int ts_seq, in tcp_gso_tstamp() argument
17 while (skb) { in tcp_gso_tstamp()
19 skb_shinfo(skb)->tx_flags |= SKBTX_SW_TSTAMP; in tcp_gso_tstamp()
20 skb_shinfo(skb)->tskey = ts_seq; in tcp_gso_tstamp()
24 skb = skb->next; in tcp_gso_tstamp()
29 static struct sk_buff *tcp4_gso_segment(struct sk_buff *skb, in tcp4_gso_segment() argument
32 if (!(skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4)) in tcp4_gso_segment()
35 if (!pskb_may_pull(skb, sizeof(struct tcphdr))) in tcp4_gso_segment()
38 if (unlikely(skb in tcp4_gso_segment()
54 tcp_gso_segment(struct sk_buff *skb, netdev_features_t features) tcp_gso_segment() argument
180 tcp_gro_receive(struct list_head *head, struct sk_buff *skb) tcp_gro_receive() argument
288 tcp_gro_complete(struct sk_buff *skb) tcp_gro_complete() argument
309 tcp4_gro_receive(struct list_head *head, struct sk_buff *skb) tcp4_gro_receive() argument
322 tcp4_gro_complete(struct sk_buff *skb, int thoff) tcp4_gro_complete() argument
[all...]
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_output.c27 static int xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb);
28 static int xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb);
30 static int xfrm_skb_check_space(struct sk_buff *skb) in xfrm_skb_check_space() argument
32 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space()
34 - skb_headroom(skb); in xfrm_skb_check_space()
35 int ntail = dst->dev->needed_tailroom - skb_tailroom(skb); in xfrm_skb_check_space()
44 return pskb_expand_head(skb, nhead, ntail, GFP_ATOMIC); in xfrm_skb_check_space()
51 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop() argument
53 struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); in skb_dst_pop()
55 skb_dst_drop(skb); in skb_dst_pop()
64 xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) xfrm4_transport_output() argument
85 xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_transport_output() argument
116 xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_ro_output() argument
148 xfrm4_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm4_beet_encap_add() argument
197 xfrm4_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm4_tunnel_encap_add() argument
242 xfrm6_tunnel_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm6_tunnel_encap_add() argument
277 xfrm6_beet_encap_add(struct xfrm_state *x, struct sk_buff *skb) xfrm6_beet_encap_add() argument
328 xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) xfrm4_prepare_output() argument
350 xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_prepare_output() argument
376 xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb) xfrm_outer_mode_output() argument
406 pktgen_xfrm_outer_mode_output(struct xfrm_state *x, struct sk_buff *skb) pktgen_xfrm_outer_mode_output() argument
413 xfrm_output_one(struct sk_buff *skb, int err) xfrm_output_one() argument
506 xfrm_output_resume(struct sock *sk, struct sk_buff *skb, int err) xfrm_output_resume() argument
535 xfrm_output2(struct net *net, struct sock *sk, struct sk_buff *skb) xfrm_output2() argument
540 xfrm_output_gso(struct net *net, struct sock *sk, struct sk_buff *skb) xfrm_output_gso() argument
568 xfrm_output(struct sock *sk, struct sk_buff *skb) xfrm_output() argument
632 xfrm4_tunnel_check_size(struct sk_buff *skb) xfrm4_tunnel_check_size() argument
659 xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb) xfrm4_extract_output() argument
680 xfrm6_tunnel_check_size(struct sk_buff *skb) xfrm6_tunnel_check_size() argument
711 xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) xfrm6_extract_output() argument
730 xfrm_inner_extract_output(struct xfrm_state *x, struct sk_buff *skb) xfrm_inner_extract_output() argument
753 xfrm_local_error(struct sk_buff *skb, int mtu) xfrm_local_error() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_handlers.c22 static void rmnet_set_skb_proto(struct sk_buff *skb) in rmnet_set_skb_proto() argument
24 switch (skb->data[0] & 0xF0) { in rmnet_set_skb_proto()
26 skb->protocol = htons(ETH_P_IP); in rmnet_set_skb_proto()
29 skb->protocol = htons(ETH_P_IPV6); in rmnet_set_skb_proto()
32 skb->protocol = htons(ETH_P_MAP); in rmnet_set_skb_proto()
40 rmnet_deliver_skb(struct sk_buff *skb) in rmnet_deliver_skb() argument
42 struct rmnet_priv *priv = netdev_priv(skb->dev); in rmnet_deliver_skb()
44 skb_reset_transport_header(skb); in rmnet_deliver_skb()
45 skb_reset_network_header(skb); in rmnet_deliver_skb()
46 rmnet_vnd_rx_fixup(skb, sk in rmnet_deliver_skb()
56 __rmnet_map_ingress_handler(struct sk_buff *skb, struct rmnet_port *port) __rmnet_map_ingress_handler() argument
101 rmnet_map_ingress_handler(struct sk_buff *skb, struct rmnet_port *port) rmnet_map_ingress_handler() argument
125 rmnet_map_egress_handler(struct sk_buff *skb, struct rmnet_port *port, u8 mux_id, struct net_device *orig_dev) rmnet_map_egress_handler() argument
160 rmnet_bridge_handler(struct sk_buff *skb, struct net_device *bridge_dev) rmnet_bridge_handler() argument
179 struct sk_buff *skb = *pskb; rmnet_rx_handler() local
214 rmnet_egress_handler(struct sk_buff *skb) rmnet_egress_handler() argument
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dskbuff.c19 * Ray VanTassle : Fixed --skb->lock in free
74 #include <trace/events/skb.h>
92 * @skb: buffer
102 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument
106 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic()
107 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic()
108 skb in skb_panic()
112 skb_over_panic(struct sk_buff *skb, unsigned int sz, void *addr) skb_over_panic() argument
117 skb_under_panic(struct sk_buff *skb, unsigned int sz, void *addr) skb_under_panic() argument
187 struct sk_buff *skb; __alloc_skb() local
265 __build_skb_around(struct sk_buff *skb, void *data, unsigned int frag_size) __build_skb_around() argument
314 struct sk_buff *skb; __build_skb() local
332 struct sk_buff *skb = __build_skb(data, frag_size); build_skb() local
349 build_skb_around(struct sk_buff *skb, void *data, unsigned int frag_size) build_skb_around() argument
434 struct sk_buff *skb; __netdev_alloc_skb() local
509 struct sk_buff *skb; __napi_alloc_skb() local
556 skb_add_rx_frag(struct sk_buff *skb, int i, struct page *page, int off, int size, unsigned int truesize) skb_add_rx_frag() argument
566 skb_coalesce_rx_frag(struct sk_buff *skb, int i, int size, unsigned int truesize) skb_coalesce_rx_frag() argument
584 skb_drop_fraglist(struct sk_buff *skb) skb_drop_fraglist() argument
589 skb_clone_fraglist(struct sk_buff *skb) skb_clone_fraglist() argument
597 skb_free_head(struct sk_buff *skb) skb_free_head() argument
607 skb_release_data(struct sk_buff *skb) skb_release_data() argument
630 kfree_skbmem(struct sk_buff *skb) kfree_skbmem() argument
660 skb_release_head_state(struct sk_buff *skb) skb_release_head_state() argument
674 skb_release_all(struct sk_buff *skb) skb_release_all() argument
690 __kfree_skb(struct sk_buff *skb) __kfree_skb() argument
704 kfree_skb(struct sk_buff *skb) kfree_skb() argument
731 skb_dump(const char *level, const struct sk_buff *skb, bool full_pkt) skb_dump() argument
827 skb_tx_error(struct sk_buff *skb) skb_tx_error() argument
842 consume_skb(struct sk_buff *skb) consume_skb() argument
860 __consume_stateless_skb(struct sk_buff *skb) __consume_stateless_skb() argument
879 _kfree_skb_defer(struct sk_buff *skb) _kfree_skb_defer() argument
901 __kfree_skb_defer(struct sk_buff *skb) __kfree_skb_defer() argument
906 napi_consume_skb(struct sk_buff *skb, int budget) napi_consume_skb() argument
989 __skb_clone(struct sk_buff *n, struct sk_buff *skb) __skb_clone() argument
1106 struct sk_buff *skb; sock_zerocopy_alloc() local
1184 skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) skb_zerocopy_notify_extend() argument
1206 struct sk_buff *tail, *skb = skb_from_uarg(uarg); sock_zerocopy_callback() local
1278 skb_zerocopy_iter_dgram(struct sk_buff *skb, struct msghdr *msg, int len) skb_zerocopy_iter_dgram() argument
1284 skb_zerocopy_iter_stream(struct sock *sk, struct sk_buff *skb, struct msghdr *msg, int len, struct ubuf_info *uarg) skb_zerocopy_iter_stream() argument
1350 skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) skb_copy_ubufs() argument
1438 skb_clone(struct sk_buff *skb, gfp_t gfp_mask) skb_clone() argument
1467 skb_headers_offset_update(struct sk_buff *skb, int off) skb_headers_offset_update() argument
1493 skb_alloc_rx_flag(const struct sk_buff *skb) skb_alloc_rx_flag() argument
1517 skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) skb_copy() argument
1562 __pskb_copy_fclone(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone) __pskb_copy_fclone() argument
1626 pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask) pskb_expand_head() argument
1715 skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) skb_realloc_headroom() argument
1752 skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask) skb_copy_expand() argument
1811 __skb_pad(struct sk_buff *skb, int pad, bool free_on_error) __skb_pad() argument
1859 pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) pskb_put() argument
1878 skb_put(struct sk_buff *skb, unsigned int len) skb_put() argument
1899 skb_push(struct sk_buff *skb, unsigned int len) skb_push() argument
1919 skb_pull(struct sk_buff *skb, unsigned int len) skb_pull() argument
1934 skb_trim(struct sk_buff *skb, unsigned int len) skb_trim() argument
1944 ___pskb_trim(struct sk_buff *skb, unsigned int len) ___pskb_trim() argument
2031 pskb_trim_rcsum_slow(struct sk_buff *skb, unsigned int len) pskb_trim_rcsum_slow() argument
2075 __pskb_pull_tail(struct sk_buff *skb, int delta) __pskb_pull_tail() argument
2216 skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) skb_copy_bits() argument
2401 __skb_splice_bits(struct sk_buff *skb, struct pipe_inode_info *pipe, unsigned int *offset, unsigned int *len, struct splice_pipe_desc *spd, struct sock *sk) __skb_splice_bits() argument
2453 skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset, struct pipe_inode_info *pipe, unsigned int tlen, unsigned int flags) skb_splice_bits() argument
2478 skb_send_sock_locked(struct sock *sk, struct sk_buff *skb, int offset, int len) skb_send_sock_locked() argument
2578 skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) skb_store_bits() argument
2656 __skb_checksum(const struct sk_buff *skb, int offset, int len, __wsum csum, const struct skb_checksum_ops *ops) __skb_checksum() argument
2740 skb_checksum(const struct sk_buff *skb, int offset, int len, __wsum csum) skb_checksum() argument
2754 skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to, int len) skb_copy_and_csum_bits() argument
2839 __skb_checksum_complete_head(struct sk_buff *skb, int len) __skb_checksum_complete_head() argument
2865 __skb_checksum_complete(struct sk_buff *skb) __skb_checksum_complete() argument
3030 skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to) skb_copy_and_csum_dev() argument
3108 struct sk_buff *skb; skb_queue_purge() local
3130 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); skb_rbtree_purge() local
3192 skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) skb_unlink() argument
3222 skb_split_inside_header(struct sk_buff *skb, struct sk_buff* skb1, const u32 len, const int pos) skb_split_inside_header() argument
3243 skb_split_no_header(struct sk_buff *skb, struct sk_buff* skb1, const u32 len, int pos) skb_split_no_header() argument
3290 skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len) skb_split() argument
3308 skb_prepare_for_shift(struct sk_buff *skb) skb_prepare_for_shift() argument
3343 skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen) skb_shift() argument
3473 skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st) skb_prepare_seq_read() argument
3616 skb_find_text(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config) skb_find_text() argument
3632 skb_append_pagefrags(struct sk_buff *skb, struct page *page, int offset, size_t size) skb_append_pagefrags() argument
3661 skb_pull_rcsum(struct sk_buff *skb, unsigned int len) skb_pull_rcsum() argument
3685 skb_segment_list(struct sk_buff *skb, netdev_features_t features, unsigned int offset) skb_segment_list() argument
3775 skb_gro_receive_list(struct sk_buff *p, struct sk_buff *skb) skb_gro_receive_list() argument
4157 skb_gro_receive(struct sk_buff *p, struct sk_buff *skb) skb_gro_receive() argument
4338 __skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len, unsigned int recursion_level) __skb_to_sgvec() argument
4421 skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) skb_to_sgvec() argument
4453 skb_to_sgvec_nomark(struct sk_buff *skb, struct scatterlist *sg, int offset, int len) skb_to_sgvec_nomark() argument
4479 skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer) skb_cow_data() argument
4572 sock_rmem_free(struct sk_buff *skb) sock_rmem_free() argument
4579 skb_set_err_queue(struct sk_buff *skb) skb_set_err_queue() argument
4591 sock_queue_err_skb(struct sock *sk, struct sk_buff *skb) sock_queue_err_skb() argument
4613 is_icmp_err_skb(const struct sk_buff *skb) is_icmp_err_skb() argument
4622 struct sk_buff *skb, *skb_next = NULL; sock_dequeue_err_skb() local
4658 skb_clone_sk(struct sk_buff *skb) skb_clone_sk() argument
4679 __skb_complete_tx_timestamp(struct sk_buff *skb, struct sock *sk, int tstype, bool opt_stats) __skb_complete_tx_timestamp() argument
4723 skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps) skb_complete_tx_timestamp() argument
4750 struct sk_buff *skb; __skb_tstamp_tx() local
4808 skb_complete_wifi_ack(struct sk_buff *skb, bool acked) skb_complete_wifi_ack() argument
4846 skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off) skb_partial_csum_set() argument
4864 skb_maybe_pull_tail(struct sk_buff *skb, unsigned int len, unsigned int max) skb_maybe_pull_tail() argument
4887 skb_checksum_setup_ip(struct sk_buff *skb, typeof(IPPROTO_IP) proto, unsigned int off) skb_checksum_setup_ip() argument
4921 skb_checksum_setup_ipv4(struct sk_buff *skb, bool recalculate) skb_checksum_setup_ipv4() argument
4969 skb_checksum_setup_ipv6(struct sk_buff *skb, bool recalculate) skb_checksum_setup_ipv6() argument
5074 skb_checksum_setup(struct sk_buff *skb, bool recalculate) skb_checksum_setup() argument
5109 skb_checksum_maybe_trim(struct sk_buff *skb, unsigned int transport_len) skb_checksum_maybe_trim() argument
5149 skb_checksum_trimmed(struct sk_buff *skb, unsigned int transport_len, __sum16(*skb_chkf)(struct sk_buff *skb)) skb_checksum_trimmed() argument
5182 __skb_warn_lro_forwarding(const struct sk_buff *skb) __skb_warn_lro_forwarding() argument
5189 kfree_skb_partial(struct sk_buff *skb, bool head_stolen) kfree_skb_partial() argument
5297 skb_scrub_packet(struct sk_buff *skb, bool xnet) skb_scrub_packet() argument
5331 skb_gso_transport_seglen(const struct sk_buff *skb) skb_gso_transport_seglen() argument
5366 skb_gso_network_seglen(const struct sk_buff *skb) skb_gso_network_seglen() argument
5383 skb_gso_mac_seglen(const struct sk_buff *skb) skb_gso_mac_seglen() argument
5411 skb_gso_size_check(const struct sk_buff *skb, unsigned int seg_len, unsigned int max_len) skb_gso_size_check() argument
5441 skb_gso_validate_network_len(const struct sk_buff *skb, unsigned int mtu) skb_gso_validate_network_len() argument
5456 skb_gso_validate_mac_len(const struct sk_buff *skb, unsigned int len) skb_gso_validate_mac_len() argument
5462 skb_reorder_vlan_header(struct sk_buff *skb) skb_reorder_vlan_header() argument
5488 skb_vlan_untag(struct sk_buff *skb) skb_vlan_untag() argument
5528 skb_ensure_writable(struct sk_buff *skb, int write_len) skb_ensure_writable() argument
5543 __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) __skb_vlan_pop() argument
5582 skb_vlan_pop(struct sk_buff *skb) skb_vlan_pop() argument
5615 skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) skb_vlan_push() argument
5654 skb_eth_pop(struct sk_buff *skb) skb_eth_pop() argument
5681 skb_eth_push(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src) skb_eth_push() argument
5710 skb_mod_eth_type(struct sk_buff *skb, struct ethhdr *hdr, __be16 ethertype) skb_mod_eth_type() argument
5737 skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet) skb_mpls_push() argument
5790 skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet) skb_mpls_pop() argument
5833 skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse) skb_mpls_update_lse() argument
5865 skb_mpls_dec_ttl(struct sk_buff *skb) skb_mpls_dec_ttl() argument
5907 struct sk_buff *skb; alloc_skb_with_frags() local
5961 pskb_carve_inside_header(struct sk_buff *skb, const u32 off, const int headlen, gfp_t gfp_mask) pskb_carve_inside_header() argument
6030 pskb_carve_frag_list(struct sk_buff *skb, struct skb_shared_info *shinfo, int eat, gfp_t gfp_mask) pskb_carve_frag_list() argument
6084 pskb_carve_inside_nonlinear(struct sk_buff *skb, const u32 off, int pos, gfp_t gfp_mask) pskb_carve_inside_nonlinear() argument
6169 pskb_carve(struct sk_buff *skb, const u32 len, gfp_t gfp) pskb_carve() argument
6182 pskb_extract(struct sk_buff *skb, int off, int to_copy, gfp_t gfp) pskb_extract() argument
6211 skb_condense(struct sk_buff *skb) skb_condense() argument
6296 __skb_ext_set(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext) __skb_ext_set() argument
6324 skb_ext_add(struct sk_buff *skb, enum skb_ext_id id) skb_ext_add() argument
6368 __skb_ext_del(struct sk_buff *skb, enum skb_ext_id id) __skb_ext_del() argument
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dgro.h16 /* Virtual address of skb_shinfo(skb)->frags[0].page + offset. */
32 /* This indicates where we are processing relative to skb->data. */
35 /* This is non-zero if the packet cannot be merged with the new skb. */
68 /* Free the skb? */
91 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb)
94 static inline int gro_recursion_inc_test(struct sk_buff *skb) in gro_recursion_inc_test() argument
96 return ++NAPI_GRO_CB(skb)->recursion_counter == GRO_RECURSION_LIMIT; in gro_recursion_inc_test()
102 struct sk_buff *skb) in call_gro_receive()
104 if (unlikely(gro_recursion_inc_test(skb))) { in call_gro_receive()
100 call_gro_receive(gro_receive_t cb, struct list_head *head, struct sk_buff *skb) call_gro_receive() argument
114 call_gro_receive_sk(gro_receive_sk_t cb, struct sock *sk, struct list_head *head, struct sk_buff *skb) call_gro_receive_sk() argument
127 skb_gro_offset(const struct sk_buff *skb) skb_gro_offset() argument
132 skb_gro_len(const struct sk_buff *skb) skb_gro_len() argument
137 skb_gro_pull(struct sk_buff *skb, unsigned int len) skb_gro_pull() argument
142 skb_gro_header_fast(struct sk_buff *skb, unsigned int offset) skb_gro_header_fast() argument
148 skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen) skb_gro_header_hard() argument
153 skb_gro_frag0_invalidate(struct sk_buff *skb) skb_gro_frag0_invalidate() argument
159 skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen, unsigned int offset) skb_gro_header_slow() argument
169 skb_gro_header(struct sk_buff *skb, unsigned int hlen, unsigned int offset) skb_gro_header() argument
180 skb_gro_network_header(struct sk_buff *skb) skb_gro_network_header() argument
186 inet_gro_compute_pseudo(struct sk_buff *skb, int proto) inet_gro_compute_pseudo() argument
194 skb_gro_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len) skb_gro_postpull_rcsum() argument
209 skb_at_gro_remcsum_start(struct sk_buff *skb) skb_at_gro_remcsum_start() argument
214 __skb_gro_checksum_validate_needed(struct sk_buff *skb, bool zero_okay, __sum16 check) __skb_gro_checksum_validate_needed() argument
226 __skb_gro_checksum_validate_complete(struct sk_buff *skb, __wsum psum) __skb_gro_checksum_validate_complete() argument
238 skb_gro_incr_csum_unnecessary(struct sk_buff *skb) skb_gro_incr_csum_unnecessary() argument
274 __skb_gro_checksum_convert_check(struct sk_buff *skb) __skb_gro_checksum_convert_check() argument
280 __skb_gro_checksum_convert(struct sk_buff *skb, __wsum pseudo) __skb_gro_checksum_convert() argument
305 skb_gro_remcsum_process(struct sk_buff *skb, void *ptr, unsigned int off, size_t hdrlen, int start, int offset, struct gro_remcsum *grc, bool nopartial) skb_gro_remcsum_process() argument
337 skb_gro_remcsum_cleanup(struct sk_buff *skb, struct gro_remcsum *grc) skb_gro_remcsum_cleanup() argument
354 skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, int flush) skb_gro_flush_final() argument
359 skb_gro_flush_final_remcsum(struct sk_buff *skb, struct sk_buff *pp, int flush, struct gro_remcsum *grc) skb_gro_flush_final_remcsum() argument
371 skb_gro_flush_final(struct sk_buff *skb, struct sk_buff *pp, int flush) skb_gro_flush_final() argument
375 skb_gro_flush_final_remcsum(struct sk_buff *skb, struct sk_buff *pp, int flush, struct gro_remcsum *grc) skb_gro_flush_final_remcsum() argument
412 udp_gro_udphdr(struct sk_buff *skb) udp_gro_udphdr() argument
424 ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) ip6_gro_compute_pseudo() argument
447 gro_normal_one(struct napi_struct *napi, struct sk_buff *skb, int segs) gro_normal_one() argument
461 inet_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) inet_get_iif_sdif() argument
482 inet6_get_iif_sdif(const struct sk_buff *skb, int *iif, int *sdif) inet6_get_iif_sdif() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/can/dev/
H A Dskb.c41 /* Put the skb on the stack to be looped backed locally lateron
47 int can_put_echo_skb(struct sk_buff *skb, struct net_device *dev, in can_put_echo_skb() argument
60 (skb->protocol != htons(ETH_P_CAN) && in can_put_echo_skb()
61 skb->protocol != htons(ETH_P_CANFD) && in can_put_echo_skb()
62 skb->protocol != htons(ETH_P_CANXL))) { in can_put_echo_skb()
63 kfree_skb(skb); in can_put_echo_skb()
68 skb = can_create_echo_skb(skb); in can_put_echo_skb()
69 if (!skb) in can_put_echo_skb()
73 skb in can_put_echo_skb()
113 struct sk_buff *skb = priv->echo_skb[idx]; __can_get_echo_skb() local
149 struct sk_buff *skb; can_get_echo_skb() local
182 struct sk_buff *skb = priv->echo_skb[idx]; can_free_echo_skb() local
195 init_can_skb_reserve(struct sk_buff *skb) init_can_skb_reserve() argument
210 struct sk_buff *skb; alloc_can_skb() local
233 struct sk_buff *skb; alloc_canfd_skb() local
260 struct sk_buff *skb; alloc_canxl_skb() local
291 struct sk_buff *skb; alloc_can_err_skb() local
305 can_skb_headroom_valid(struct net_device *dev, struct sk_buff *skb) can_skb_headroom_valid() argument
342 can_dropped_invalid_skb(struct net_device *dev, struct sk_buff *skb) can_dropped_invalid_skb() argument
[all...]
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dbtbcm.c76 struct sk_buff *skb; in btbcm_check_bdaddr() local
78 skb = __hci_cmd_sync(hdev, HCI_OP_READ_BD_ADDR, 0, NULL, in btbcm_check_bdaddr()
80 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
81 int err = PTR_ERR(skb); in btbcm_check_bdaddr()
87 if (skb->len != sizeof(*bda)) { in btbcm_check_bdaddr()
89 kfree_skb(skb); in btbcm_check_bdaddr()
93 bda = (struct hci_rp_read_bd_addr *)skb->data; in btbcm_check_bdaddr()
134 kfree_skb(skb); in btbcm_check_bdaddr()
142 struct sk_buff *skb; in btbcm_set_bdaddr() local
145 skb in btbcm_set_bdaddr()
160 struct sk_buff *skb; btbcm_read_pcm_int_params() local
188 struct sk_buff *skb; btbcm_write_pcm_int_params() local
208 struct sk_buff *skb; btbcm_patchram() local
268 struct sk_buff *skb; btbcm_reset() local
287 struct sk_buff *skb; btbcm_read_local_name() local
308 struct sk_buff *skb; btbcm_read_local_version() local
329 struct sk_buff *skb; btbcm_read_verbose_config() local
349 struct sk_buff *skb; btbcm_read_controller_features() local
369 struct sk_buff *skb; btbcm_read_usb_product() local
389 struct sk_buff *skb; btbcm_read_info() local
412 struct sk_buff *skb; btbcm_print_local_name() local
472 struct sk_buff *skb; btbcm_initialize() local
614 struct sk_buff *skb; btbcm_setup_apple() local
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_input.c49 struct sk_buff *skb) in ip6_rcv_finish_core()
52 !skb_dst(skb) && !skb->sk) { in ip6_rcv_finish_core()
53 switch (ipv6_hdr(skb)->nexthdr) { in ip6_rcv_finish_core()
56 tcp_v6_early_demux(skb); in ip6_rcv_finish_core()
60 udp_v6_early_demux(skb); in ip6_rcv_finish_core()
65 if (!skb_valid_dst(skb)) in ip6_rcv_finish_core()
66 ip6_route_input(skb); in ip6_rcv_finish_core()
69 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() argument
72 * skb t in ip6_rcv_finish()
48 ip6_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb) ip6_rcv_finish_core() argument
84 struct sk_buff *skb, *next; ip6_sublist_rcv_finish() local
92 ip6_can_use_hint(const struct sk_buff *skb, const struct sk_buff *hint) ip6_can_use_hint() argument
99 ip6_extract_route_hint(const struct net *net, struct sk_buff *skb) ip6_extract_route_hint() argument
112 struct sk_buff *skb, *next, *hint = NULL; ip6_list_rcv_finish() local
149 ip6_rcv_core(struct sk_buff *skb, struct net_device *dev, struct net *net) ip6_rcv_core() argument
303 ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) ipv6_rcv() argument
329 struct sk_buff *skb, *next; ipv6_list_rcv() local
363 ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, bool have_final) ip6_protocol_deliver_rcu() argument
479 ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) ip6_input_finish() argument
490 ip6_input(struct sk_buff *skb) ip6_input() argument
498 ip6_mc_input(struct sk_buff *skb) ip6_mc_input() argument
[all...]
H A Dexthdrs.c64 static bool ip6_tlvopt_unknown(struct sk_buff *skb, int optoff, in ip6_tlvopt_unknown() argument
78 switch ((skb_network_header(skb)[optoff] & 0xC0) >> 6) { in ip6_tlvopt_unknown()
89 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr)) in ip6_tlvopt_unknown()
93 icmpv6_param_prob_reason(skb, ICMPV6_UNK_OPTION, optoff, in ip6_tlvopt_unknown()
99 kfree_skb_reason(skb, SKB_DROP_REASON_UNHANDLED_PROTO); in ip6_tlvopt_unknown()
103 static bool ipv6_hop_ra(struct sk_buff *skb, int optoff);
104 static bool ipv6_hop_ioam(struct sk_buff *skb, int optoff);
105 static bool ipv6_hop_jumbo(struct sk_buff *skb, int optoff);
106 static bool ipv6_hop_calipso(struct sk_buff *skb, int optoff);
108 static bool ipv6_dest_hao(struct sk_buff *skb, in
113 ip6_parse_tlv(bool hopbyhop, struct sk_buff *skb, int max_count) ip6_parse_tlv() argument
230 ipv6_dest_hao(struct sk_buff *skb, int optoff) ipv6_dest_hao() argument
294 ipv6_destopt_rcv(struct sk_buff *skb) ipv6_destopt_rcv() argument
339 seg6_update_csum(struct sk_buff *skb) seg6_update_csum() argument
368 ipv6_srh_rcv(struct sk_buff *skb) ipv6_srh_rcv() argument
482 ipv6_rpl_srh_rcv(struct sk_buff *skb) ipv6_rpl_srh_rcv() argument
648 ipv6_rthdr_rcv(struct sk_buff *skb) ipv6_rthdr_rcv() argument
886 ipv6_skb_net(struct sk_buff *skb) ipv6_skb_net() argument
893 ipv6_hop_ra(struct sk_buff *skb, int optoff) ipv6_hop_ra() argument
910 ipv6_hop_ioam(struct sk_buff *skb, int optoff) ipv6_hop_ioam() argument
972 ipv6_hop_jumbo(struct sk_buff *skb, int optoff) ipv6_hop_jumbo() argument
1015 ipv6_hop_calipso(struct sk_buff *skb, int optoff) ipv6_hop_calipso() argument
1035 ipv6_parse_hopopts(struct sk_buff *skb) ipv6_parse_hopopts() argument
1079 ipv6_push_rthdr0(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) ipv6_push_rthdr0() argument
1104 ipv6_push_rthdr4(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) ipv6_push_rthdr4() argument
1153 ipv6_push_rthdr(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) ipv6_push_rthdr() argument
1171 ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) ipv6_push_exthdr() argument
1180 ipv6_push_nfrag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto, struct in6_addr **daddr, struct in6_addr *saddr) ipv6_push_nfrag_opts() argument
1197 ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto) ipv6_push_frag_opts() argument
[all...]
H A Dip6_offload.c33 #define indirect_call_gro_receive_l4(f2, f1, cb, head, skb) \
35 unlikely(gro_recursion_inc_test(skb)) ? \
36 NAPI_GRO_CB(skb)->flush |= 1, NULL : \
37 INDIRECT_CALL_L4(cb, f2, f1, head, skb); \
40 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument
58 if (unlikely(!pskb_may_pull(skb, 8))) in ipv6_gso_pull_exthdrs()
61 opth = (void *)skb->data; in ipv6_gso_pull_exthdrs()
64 if (unlikely(!pskb_may_pull(skb, len))) in ipv6_gso_pull_exthdrs()
67 opth = (void *)skb->data; in ipv6_gso_pull_exthdrs()
69 __skb_pull(skb, le in ipv6_gso_pull_exthdrs()
75 ipv6_gso_segment(struct sk_buff *skb, netdev_features_t features) ipv6_gso_segment() argument
189 ipv6_gro_receive(struct list_head *head, struct sk_buff *skb) ipv6_gro_receive() argument
291 sit_ip6ip6_gro_receive(struct list_head *head, struct sk_buff *skb) sit_ip6ip6_gro_receive() argument
306 ip4ip6_gro_receive(struct list_head *head, struct sk_buff *skb) ip4ip6_gro_receive() argument
321 ipv6_gro_complete(struct sk_buff *skb, int nhoff) ipv6_gro_complete() argument
373 sit_gro_complete(struct sk_buff *skb, int nhoff) sit_gro_complete() argument
380 ip6ip6_gro_complete(struct sk_buff *skb, int nhoff) ip6ip6_gro_complete() argument
387 ip4ip6_gro_complete(struct sk_buff *skb, int nhoff) ip4ip6_gro_complete() argument
403 sit_gso_segment(struct sk_buff *skb, netdev_features_t features) sit_gso_segment() argument
412 ip4ip6_gso_segment(struct sk_buff *skb, netdev_features_t features) ip4ip6_gso_segment() argument
421 ip6ip6_gso_segment(struct sk_buff *skb, netdev_features_t features) ip6ip6_gso_segment() argument
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_input.c148 bool ip_call_ra_chain(struct sk_buff *skb) in ip_call_ra_chain() argument
151 u8 protocol = ip_hdr(skb)->protocol; in ip_call_ra_chain()
153 struct net_device *dev = skb->dev; in ip_call_ra_chain()
165 if (ip_is_fragment(ip_hdr(skb))) { in ip_call_ra_chain()
166 if (ip_defrag(net, skb, IP_DEFRAG_CALL_RA_CHAIN)) in ip_call_ra_chain()
170 struct sk_buff *skb2 = skb_clone(skb, GFP_ATOMIC); in ip_call_ra_chain()
179 raw_rcv(last, skb); in ip_call_ra_chain()
187 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) in ip_protocol_deliver_rcu() argument
193 raw = raw_local_deliver(skb, protocol); in ip_protocol_deliver_rcu()
198 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { in ip_protocol_deliver_rcu()
227 ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) ip_local_deliver_finish() argument
242 ip_local_deliver(struct sk_buff *skb) ip_local_deliver() argument
260 ip_rcv_options(struct sk_buff *skb, struct net_device *dev) ip_rcv_options() argument
308 ip_can_use_hint(const struct sk_buff *skb, const struct iphdr *iph, const struct sk_buff *hint) ip_can_use_hint() argument
317 ip_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct sk_buff *hint) ip_rcv_finish_core() argument
435 ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) ip_rcv_finish() argument
456 ip_rcv_core(struct sk_buff *skb, struct net *net) ip_rcv_core() argument
560 ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) ip_rcv() argument
576 struct sk_buff *skb, *next; ip_sublist_rcv_finish() local
584 ip_extract_route_hint(const struct net *net, struct sk_buff *skb, int rt_type) ip_extract_route_hint() argument
597 struct sk_buff *skb, *next, *hint = NULL; ip_list_rcv_finish() local
648 struct sk_buff *skb, *next; ip_list_rcv() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_frag.c18 int (*xmit)(struct sk_buff *skb);
23 static int sch_frag_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in sch_frag_xmit() argument
27 if (skb_cow_head(skb, data->l2_len) < 0) { in sch_frag_xmit()
28 kfree_skb(skb); in sch_frag_xmit()
32 __skb_dst_copy(skb, data->dst); in sch_frag_xmit()
33 *qdisc_skb_cb(skb) = data->cb; in sch_frag_xmit()
34 skb->inner_protocol = data->inner_protocol; in sch_frag_xmit()
36 __vlan_hwaccel_put_tag(skb, data->vlan_proto, in sch_frag_xmit()
39 __vlan_hwaccel_clear_tag(skb); in sch_frag_xmit()
42 skb_push(skb, dat in sch_frag_xmit()
50 sch_frag_prepare_frag(struct sk_buff *skb, int (*xmit)(struct sk_buff *skb)) sch_frag_prepare_frag() argument
84 sch_fragment(struct net *net, struct sk_buff *skb, u16 mru, int (*xmit)(struct sk_buff *skb)) sch_fragment() argument
140 sch_frag_xmit_hook(struct sk_buff *skb, int (*xmit)(struct sk_buff *skb)) sch_frag_xmit_hook() argument
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_input.c50 struct sk_buff *skb) in ip6_rcv_finish_core()
53 !skb_dst(skb) && !skb->sk) { in ip6_rcv_finish_core()
54 switch (ipv6_hdr(skb)->nexthdr) { in ip6_rcv_finish_core()
57 tcp_v6_early_demux(skb); in ip6_rcv_finish_core()
61 udp_v6_early_demux(skb); in ip6_rcv_finish_core()
66 if (!skb_valid_dst(skb)) in ip6_rcv_finish_core()
67 ip6_route_input(skb); in ip6_rcv_finish_core()
70 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() argument
73 * skb t in ip6_rcv_finish()
49 ip6_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb) ip6_rcv_finish_core() argument
85 struct sk_buff *skb, *next; ip6_sublist_rcv_finish() local
93 ip6_can_use_hint(const struct sk_buff *skb, const struct sk_buff *hint) ip6_can_use_hint() argument
100 ip6_extract_route_hint(const struct net *net, struct sk_buff *skb) ip6_extract_route_hint() argument
112 struct sk_buff *skb, *next, *hint = NULL; ip6_list_rcv_finish() local
149 ip6_rcv_core(struct sk_buff *skb, struct net_device *dev, struct net *net) ip6_rcv_core() argument
294 ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) ipv6_rcv() argument
320 struct sk_buff *skb, *next; ipv6_list_rcv() local
355 ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, bool have_final) ip6_protocol_deliver_rcu() argument
465 ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) ip6_input_finish() argument
475 ip6_input(struct sk_buff *skb) ip6_input() argument
483 ip6_mc_input(struct sk_buff *skb) ip6_mc_input() argument
[all...]
H A Dexthdrs.c60 * It MUST NOT touch skb->h.
65 bool (*func)(struct sk_buff *skb, int offset);
74 static bool ip6_tlvopt_unknown(struct sk_buff *skb, int optoff, in ip6_tlvopt_unknown() argument
88 switch ((skb_network_header(skb)[optoff] & 0xC0) >> 6) { in ip6_tlvopt_unknown()
99 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr)) in ip6_tlvopt_unknown()
103 icmpv6_param_prob(skb, ICMPV6_UNK_OPTION, optoff); in ip6_tlvopt_unknown()
108 kfree_skb(skb); in ip6_tlvopt_unknown()
115 struct sk_buff *skb, in ip6_parse_tlv()
118 int len = (skb_transport_header(skb)[1] + 1) << 3; in ip6_parse_tlv()
119 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv()
114 ip6_parse_tlv(const struct tlvtype_proc *procs, struct sk_buff *skb, int max_count) ip6_parse_tlv() argument
208 ipv6_dest_hao(struct sk_buff *skb, int optoff) ipv6_dest_hao() argument
277 ipv6_destopt_rcv(struct sk_buff *skb) ipv6_destopt_rcv() argument
323 seg6_update_csum(struct sk_buff *skb) seg6_update_csum() argument
352 ipv6_srh_rcv(struct sk_buff *skb) ipv6_srh_rcv() argument
471 ipv6_rpl_srh_rcv(struct sk_buff *skb) ipv6_rpl_srh_rcv() argument
658 ipv6_rthdr_rcv(struct sk_buff *skb) ipv6_rthdr_rcv() argument
901 ipv6_skb_idev(struct sk_buff *skb) ipv6_skb_idev() argument
906 ipv6_skb_net(struct sk_buff *skb) ipv6_skb_net() argument
913 ipv6_hop_ra(struct sk_buff *skb, int optoff) ipv6_hop_ra() argument
930 ipv6_hop_jumbo(struct sk_buff *skb, int optoff) ipv6_hop_jumbo() argument
974 ipv6_hop_calipso(struct sk_buff *skb, int optoff) ipv6_hop_calipso() argument
1010 ipv6_parse_hopopts(struct sk_buff *skb) ipv6_parse_hopopts() argument
1055 ipv6_push_rthdr0(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) ipv6_push_rthdr0() argument
1080 ipv6_push_rthdr4(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) ipv6_push_rthdr4() argument
1129 ipv6_push_rthdr(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p, struct in6_addr *saddr) ipv6_push_rthdr() argument
1147 ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) ipv6_push_exthdr() argument
1156 ipv6_push_nfrag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto, struct in6_addr **daddr, struct in6_addr *saddr) ipv6_push_nfrag_opts() argument
1173 ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto) ipv6_push_frag_opts() argument
[all...]
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_netfilter_hooks.c70 #define IS_IP(skb) \
71 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP))
73 #define IS_IPV6(skb) \
74 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
76 #define IS_ARP(skb) \
77 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_ARP))
79 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() argument
89 is_vlan_ip(const struct sk_buff *skb, const struct net *net) is_vlan_ip() argument
96 is_vlan_ipv6(const struct sk_buff *skb, const struct net *net) is_vlan_ipv6() argument
105 is_vlan_arp(const struct sk_buff *skb, const struct net *net) is_vlan_arp() argument
112 pppoe_proto(const struct sk_buff *skb) pppoe_proto() argument
118 is_pppoe_ip(const struct sk_buff *skb, const struct net *net) is_pppoe_ip() argument
126 is_pppoe_ipv6(const struct sk_buff *skb, const struct net *net) is_pppoe_ipv6() argument
149 nf_bridge_info_free(struct sk_buff *skb) nf_bridge_info_free() argument
162 nf_bridge_unshare(struct sk_buff *skb) nf_bridge_unshare() argument
167 nf_bridge_encap_header_len(const struct sk_buff *skb) nf_bridge_encap_header_len() argument
179 nf_bridge_pull_encap_header(struct sk_buff *skb) nf_bridge_pull_encap_header() argument
187 nf_bridge_pull_encap_header_rcsum(struct sk_buff *skb) nf_bridge_pull_encap_header_rcsum() argument
200 br_validate_ipv4(struct net *net, struct sk_buff *skb) br_validate_ipv4() argument
249 nf_bridge_update_protocol(struct sk_buff *skb) nf_bridge_update_protocol() argument
270 br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) br_nf_pre_routing_finish_bridge() argument
321 br_nf_ipv4_daddr_was_changed(const struct sk_buff *skb, const struct nf_bridge_info *nf_bridge) br_nf_ipv4_daddr_was_changed() argument
366 br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) br_nf_pre_routing_finish() argument
449 brnf_get_logical_dev(struct sk_buff *skb, const struct net_device *dev, const struct net *net) brnf_get_logical_dev() argument
468 setup_pre_routing(struct sk_buff *skb, const struct net *net) setup_pre_routing() argument
497 br_nf_pre_routing(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) br_nf_pre_routing() argument
599 br_nf_local_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) br_nf_local_in() argument
646 br_nf_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb) br_nf_forward_finish() argument
685 br_nf_forward_ip(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) br_nf_forward_ip() argument
751 br_nf_forward_arp(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) br_nf_forward_arp() argument
790 br_nf_push_frag_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) br_nf_push_frag_xmit() argument
814 br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, int (*output)(struct net *, struct sock *, struct sk_buff *)) br_nf_ip_fragment() argument
831 nf_bridge_mtu_reduction(const struct sk_buff *skb) nf_bridge_mtu_reduction() argument
840 br_nf_dev_queue_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) br_nf_dev_queue_xmit() argument
924 br_nf_post_routing(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) br_nf_post_routing() argument
973 ip_sabotage_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) ip_sabotage_in() argument
1004 br_nf_pre_routing_finish_bridge_slow(struct sk_buff *skb) br_nf_pre_routing_finish_bridge_slow() argument
1029 br_nf_dev_xmit(struct sk_buff *skb) br_nf_dev_xmit() argument
1128 br_nf_hook_thresh(unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) br_nf_hook_thresh() argument
[all...]
H A Dbr_forward.c22 const struct sk_buff *skb) in should_deliver()
27 return ((p->flags & BR_HAIRPIN_MODE) || skb->dev != p->dev) && in should_deliver()
28 p->state == BR_STATE_FORWARDING && br_allowed_egress(vg, skb) && in should_deliver()
29 nbp_switchdev_allowed_egress(p, skb) && in should_deliver()
30 !br_skb_isolated(p, skb); in should_deliver()
33 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in br_dev_queue_push_xmit() argument
35 skb_push(skb, ETH_HLEN); in br_dev_queue_push_xmit()
36 if (!is_skb_forwardable(skb->dev, skb)) in br_dev_queue_push_xmit()
39 br_drop_fake_rtable(skb); in br_dev_queue_push_xmit()
21 should_deliver(const struct net_bridge_port *p, const struct sk_buff *skb) should_deliver() argument
63 br_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb) br_forward_finish() argument
73 __br_forward(const struct net_bridge_port *to, struct sk_buff *skb, bool local_orig) __br_forward() argument
120 deliver_clone(const struct net_bridge_port *prev, struct sk_buff *skb, bool local_orig) deliver_clone() argument
144 br_forward(const struct net_bridge_port *to, struct sk_buff *skb, bool local_rcv, bool local_orig) br_forward() argument
175 maybe_deliver( struct net_bridge_port *prev, struct net_bridge_port *p, struct sk_buff *skb, bool local_orig) maybe_deliver() argument
200 br_flood(struct net_bridge *br, struct sk_buff *skb, enum br_pkt_type pkt_type, bool local_rcv, bool local_orig, u16 vid) br_flood() argument
256 maybe_deliver_addr(struct net_bridge_port *p, struct sk_buff *skb, const unsigned char *addr, bool local_orig) maybe_deliver_addr() argument
282 br_multicast_flood(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb, struct net_bridge_mcast *brmctx, bool local_rcv, bool local_orig) br_multicast_flood() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_handlers.c22 static void rmnet_set_skb_proto(struct sk_buff *skb) in rmnet_set_skb_proto() argument
24 switch (skb->data[0] & 0xF0) { in rmnet_set_skb_proto()
26 skb->protocol = htons(ETH_P_IP); in rmnet_set_skb_proto()
29 skb->protocol = htons(ETH_P_IPV6); in rmnet_set_skb_proto()
32 skb->protocol = htons(ETH_P_MAP); in rmnet_set_skb_proto()
40 rmnet_deliver_skb(struct sk_buff *skb) in rmnet_deliver_skb() argument
42 struct rmnet_priv *priv = netdev_priv(skb->dev); in rmnet_deliver_skb()
44 skb_reset_transport_header(skb); in rmnet_deliver_skb()
45 skb_reset_network_header(skb); in rmnet_deliver_skb()
46 rmnet_vnd_rx_fixup(skb, sk in rmnet_deliver_skb()
56 __rmnet_map_ingress_handler(struct sk_buff *skb, struct rmnet_port *port) __rmnet_map_ingress_handler() argument
109 rmnet_map_ingress_handler(struct sk_buff *skb, struct rmnet_port *port) rmnet_map_ingress_handler() argument
133 rmnet_map_egress_handler(struct sk_buff *skb, struct rmnet_port *port, u8 mux_id, struct net_device *orig_dev) rmnet_map_egress_handler() argument
183 rmnet_bridge_handler(struct sk_buff *skb, struct net_device *bridge_dev) rmnet_bridge_handler() argument
202 struct sk_buff *skb = *pskb; rmnet_rx_handler() local
242 rmnet_egress_handler(struct sk_buff *skb) rmnet_egress_handler() argument
[all...]

Completed in 29 milliseconds

12345678910>>...259