| /linux/include/linux/ |
| H A D | skbuff.h | 44 * DOC: skb checksums 105 * not in skb->csum. Thus, skb->csum is undefined in this case. 133 * checksum is bad, skb->csum_level would be set to zero (TCP checksum is 145 * skb->csum, it MUST use CHECKSUM_COMPLETE, not CHECKSUM_UNNECESSARY. 155 * referred to by skb->csum_start + skb->csum_offset and any preceding 194 * The skb was already checksummed by the protocol, or a checksum is not 253 /* Maximum value in skb->csum_level */ 260 /* For X bytes available in skb 1139 skb_pfmemalloc(const struct sk_buff * skb) skb_pfmemalloc() argument 1157 skb_dst(const struct sk_buff * skb) skb_dst() argument 1168 skb_dst_check_unset(struct sk_buff * skb) skb_dst_check_unset() argument 1188 skb_dstref_steal(struct sk_buff * skb) skb_dstref_steal() argument 1201 skb_dstref_restore(struct sk_buff * skb,unsigned long refdst) skb_dstref_restore() argument 1215 skb_dst_set(struct sk_buff * skb,struct dst_entry * dst) skb_dst_set() argument 1232 skb_dst_set_noref(struct sk_buff * skb,struct dst_entry * dst) skb_dst_set_noref() argument 1244 skb_dst_is_noref(const struct sk_buff * skb) skb_dst_is_noref() argument 1262 skb_napi_id(const struct sk_buff * skb) skb_napi_id() argument 1271 skb_wifi_acked_valid(const struct sk_buff * skb) skb_wifi_acked_valid() argument 1286 skb_unref(struct sk_buff * skb) skb_unref() argument 1298 skb_data_unref(const struct sk_buff * skb,struct skb_shared_info * shinfo) skb_data_unref() argument 1321 kfree_skb_reason(struct sk_buff * skb,enum skb_drop_reason reason) kfree_skb_reason() argument 1330 kfree_skb(struct sk_buff * skb) kfree_skb() argument 1349 consume_skb(struct sk_buff * skb) consume_skb() argument 1413 skb_fclone_busy(const struct sock * sk,const struct sk_buff * skb) skb_fclone_busy() argument 1445 __pskb_copy(struct sk_buff * skb,int headroom,gfp_t gfp_mask) __pskb_copy() argument 1475 skb_pad(struct sk_buff * skb,int pad) skb_pad() argument 1538 skb_clear_hash(struct sk_buff * skb) skb_clear_hash() argument 1545 skb_clear_hash_if_not_l4(struct sk_buff * skb) skb_clear_hash_if_not_l4() argument 1552 __skb_set_hash(struct sk_buff * skb,__u32 hash,bool is_sw,bool is_l4) __skb_set_hash() argument 1560 skb_set_hash(struct sk_buff * skb,__u32 hash,enum pkt_hash_types type) skb_set_hash() argument 1567 __skb_set_sw_hash(struct sk_buff * skb,__u32 hash,bool is_l4) __skb_set_sw_hash() argument 1574 __skb_get_hash_symmetric(const struct sk_buff * skb) __skb_get_hash_symmetric() argument 1600 skb_flow_dissect(const struct sk_buff * skb,struct flow_dissector * flow_dissector,void * target_container,unsigned int flags) skb_flow_dissect() argument 1608 skb_flow_dissect_flow_keys(const struct sk_buff * skb,struct flow_keys * flow,unsigned int flags) skb_flow_dissect_flow_keys() argument 1619 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 1652 skb_get_hash_net(const struct net * net,struct sk_buff * skb) skb_get_hash_net() argument 1660 skb_get_hash(struct sk_buff * skb) skb_get_hash() argument 1668 skb_get_hash_flowi6(struct sk_buff * skb,const struct flowi6 * fl6) skb_get_hash_flowi6() argument 1683 skb_get_hash_raw(const struct sk_buff * skb) skb_get_hash_raw() argument 1705 skb_is_decrypted(const struct sk_buff * skb) skb_is_decrypted() argument 1723 skb_end_pointer(const struct sk_buff * skb) skb_end_pointer() argument 1728 skb_end_offset(const struct sk_buff * skb) skb_end_offset() argument 1733 skb_set_end_offset(struct sk_buff * skb,unsigned int offset) skb_set_end_offset() argument 1738 skb_end_pointer(const struct sk_buff * skb) skb_end_pointer() argument 1743 skb_end_offset(const struct sk_buff * skb) skb_end_offset() argument 1748 skb_set_end_offset(struct sk_buff * skb,unsigned int offset) skb_set_end_offset() argument 1771 skb_zerocopy_iter_dgram(struct sk_buff * skb,struct msghdr * msg,int len) skb_zerocopy_iter_dgram() argument 1786 skb_hwtstamps(struct sk_buff * skb) skb_hwtstamps() argument 1791 skb_zcopy(struct sk_buff * skb) skb_zcopy() argument 1798 skb_zcopy_pure(const struct sk_buff * skb) skb_zcopy_pure() argument 1803 skb_zcopy_managed(const struct sk_buff * skb) skb_zcopy_managed() argument 1819 skb_zcopy_init(struct sk_buff * skb,struct ubuf_info * uarg) skb_zcopy_init() argument 1825 skb_zcopy_set(struct sk_buff * skb,struct ubuf_info * uarg,bool * have_ref) skb_zcopy_set() argument 1854 skb_zcopy_clear(struct sk_buff * skb,bool zerocopy_success) skb_zcopy_clear() argument 1867 skb_zcopy_downgrade_managed(struct sk_buff * skb) skb_zcopy_downgrade_managed() argument 1874 skb_frags_readable(const struct sk_buff * skb) skb_frags_readable() argument 1879 skb_mark_not_on_list(struct sk_buff * skb) skb_mark_not_on_list() argument 1884 skb_poison_list(struct sk_buff * skb) skb_poison_list() argument 1892 skb_list_walk_safe(first,skb,next_skb) global() argument 1896 skb_list_del_init(struct sk_buff * skb) skb_list_del_init() argument 1934 skb_queue_is_last(const struct sk_buff_head * list,const struct sk_buff * skb) skb_queue_is_last() argument 1947 skb_queue_is_first(const struct sk_buff_head * list,const struct sk_buff * skb) skb_queue_is_first() argument 1961 skb_queue_next(const struct sk_buff_head * list,const struct sk_buff * skb) skb_queue_next() argument 1979 skb_queue_prev(const struct sk_buff_head * list,const struct sk_buff * skb) skb_queue_prev() argument 1995 skb_get(struct sk_buff * skb) skb_get() argument 2013 skb_cloned(const struct sk_buff * skb) skb_cloned() argument 2019 skb_unclone(struct sk_buff * skb,gfp_t pri) skb_unclone() argument 2036 skb_unclone_keeptruesize(struct sk_buff * skb,gfp_t pri) skb_unclone_keeptruesize() argument 2052 skb_header_cloned(const struct sk_buff * skb) skb_header_cloned() argument 2064 skb_header_unclone(struct sk_buff * skb,gfp_t pri) skb_header_unclone() argument 2080 __skb_header_release(struct sk_buff * skb) __skb_header_release() argument 2094 skb_shared(const struct sk_buff * skb) skb_shared() argument 2112 skb_share_check(struct sk_buff * skb,gfp_t pri) skb_share_check() argument 2147 skb_unshare(struct sk_buff * skb,gfp_t pri) skb_unshare() argument 2179 struct sk_buff *skb = list_->next; skb_peek() local 2206 skb_peek_next(struct sk_buff * skb,const struct sk_buff_head * list_) skb_peek_next() argument 2231 struct sk_buff *skb = READ_ONCE(list_->prev); skb_peek_tail() local 2463 __skb_unlink(struct sk_buff * skb,struct sk_buff_head * list) __skb_unlink() argument 2485 struct sk_buff *skb = skb_peek(list); __skb_dequeue() local 2502 struct sk_buff *skb = skb_peek_tail(list); __skb_dequeue_tail() local 2510 skb_is_nonlinear(const struct sk_buff * skb) skb_is_nonlinear() argument 2515 skb_headlen(const struct sk_buff * skb) skb_headlen() argument 2520 __skb_pagelen(const struct sk_buff * skb) __skb_pagelen() argument 2529 skb_pagelen(const struct sk_buff * skb) skb_pagelen() argument 2572 skb_len_add(struct sk_buff * skb,int delta) skb_len_add() argument 2593 __skb_fill_netmem_desc(struct sk_buff * skb,int i,netmem_ref netmem,int off,int size) __skb_fill_netmem_desc() argument 2617 __skb_fill_page_desc(struct sk_buff * skb,int i,struct page * page,int off,int size) __skb_fill_page_desc() argument 2624 skb_fill_netmem_desc(struct sk_buff * skb,int i,netmem_ref netmem,int off,int size) skb_fill_netmem_desc() argument 2646 skb_fill_page_desc(struct sk_buff * skb,int i,struct page * page,int off,int size) skb_fill_page_desc() argument 2663 skb_fill_page_desc_noacc(struct sk_buff * skb,int i,struct page * page,int off,int size) skb_fill_page_desc_noacc() argument 2673 skb_add_rx_frag_netmem(struct sk_buff * skb,int i,netmem_ref netmem,int off,int size,unsigned int truesize) skb_add_rx_frag_netmem() argument 2685 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 2696 SKB_LINEAR_ASSERT(skb) global() argument 2699 skb_tail_pointer(const struct sk_buff * skb) skb_tail_pointer() argument 2704 skb_reset_tail_pointer(struct sk_buff * skb) skb_reset_tail_pointer() argument 2709 skb_set_tail_pointer(struct sk_buff * skb,const int offset) skb_set_tail_pointer() argument 2716 skb_tail_pointer(const struct sk_buff * skb) skb_tail_pointer() argument 2721 skb_reset_tail_pointer(struct sk_buff * skb) skb_reset_tail_pointer() argument 2726 skb_set_tail_pointer(struct sk_buff * skb,const int offset) skb_set_tail_pointer() argument 2733 skb_assert_len(struct sk_buff * skb) skb_assert_len() argument 2744 skb_might_realloc(struct sk_buff * skb) skb_might_realloc() argument 2752 __skb_put(struct sk_buff * skb,unsigned int len) __skb_put() argument 2761 __skb_put_zero(struct sk_buff * skb,unsigned int len) __skb_put_zero() argument 2769 __skb_put_data(struct sk_buff * skb,const void * data,unsigned int len) __skb_put_data() argument 2778 __skb_put_u8(struct sk_buff * skb,u8 val) __skb_put_u8() argument 2783 skb_put_zero(struct sk_buff * skb,unsigned int len) skb_put_zero() argument 2792 skb_put_data(struct sk_buff * skb,const void * data,unsigned int len) skb_put_data() argument 2802 skb_put_u8(struct sk_buff * skb,u8 val) skb_put_u8() argument 2808 __skb_push(struct sk_buff * skb,unsigned int len) __skb_push() argument 2819 __skb_pull(struct sk_buff * skb,unsigned int len) __skb_pull() argument 2835 skb_pull_inline(struct sk_buff * skb,unsigned int len) skb_pull_inline() argument 2845 pskb_may_pull_reason(struct sk_buff * skb,unsigned int len) pskb_may_pull_reason() argument 2863 pskb_may_pull(struct sk_buff * skb,unsigned int len) pskb_may_pull() argument 2868 pskb_pull(struct sk_buff * skb,unsigned int len) pskb_pull() argument 2885 skb_headroom(const struct sk_buff * skb) skb_headroom() argument 2896 skb_tailroom(const struct sk_buff * skb) skb_tailroom() argument 2908 skb_availroom(const struct sk_buff * skb) skb_availroom() argument 2924 skb_reserve(struct sk_buff * skb,int len) skb_reserve() argument 2942 skb_tailroom_reserve(struct sk_buff * skb,unsigned int mtu,unsigned int needed_tailroom) skb_tailroom_reserve() argument 2957 skb_set_inner_protocol(struct sk_buff * skb,__be16 protocol) skb_set_inner_protocol() argument 2964 skb_set_inner_ipproto(struct sk_buff * skb,__u8 ipproto) skb_set_inner_ipproto() argument 2971 skb_reset_inner_headers(struct sk_buff * skb) skb_reset_inner_headers() argument 2978 skb_mac_header_was_set(const struct sk_buff * skb) skb_mac_header_was_set() argument 2983 skb_reset_mac_len(struct sk_buff * skb) skb_reset_mac_len() argument 2993 skb_inner_transport_header(const struct sk_buff * skb) skb_inner_transport_header() argument 2999 skb_inner_transport_offset(const struct sk_buff * skb) skb_inner_transport_offset() argument 3004 skb_reset_inner_transport_header(struct sk_buff * skb) skb_reset_inner_transport_header() argument 3012 skb_set_inner_transport_header(struct sk_buff * skb,const int offset) skb_set_inner_transport_header() argument 3019 skb_inner_network_header(const struct sk_buff * skb) skb_inner_network_header() argument 3024 skb_reset_inner_network_header(struct sk_buff * skb) skb_reset_inner_network_header() argument 3032 skb_set_inner_network_header(struct sk_buff * skb,const int offset) skb_set_inner_network_header() argument 3039 skb_inner_network_header_was_set(const struct sk_buff * skb) skb_inner_network_header_was_set() argument 3044 skb_inner_mac_header(const struct sk_buff * skb) skb_inner_mac_header() argument 3049 skb_reset_inner_mac_header(struct sk_buff * skb) skb_reset_inner_mac_header() argument 3057 skb_set_inner_mac_header(struct sk_buff * skb,const int offset) skb_set_inner_mac_header() argument 3063 skb_transport_header_was_set(const struct sk_buff * skb) skb_transport_header_was_set() argument 3068 skb_unset_transport_header(struct sk_buff * skb) skb_unset_transport_header() argument 3073 skb_transport_header(const struct sk_buff * skb) skb_transport_header() argument 3079 skb_reset_transport_header(struct sk_buff * skb) skb_reset_transport_header() argument 3096 skb_reset_transport_header_careful(struct sk_buff * skb) skb_reset_transport_header_careful() argument 3110 skb_set_transport_header(struct sk_buff * skb,const int offset) skb_set_transport_header() argument 3127 skb_set_transport_header_careful(struct sk_buff * skb,const int offset) skb_set_transport_header_careful() argument 3141 skb_network_header(const struct sk_buff * skb) skb_network_header() argument 3146 skb_reset_network_header(struct sk_buff * skb) skb_reset_network_header() argument 3154 skb_set_network_header(struct sk_buff * skb,const int offset) skb_set_network_header() argument 3160 skb_mac_header(const struct sk_buff * skb) skb_mac_header() argument 3166 skb_mac_offset(const struct sk_buff * skb) skb_mac_offset() argument 3171 skb_mac_header_len(const struct sk_buff * skb) skb_mac_header_len() argument 3177 skb_unset_mac_header(struct sk_buff * skb) skb_unset_mac_header() argument 3182 skb_reset_mac_header(struct sk_buff * skb) skb_reset_mac_header() argument 3190 skb_set_mac_header(struct sk_buff * skb,const int offset) skb_set_mac_header() argument 3196 skb_pop_mac_header(struct sk_buff * skb) skb_pop_mac_header() argument 3201 skb_probe_transport_header(struct sk_buff * skb) skb_probe_transport_header() argument 3213 skb_mac_header_rebuild(struct sk_buff * skb) skb_mac_header_rebuild() argument 3227 skb_mac_header_rebuild_full(struct sk_buff * skb,u32 full_mac_len) skb_mac_header_rebuild_full() argument 3238 skb_checksum_start_offset(const struct sk_buff * skb) skb_checksum_start_offset() argument 3243 skb_checksum_start(const struct sk_buff * skb) skb_checksum_start() argument 3248 skb_transport_offset(const struct sk_buff * skb) skb_transport_offset() argument 3253 skb_network_header_len(const struct sk_buff * skb) skb_network_header_len() argument 3259 skb_inner_network_header_len(const struct sk_buff * skb) skb_inner_network_header_len() argument 3264 skb_network_offset(const struct sk_buff * skb) skb_network_offset() argument 3269 skb_inner_network_offset(const struct sk_buff * skb) skb_inner_network_offset() argument 3275 pskb_network_may_pull_reason(struct sk_buff * skb,unsigned int len) pskb_network_may_pull_reason() argument 3280 pskb_network_may_pull(struct sk_buff * skb,unsigned int len) pskb_network_may_pull() argument 3335 __skb_set_length(struct sk_buff * skb,unsigned int len) __skb_set_length() argument 3343 __skb_trim(struct sk_buff * skb,unsigned int len) __skb_trim() argument 3350 __pskb_trim(struct sk_buff * skb,unsigned int len) __pskb_trim() argument 3358 pskb_trim(struct sk_buff * skb,unsigned int len) pskb_trim() argument 3373 pskb_trim_unique(struct sk_buff * skb,unsigned int len) pskb_trim_unique() argument 3379 __skb_grow(struct sk_buff * skb,unsigned int len) __skb_grow() argument 3401 skb_orphan(struct sk_buff * skb) skb_orphan() argument 3421 skb_orphan_frags(struct sk_buff * skb,gfp_t gfp_mask) skb_orphan_frags() argument 3431 skb_orphan_frags_rx(struct sk_buff * skb,gfp_t gfp_mask) skb_orphan_frags_rx() argument 3450 struct sk_buff *skb; __skb_queue_purge_reason() local 3532 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); __netdev_alloc_skb_ip_align() local 3644 skb_propagate_pfmemalloc(const struct page * page,struct sk_buff * skb) skb_propagate_pfmemalloc() argument 3848 pskb_copy(struct sk_buff * skb,gfp_t gfp_mask) pskb_copy() argument 3855 pskb_copy_for_clone(struct sk_buff * skb,gfp_t gfp_mask) pskb_copy_for_clone() argument 3870 skb_clone_writable(const struct sk_buff * skb,unsigned int len) skb_clone_writable() argument 3876 skb_try_make_writable(struct sk_buff * skb,unsigned int write_len) skb_try_make_writable() argument 3883 __skb_cow(struct sk_buff * skb,unsigned int headroom,int cloned) __skb_cow() argument 3909 skb_cow(struct sk_buff * skb,unsigned int headroom) skb_cow() argument 3924 skb_cow_head(struct sk_buff * skb,unsigned int headroom) skb_cow_head() argument 3939 skb_padto(struct sk_buff * skb,unsigned int len) skb_padto() argument 3958 __skb_put_padto(struct sk_buff * skb,unsigned int len,bool free_on_error) __skb_put_padto() argument 3983 skb_put_padto(struct sk_buff * skb,unsigned int len) skb_put_padto() argument 3991 skb_can_coalesce_netmem(struct sk_buff * skb,int i,netmem_ref netmem,int off) skb_can_coalesce_netmem() argument 4005 skb_can_coalesce(struct sk_buff * skb,int i,const struct page * page,int off) skb_can_coalesce() argument 4011 __skb_linearize(struct sk_buff * skb) __skb_linearize() argument 4023 skb_linearize(struct sk_buff * skb) skb_linearize() argument 4035 skb_has_shared_frag(const struct sk_buff * skb) skb_has_shared_frag() argument 4048 skb_linearize_cow(struct sk_buff * skb) skb_linearize_cow() argument 4055 __skb_postpull_rcsum(struct sk_buff * skb,const void * start,unsigned int len,unsigned int off) __skb_postpull_rcsum() argument 4077 skb_postpull_rcsum(struct sk_buff * skb,const void * start,unsigned int len) skb_postpull_rcsum() argument 4088 __skb_postpush_rcsum(struct sk_buff * skb,const void * start,unsigned int len,unsigned int off) __skb_postpush_rcsum() argument 4105 skb_postpush_rcsum(struct sk_buff * skb,const void * start,unsigned int len) skb_postpush_rcsum() argument 4124 skb_push_rcsum(struct sk_buff * skb,unsigned int len) skb_push_rcsum() argument 4142 pskb_trim_rcsum(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum() argument 4150 __skb_trim_rcsum(struct sk_buff * skb,unsigned int len) __skb_trim_rcsum() argument 4158 __skb_grow_rcsum(struct sk_buff * skb,unsigned int len) __skb_grow_rcsum() argument 4168 skb_rb_next(skb) global() argument 4169 skb_rb_prev(skb) global() argument 4171 skb_queue_walk(queue,skb) global() argument 4176 skb_queue_walk_safe(queue,skb,tmp) global() argument 4181 skb_queue_walk_from(queue,skb) global() argument 4185 skb_rbtree_walk(skb,root) global() argument 4189 skb_rbtree_walk_from(skb) global() argument 4193 skb_rbtree_walk_from_safe(skb,tmp) global() argument 4197 skb_queue_walk_from_safe(queue,skb,tmp) global() argument 4202 skb_queue_reverse_walk(queue,skb) global() argument 4207 skb_queue_reverse_walk_safe(queue,skb,tmp) global() argument 4212 skb_queue_reverse_walk_from_safe(queue,skb,tmp) global() argument 4217 skb_has_frag_list(const struct sk_buff * skb) skb_has_frag_list() argument 4222 skb_frag_list_init(struct sk_buff * skb) skb_frag_list_init() argument 4227 skb_walk_frags(skb,iter) global() argument 4324 __skb_header_pointer(const struct sk_buff * skb,int offset,int len,const void * data,int hlen,void * buffer) __skb_header_pointer() argument 4337 skb_header_pointer(const struct sk_buff * skb,int offset,int len,void * buffer) skb_header_pointer() argument 4347 skb_header_pointer_careful(const struct sk_buff * skb,int offset,int len,void * buffer) skb_header_pointer_careful() argument 4356 skb_pointer_if_linear(const struct sk_buff * skb,int offset,int len) skb_pointer_if_linear() argument 4376 skb_needs_linearize(struct sk_buff * skb,netdev_features_t features) skb_needs_linearize() argument 4384 skb_copy_from_linear_data(const struct sk_buff * skb,void * to,const unsigned int len) skb_copy_from_linear_data() argument 4391 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 4398 skb_copy_to_linear_data(struct sk_buff * skb,const void * from,const unsigned int len) skb_copy_to_linear_data() argument 4405 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 4415 skb_get_ktime(const struct sk_buff * skb) skb_get_ktime() argument 4429 skb_get_timestamp(const struct sk_buff * skb,struct __kernel_old_timeval * stamp) skb_get_timestamp() argument 4435 skb_get_new_timestamp(const struct sk_buff * skb,struct __kernel_sock_timeval * stamp) skb_get_new_timestamp() argument 4444 skb_get_timestampns(const struct sk_buff * skb,struct __kernel_old_timespec * stamp) skb_get_timestampns() argument 4453 skb_get_new_timestampns(const struct sk_buff * skb,struct __kernel_timespec * stamp) skb_get_new_timestampns() argument 4462 __net_timestamp(struct sk_buff * skb) __net_timestamp() argument 4473 skb_set_delivery_time(struct sk_buff * skb,ktime_t kt,u8 tstamp_type) skb_set_delivery_time() argument 4484 skb_set_delivery_type_by_clockid(struct sk_buff * skb,ktime_t kt,clockid_t clockid) skb_set_delivery_type_by_clockid() argument 4511 skb_clear_delivery_time(struct sk_buff * skb) skb_clear_delivery_time() argument 4522 skb_clear_tstamp(struct sk_buff * skb) skb_clear_tstamp() argument 4530 skb_tstamp(const struct sk_buff * skb) skb_tstamp() argument 4539 skb_tstamp_cond(const struct sk_buff * skb,bool cond) skb_tstamp_cond() argument 4550 skb_metadata_len(const struct sk_buff * skb) skb_metadata_len() argument 4555 skb_metadata_end(const struct sk_buff * skb) skb_metadata_end() argument 4612 skb_metadata_set(struct sk_buff * skb,u8 meta_len) skb_metadata_set() argument 4617 skb_metadata_clear(struct sk_buff * skb) skb_metadata_clear() argument 4637 skb_data_move(struct sk_buff * skb,const int len,const unsigned int n) skb_data_move() argument 4673 skb_postpull_data_move(struct sk_buff * skb,const unsigned int len,const unsigned int n) skb_postpull_data_move() argument 4689 skb_postpush_data_move(struct sk_buff * skb,const unsigned int len,const unsigned int n) skb_postpush_data_move() argument 4706 skb_clone_tx_timestamp(struct sk_buff * skb) skb_clone_tx_timestamp() argument 4710 skb_defer_rx_timestamp(struct sk_buff * skb) skb_defer_rx_timestamp() argument 4762 skb_tx_timestamp(struct sk_buff * skb) skb_tx_timestamp() argument 4781 skb_csum_unnecessary(const struct sk_buff * skb) skb_csum_unnecessary() argument 4805 skb_checksum_complete(struct sk_buff * skb) skb_checksum_complete() argument 4811 __skb_decr_checksum_unnecessary(struct sk_buff * skb) __skb_decr_checksum_unnecessary() argument 4821 __skb_incr_checksum_unnecessary(struct sk_buff * skb) __skb_incr_checksum_unnecessary() argument 4832 __skb_reset_checksum_unnecessary(struct sk_buff * skb) __skb_reset_checksum_unnecessary() argument 4845 __skb_checksum_validate_needed(struct sk_buff * skb,bool zero_okay,__sum16 check) __skb_checksum_validate_needed() argument 4869 skb_checksum_complete_unset(struct sk_buff * skb) skb_checksum_complete_unset() argument 4884 __skb_checksum_validate_complete(struct sk_buff * skb,bool complete,__wsum psum) __skb_checksum_validate_complete() argument 4908 null_compute_pseudo(struct sk_buff * skb,int proto) null_compute_pseudo() argument 4923 __skb_checksum_validate(skb,proto,complete,zero_okay,check,compute_pseudo) global() argument 4934 skb_checksum_init(skb,proto,compute_pseudo) global() argument 4937 skb_checksum_init_zero_check(skb,proto,check,compute_pseudo) global() argument 4940 skb_checksum_validate(skb,proto,compute_pseudo) global() argument 4943 skb_checksum_validate_zero_check(skb,proto,check,compute_pseudo) global() argument 4947 skb_checksum_simple_validate(skb) global() argument 4950 __skb_checksum_convert_check(struct sk_buff * skb) __skb_checksum_convert_check() argument 4955 __skb_checksum_convert(struct sk_buff * skb,__wsum pseudo) __skb_checksum_convert() argument 4961 skb_checksum_try_convert(skb,proto,compute_pseudo) global() argument 4967 skb_remcsum_adjust_partial(struct sk_buff * skb,void * ptr,u16 start,u16 offset) skb_remcsum_adjust_partial() argument 4980 skb_remcsum_process(struct sk_buff * skb,void * ptr,int start,int offset,bool nopartial) skb_remcsum_process() argument 5001 skb_nfct(const struct sk_buff * skb) skb_nfct() argument 5010 skb_get_nfct(const struct sk_buff * skb) skb_get_nfct() argument 5019 skb_set_nfct(struct sk_buff * skb,unsigned long nfct) skb_set_nfct() argument 5078 skb_ext_put(struct sk_buff * skb) skb_ext_put() argument 5108 skb_ext_exist(const struct sk_buff * skb,enum skb_ext_id id) skb_ext_exist() argument 5113 skb_ext_del(struct sk_buff * skb,enum skb_ext_id id) skb_ext_del() argument 5119 skb_ext_find(const struct sk_buff * skb,enum skb_ext_id id) skb_ext_find() argument 5130 skb_ext_reset(struct sk_buff * skb) skb_ext_reset() argument 5138 skb_has_extensions(struct sk_buff * skb) skb_has_extensions() argument 5144 skb_ext_put(struct sk_buff * skb) skb_ext_put() argument 5145 skb_ext_reset(struct sk_buff * skb) skb_ext_reset() argument 5146 skb_ext_del(struct sk_buff * skb,int unused) skb_ext_del() argument 5149 skb_has_extensions(struct sk_buff * skb) skb_has_extensions() argument 5152 nf_reset_ct(struct sk_buff * skb) nf_reset_ct() argument 5160 nf_reset_trace(struct sk_buff * skb) nf_reset_trace() argument 5167 ipvs_reset(struct sk_buff * skb) ipvs_reset() argument 5203 skb_init_secmark(struct sk_buff * skb) skb_init_secmark() argument 5211 skb_init_secmark(struct sk_buff * skb) skb_init_secmark() argument 5215 secpath_exists(const struct sk_buff * skb) secpath_exists() argument 5224 skb_irq_freeable(const struct sk_buff * skb) skb_irq_freeable() argument 5233 skb_set_queue_mapping(struct sk_buff * skb,u16 queue_mapping) skb_set_queue_mapping() argument 5238 skb_get_queue_mapping(const struct sk_buff * skb) skb_get_queue_mapping() argument 5248 skb_record_rx_queue(struct sk_buff * skb,u16 rx_queue) skb_record_rx_queue() argument 5253 skb_get_rx_queue(const struct sk_buff * skb) skb_get_rx_queue() argument 5258 skb_rx_queue_recorded(const struct sk_buff * skb) skb_rx_queue_recorded() argument 5263 skb_set_dst_pending_confirm(struct sk_buff * skb,u32 val) skb_set_dst_pending_confirm() argument 5268 skb_get_dst_pending_confirm(const struct sk_buff * skb) skb_get_dst_pending_confirm() argument 5273 skb_sec_path(const struct sk_buff * skb) skb_sec_path() argument 5282 skb_is_gso(const struct sk_buff * skb) skb_is_gso() argument 5288 skb_is_gso_v6(const struct sk_buff * skb) skb_is_gso_v6() argument 5294 skb_is_gso_sctp(const struct sk_buff * skb) skb_is_gso_sctp() argument 5300 skb_is_gso_tcp(const struct sk_buff * skb) skb_is_gso_tcp() argument 5305 skb_gso_reset(struct sk_buff * skb) skb_gso_reset() argument 5330 skb_warn_if_lro(const struct sk_buff * skb) skb_warn_if_lro() argument 5344 skb_forward_csum(struct sk_buff * skb) skb_forward_csum() argument 5359 skb_checksum_none_assert(const struct sk_buff * skb) skb_checksum_none_assert() argument 5380 skb_head_is_locked(const struct sk_buff * skb) skb_head_is_locked() argument 5394 lco_csum(struct sk_buff * skb) lco_csum() argument 5410 skb_is_redirected(const struct sk_buff * skb) skb_is_redirected() argument 5415 skb_set_redirected(struct sk_buff * skb,bool from_ingress) skb_set_redirected() argument 5425 skb_reset_redirect(struct sk_buff * skb) skb_reset_redirect() argument 5430 skb_set_redirected_noclear(struct sk_buff * skb,bool from_ingress) skb_set_redirected_noclear() argument 5439 skb_csum_is_sctp(struct sk_buff * skb) skb_csum_is_sctp() argument 5448 skb_reset_csum_not_inet(struct sk_buff * skb) skb_reset_csum_not_inet() argument 5456 skb_set_kcov_handle(struct sk_buff * skb,struct kcov_common_handle_id kcov_handle) skb_set_kcov_handle() argument 5462 skb_get_kcov_handle(struct sk_buff * skb) skb_get_kcov_handle() argument 5467 skb_mark_for_recycle(struct sk_buff * skb) skb_mark_for_recycle() argument [all...] |
| /linux/net/xfrm/ |
| H A D | xfrm_output.c | 27 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() [all …]
|
| H A D | xfrm_input.c | 41 int (*finish)(struct net *net, struct sock *sk, struct sk_buff *skb); 106 static int xfrm_rcv_cb(struct sk_buff *skb, unsigned int family, u8 protocol, in xfrm_rcv_cb() argument 117 ret = afinfo->callback(skb, protocol, err); in xfrm_rcv_cb() 123 struct sec_path *secpath_set(struct sk_buff *skb) in secpath_set() argument 125 struct sec_path *sp, *tmp = skb_ext_find(skb, SKB_EXT_SEC_PATH); in secpath_set() 127 sp = skb_ext_add(skb, SKB_EXT_SEC_PATH); in secpath_set() 146 int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq) in xfrm_parse_spi() argument 163 if (!pskb_may_pull(skb, sizeof(struct ip_comp_hdr))) in xfrm_parse_spi() 165 *spi = htonl(ntohs(*(__be16 *)(skb_transport_header(skb) + 2))); in xfrm_parse_spi() 172 if (!pskb_may_pull(skb, hlen)) in xfrm_parse_spi() [all …]
|
| /linux/net/core/ |
| H A D | gro.c | 92 int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb) in skb_gro_receive() argument 94 struct skb_shared_info *pinfo, *skbinfo = skb_shinfo(skb); in skb_gro_receive() 95 unsigned int offset = skb_gro_offset(skb); in skb_gro_receive() 96 unsigned int headlen = skb_headlen(skb); in skb_gro_receive() 97 unsigned int len = skb_gro_len(skb); in skb_gro_receive() 109 if (p->pp_recycle != skb->pp_recycle) in skb_gro_receive() 112 if (skb_zcopy(p) || skb_zcopy(skb)) in skb_gro_receive() 116 NAPI_GRO_CB(skb)->flush)) in skb_gro_receive() 120 if (NAPI_GRO_CB(skb)->proto != IPPROTO_TCP || in skb_gro_receive() 125 segs = NAPI_GRO_CB(skb)->count; in skb_gro_receive() [all …]
|
| H A D | skbuff.c | 19 * Ray VanTassle : Fixed --skb->lock in free 89 #include <trace/events/skb.h> 197 * @skb: buffer 207 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument 211 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 212 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() 213 skb in skb_panic() 217 skb_over_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_over_panic() argument 222 skb_under_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_under_panic() argument 287 struct sk_buff *skb; napi_skb_cache_get() local 316 skbuff_clear(struct sk_buff * skb) skbuff_clear() argument 390 __finalize_skb_around(struct sk_buff * skb,void * data,unsigned int size) __finalize_skb_around() argument 439 struct sk_buff *skb; slab_build_skb() local 456 __build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) __build_skb_around() argument 492 struct sk_buff *skb; __build_skb() local 510 struct sk_buff *skb = __build_skb(data, frag_size); build_skb() local 526 build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) build_skb_around() argument 554 struct sk_buff *skb; __napi_build_skb() local 578 struct sk_buff *skb = __napi_build_skb(data, frag_size); napi_build_skb() local 607 kmalloc_reserve(unsigned int * size,gfp_t flags,int node,struct sk_buff * skb) kmalloc_reserve() argument 677 struct sk_buff *skb = NULL; __alloc_skb() local 765 struct sk_buff *skb; __netdev_alloc_skb() local 842 struct sk_buff *skb; napi_alloc_skb() local 897 skb_coalesce_rx_frag(struct sk_buff * skb,int i,int size,unsigned int truesize) skb_coalesce_rx_frag() argument 917 skb_drop_fraglist(struct sk_buff * skb) skb_drop_fraglist() argument 922 skb_clone_fraglist(struct sk_buff * skb) skb_clone_fraglist() argument 947 struct sk_buff *skb = *pskb, *nskb; skb_pp_cow_data() local 1043 skb_pp_recycle(struct sk_buff * skb,void * data) skb_pp_recycle() argument 1060 skb_pp_frag_ref(struct sk_buff * skb) skb_pp_frag_ref() argument 1086 skb_free_head(struct sk_buff * skb) skb_free_head() argument 1099 skb_release_data(struct sk_buff * skb,enum skb_drop_reason reason) skb_release_data() argument 1139 kfree_skbmem(struct sk_buff * skb) kfree_skbmem() argument 1169 skb_release_head_state(struct sk_buff * skb) skb_release_head_state() argument 1193 skb_release_all(struct sk_buff * skb,enum skb_drop_reason reason) skb_release_all() argument 1209 __kfree_skb(struct sk_buff * skb) __kfree_skb() argument 1217 __sk_skb_reason_drop(const struct sock * sk,struct sk_buff * skb,enum skb_drop_reason reason) __sk_skb_reason_drop() argument 1246 sk_skb_reason_drop(const struct sock * sk,struct sk_buff * skb,enum skb_drop_reason reason) sk_skb_reason_drop() argument 1261 kfree_skb_add_bulk(struct sk_buff * skb,struct skb_free_array * sa,enum skb_drop_reason reason) kfree_skb_add_bulk() argument 1310 skb_dump(const char * level,const struct sk_buff * skb,bool full_pkt) skb_dump() argument 1424 skb_tx_error(struct sk_buff * skb) skb_tx_error() argument 1442 consume_skb(struct sk_buff * skb) consume_skb() argument 1460 __consume_stateless_skb(struct sk_buff * skb) __consume_stateless_skb() argument 1467 napi_skb_cache_put(struct sk_buff * skb) napi_skb_cache_put() argument 1492 __napi_kfree_skb(struct sk_buff * skb,enum skb_drop_reason reason) __napi_kfree_skb() argument 1498 napi_skb_free_stolen_head(struct sk_buff * skb) napi_skb_free_stolen_head() argument 1522 napi_consume_skb(struct sk_buff * skb,int budget) napi_consume_skb() argument 1610 __skb_clone(struct sk_buff * n,struct sk_buff * skb) __skb_clone() argument 1732 struct sk_buff *skb; msg_zerocopy_alloc() local 1817 skb_zerocopy_notify_extend(struct sk_buff * skb,u32 lo,u16 len) skb_zerocopy_notify_extend() argument 1839 struct sk_buff *tail, *skb = skb_from_uarg(uarg); __msg_zerocopy_callback() local 1887 msg_zerocopy_complete(struct sk_buff * skb,struct ubuf_info * uarg,bool success) msg_zerocopy_complete() argument 1915 skb_zerocopy_iter_stream(struct sock * sk,struct sk_buff * skb,struct msghdr * msg,int len,struct ubuf_info * uarg,struct net_devmem_dmabuf_binding * binding) skb_zerocopy_iter_stream() argument 1955 __skb_zcopy_downgrade_managed(struct sk_buff * skb) __skb_zcopy_downgrade_managed() argument 2000 skb_copy_ubufs(struct sk_buff * skb,gfp_t gfp_mask) skb_copy_ubufs() argument 2100 skb_clone(struct sk_buff * skb,gfp_t gfp_mask) skb_clone() argument 2130 skb_headers_offset_update(struct sk_buff * skb,int off) skb_headers_offset_update() argument 2156 skb_alloc_rx_flag(const struct sk_buff * skb) skb_alloc_rx_flag() argument 2180 skb_copy(const struct sk_buff * skb,gfp_t gfp_mask) skb_copy() argument 2228 __pskb_copy_fclone(struct sk_buff * skb,int headroom,gfp_t gfp_mask,bool fclone) __pskb_copy_fclone() argument 2297 pskb_expand_head(struct sk_buff * skb,int nhead,int ntail,gfp_t gfp_mask) pskb_expand_head() argument 2384 skb_realloc_headroom(struct sk_buff * skb,unsigned int headroom) skb_realloc_headroom() argument 2404 __skb_unclone_keeptruesize(struct sk_buff * skb,gfp_t pri) __skb_unclone_keeptruesize() argument 2448 skb_expand_head(struct sk_buff * skb,unsigned int headroom) skb_expand_head() argument 2505 skb_copy_expand(const struct sk_buff * skb,int newheadroom,int newtailroom,gfp_t gfp_mask) skb_copy_expand() argument 2567 __skb_pad(struct sk_buff * skb,int pad,bool free_on_error) __skb_pad() argument 2615 pskb_put(struct sk_buff * skb,struct sk_buff * tail,int len) pskb_put() argument 2634 skb_put(struct sk_buff * skb,unsigned int len) skb_put() argument 2655 skb_push(struct sk_buff * skb,unsigned int len) skb_push() argument 2675 skb_pull(struct sk_buff * skb,unsigned int len) skb_pull() argument 2692 skb_pull_data(struct sk_buff * skb,size_t len) skb_pull_data() argument 2714 skb_trim(struct sk_buff * skb,unsigned int len) skb_trim() argument 2724 ___pskb_trim(struct sk_buff * skb,unsigned int len) ___pskb_trim() argument 2811 pskb_trim_rcsum_complete(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum_complete() argument 2834 pskb_trim_rcsum_slow(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum_slow() argument 2878 __pskb_pull_tail(struct sk_buff * skb,int delta) __pskb_pull_tail() argument 3022 skb_copy_bits(const struct sk_buff * skb,int offset,void * to,int len) skb_copy_bits() argument 3208 __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 3266 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 3314 __skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len,sendmsg_func sendmsg,int flags) __skb_send_sock() argument 3419 skb_send_sock_locked(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock_locked() argument 3426 skb_send_sock_locked_with_flags(struct sock * sk,struct sk_buff * skb,int offset,int len,int flags) skb_send_sock_locked_with_flags() argument 3434 skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock() argument 3451 skb_store_bits(struct sk_buff * skb,int offset,const void * from,int len) skb_store_bits() argument 3532 skb_checksum(const struct sk_buff * skb,int offset,int len,__wsum csum) skb_checksum() argument 3614 skb_copy_and_csum_bits(const struct sk_buff * skb,int offset,u8 * to,int len) skb_copy_and_csum_bits() argument 3703 skb_crc32c(const struct sk_buff * skb,int offset,int len,u32 crc) skb_crc32c() argument 3774 __skb_checksum_complete_head(struct sk_buff * skb,int len) __skb_checksum_complete_head() argument 3800 __skb_checksum_complete(struct sk_buff * skb) __skb_checksum_complete() argument 3948 skb_copy_and_csum_dev(const struct sk_buff * skb,u8 * to) skb_copy_and_csum_dev() argument 4060 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); skb_rbtree_purge() local 4072 struct sk_buff *skb, *next; skb_errqueue_purge() local 4143 skb_unlink(struct sk_buff * skb,struct sk_buff_head * list) skb_unlink() argument 4173 skb_split_inside_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,const int pos) skb_split_inside_header() argument 4195 skb_split_no_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,int pos) skb_split_no_header() argument 4244 skb_split(struct sk_buff * skb,struct sk_buff * skb1,const u32 len) skb_split() argument 4264 skb_prepare_for_shift(struct sk_buff * skb) skb_prepare_for_shift() argument 4287 skb_shift(struct sk_buff * tgt,struct sk_buff * skb,int shiftlen) skb_shift() argument 4416 skb_prepare_seq_read(struct sk_buff * skb,unsigned int from,unsigned int to,struct skb_seq_state * st) skb_prepare_seq_read() argument 4615 skb_find_text(struct sk_buff * skb,unsigned int from,unsigned int to,struct ts_config * config) skb_find_text() argument 4634 skb_append_pagefrags(struct sk_buff * skb,struct page * page,int offset,size_t size,size_t max_frags) skb_append_pagefrags() argument 4664 skb_pull_rcsum(struct sk_buff * skb,unsigned int len) skb_pull_rcsum() argument 4687 skb_segment_list(struct sk_buff * skb,netdev_features_t features,unsigned int offset) skb_segment_list() argument 5242 __skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len,unsigned int recursion_level) __skb_to_sgvec() argument 5325 skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec() argument 5357 skb_to_sgvec_nomark(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec_nomark() argument 5383 skb_cow_data(struct sk_buff * skb,int tailbits,struct sk_buff ** trailer) skb_cow_data() argument 5476 sock_rmem_free(struct sk_buff * skb) sock_rmem_free() argument 5483 skb_set_err_queue(struct sk_buff * skb) skb_set_err_queue() argument 5495 sock_queue_err_skb(struct sock * sk,struct sk_buff * skb) sock_queue_err_skb() argument 5517 is_icmp_err_skb(const struct sk_buff * skb) is_icmp_err_skb() argument 5526 struct sk_buff *skb, *skb_next = NULL; sock_dequeue_err_skb() local 5565 skb_clone_sk(struct sk_buff * skb) skb_clone_sk() argument 5586 __skb_complete_tx_timestamp(struct sk_buff * skb,struct sock * sk,int tstype,bool opt_stats) __skb_complete_tx_timestamp() argument 5642 skb_complete_tx_timestamp(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps) skb_complete_tx_timestamp() argument 5665 skb_tstamp_tx_report_so_timestamping(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps,int tstype) skb_tstamp_tx_report_so_timestamping() argument 5684 skb_tstamp_tx_report_bpf_timestamping(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps,struct sock * sk,int tstype) skb_tstamp_tx_report_bpf_timestamping() argument 5718 struct sk_buff *skb; __skb_tstamp_tx() local 5786 skb_complete_wifi_ack(struct sk_buff * skb,bool acked) skb_complete_wifi_ack() argument 5825 skb_partial_csum_set(struct sk_buff * skb,u16 start,u16 off) skb_partial_csum_set() argument 5843 skb_maybe_pull_tail(struct sk_buff * skb,unsigned int len,unsigned int max) skb_maybe_pull_tail() argument 5866 skb_checksum_setup_ip(struct sk_buff * skb,typeof(IPPROTO_IP) proto,unsigned int off) skb_checksum_setup_ip() argument 5900 skb_checksum_setup_ipv4(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv4() argument 5945 OPT_HDR(type,skb,off) global() argument 5948 skb_checksum_setup_ipv6(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv6() argument 6056 skb_checksum_setup(struct sk_buff * skb,bool recalculate) skb_checksum_setup() argument 6091 skb_checksum_maybe_trim(struct sk_buff * skb,unsigned int transport_len) skb_checksum_maybe_trim() argument 6131 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument 6133 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument 6164 __skb_warn_lro_forwarding(const struct sk_buff * skb) __skb_warn_lro_forwarding() argument 6171 kfree_skb_partial(struct sk_buff * skb,bool head_stolen) kfree_skb_partial() argument 6295 skb_scrub_packet(struct sk_buff * skb,bool xnet) skb_scrub_packet() argument 6319 skb_reorder_vlan_header(struct sk_buff * skb) skb_reorder_vlan_header() argument 6345 skb_vlan_untag(struct sk_buff * skb) skb_vlan_untag() argument 6386 skb_ensure_writable(struct sk_buff * skb,unsigned int write_len) skb_ensure_writable() argument 6398 skb_ensure_writable_head_tail(struct sk_buff * skb,struct net_device * dev) skb_ensure_writable_head_tail() argument 6426 __skb_vlan_pop(struct sk_buff * skb,u16 * vlan_tci) __skb_vlan_pop() argument 6459 skb_vlan_pop(struct sk_buff * skb) skb_vlan_pop() argument 6492 skb_vlan_push(struct sk_buff * skb,__be16 vlan_proto,u16 vlan_tci) skb_vlan_push() argument 6531 skb_eth_pop(struct sk_buff * skb) skb_eth_pop() argument 6558 skb_eth_push(struct sk_buff * skb,const unsigned char * dst,const unsigned char * src) skb_eth_push() argument 6587 skb_mod_eth_type(struct sk_buff * skb,struct ethhdr * hdr,__be16 ethertype) skb_mod_eth_type() argument 6614 skb_mpls_push(struct sk_buff * skb,__be32 mpls_lse,__be16 mpls_proto,int mac_len,bool ethernet) skb_mpls_push() argument 6667 skb_mpls_pop(struct sk_buff * skb,__be16 next_proto,int mac_len,bool ethernet) skb_mpls_pop() argument 6717 skb_mpls_update_lse(struct sk_buff * skb,__be32 mpls_lse) skb_mpls_update_lse() argument 6749 skb_mpls_dec_ttl(struct sk_buff * skb) skb_mpls_dec_ttl() argument 6790 struct sk_buff *skb; alloc_skb_with_frags() local 6845 skb_carve_reset_headers(struct sk_buff * skb) skb_carve_reset_headers() argument 6867 pskb_carve_inside_header(struct sk_buff * skb,const u32 off,const int headlen,gfp_t gfp_mask) pskb_carve_inside_header() argument 6988 pskb_carve_inside_nonlinear(struct sk_buff * skb,const u32 off,int pos,gfp_t gfp_mask) pskb_carve_inside_nonlinear() argument 7072 pskb_carve(struct sk_buff * skb,const u32 len,gfp_t gfp) pskb_carve() argument 7085 pskb_extract(struct sk_buff * skb,int off,int to_copy,gfp_t gfp) pskb_extract() argument 7114 skb_condense(struct sk_buff * skb) skb_condense() argument 7208 __skb_ext_set(struct sk_buff * skb,enum skb_ext_id id,struct skb_ext * ext) __skb_ext_set() argument 7237 skb_ext_add(struct sk_buff * skb,enum skb_ext_id id) skb_ext_add() argument 7290 __skb_ext_del(struct sk_buff * skb,enum skb_ext_id id) __skb_ext_del() argument 7335 kfree_skb_napi_cache(struct sk_buff * skb) kfree_skb_napi_cache() argument 7358 skb_attempt_defer_free(struct sk_buff * skb) skb_attempt_defer_free() argument 7411 skb_splice_csum_page(struct sk_buff * skb,struct page * page,size_t offset,size_t len) skb_splice_csum_page() argument 7437 skb_splice_from_iter(struct sk_buff * skb,struct iov_iter * iter,ssize_t maxsize) skb_splice_from_iter() argument 7555 __vlan_get_protocol_offset(const struct sk_buff * skb,__be16 type,int mac_offset) __vlan_get_protocol_offset() argument [all...] |
| H A D | gso.c | 9 * @skb: buffer to segment 13 struct sk_buff *skb_eth_gso_segment(struct sk_buff *skb, in skb_eth_gso_segment() argument 22 segs = ptype->callbacks.gso_segment(skb, features); in skb_eth_gso_segment() 34 * @skb: buffer to segment 37 struct sk_buff *skb_mac_gso_segment(struct sk_buff *skb, in skb_mac_gso_segment() argument 42 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() 43 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment() 48 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment() 53 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment() 59 __skb_push(skb, sk in skb_mac_gso_segment() 66 skb_needs_check(const struct sk_buff * skb,bool tx_path) skb_needs_check() argument 88 __skb_gso_segment(struct sk_buff * skb,netdev_features_t features,bool tx_path) __skb_gso_segment() argument 143 skb_gso_transport_seglen(const struct sk_buff * skb) skb_gso_transport_seglen() argument 178 skb_gso_network_seglen(const struct sk_buff * skb) skb_gso_network_seglen() argument 195 skb_gso_mac_seglen(const struct sk_buff * skb) skb_gso_mac_seglen() argument 223 skb_gso_size_check(const struct sk_buff * skb,unsigned int seg_len,unsigned int max_len) skb_gso_size_check() argument 253 skb_gso_validate_network_len(const struct sk_buff * skb,unsigned int mtu) skb_gso_validate_network_len() argument 268 skb_gso_validate_mac_len(const struct sk_buff * skb,unsigned int len) skb_gso_validate_mac_len() argument [all...] |
| /linux/net/bridge/ |
| H A D | br_netfilter_hooks.c | 73 #define IS_IP(skb) \ argument 74 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP)) 76 #define IS_IPV6(skb) \ argument 77 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6)) 79 #define IS_ARP(skb) \ argument 80 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_ARP)) 82 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() argument 84 if (skb_vlan_tag_present(skb)) in vlan_proto() 85 return skb->protocol; in vlan_proto() 86 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto() [all …]
|
| H A D | br_input.c | 27 br_netif_receive_skb(struct net *net, struct sock *sk, struct sk_buff *skb) in br_netif_receive_skb() argument 29 br_drop_fake_rtable(skb); in br_netif_receive_skb() 30 return netif_receive_skb(skb); in br_netif_receive_skb() 33 static int br_pass_frame_up(struct sk_buff *skb, bool promisc) in br_pass_frame_up() argument 35 struct net_device *indev, *brdev = BR_INPUT_SKB_CB(skb)->brdev; in br_pass_frame_up() 39 dev_sw_netstats_rx_add(brdev, skb->len); in br_pass_frame_up() 47 br_switchdev_frame_unmark(skb); in br_pass_frame_up() 54 !br_allowed_egress(vg, skb)) { in br_pass_frame_up() 55 kfree_skb(skb); in br_pass_frame_up() 59 indev = skb->dev; in br_pass_frame_up() [all …]
|
| /linux/net/ipv6/ |
| H A D | ip6_input.c | 49 static void tcp_v6_early_demux(struct sk_buff *skb) in tcp_v6_early_demux() argument 51 struct net *net = dev_net_rcu(skb->dev); in tcp_v6_early_demux() 56 if (skb->pkt_type != PACKET_HOST) in tcp_v6_early_demux() 59 if (!pskb_may_pull(skb, skb_transport_offset(skb) + in tcp_v6_early_demux() 63 hdr = ipv6_hdr(skb); in tcp_v6_early_demux() 64 th = tcp_hdr(skb); in tcp_v6_early_demux() 72 inet6_iif(skb), inet6_sdif(skb)); in tcp_v6_early_demux() 74 skb->sk = sk; in tcp_v6_early_demux() 75 skb->destructor = sock_edemux; in tcp_v6_early_demux() 82 sk->sk_rx_dst_ifindex == skb->skb_iif) in tcp_v6_early_demux() [all …]
|
| H A D | exthdrs.c | 65 static bool ip6_tlvopt_unknown(struct sk_buff *skb, int optoff, in ip6_tlvopt_unknown() argument 79 switch ((skb_network_header(skb)[optoff] & 0xC0) >> 6) { in ip6_tlvopt_unknown() 90 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr)) in ip6_tlvopt_unknown() 94 icmpv6_param_prob_reason(skb, ICMPV6_UNK_OPTION, optoff, in ip6_tlvopt_unknown() 100 kfree_skb_reason(skb, SKB_DROP_REASON_UNHANDLED_PROTO); in ip6_tlvopt_unknown() 104 static bool ipv6_hop_ra(struct sk_buff *skb, int optoff); 105 static bool ipv6_hop_ioam(struct sk_buff *skb, int optoff); 106 static bool ipv6_hop_jumbo(struct sk_buff *skb, int optoff); 107 static bool ipv6_hop_calipso(struct sk_buff *skb, int optoff); 109 static bool ipv6_dest_hao(struct sk_buff *skb, int optoff); [all …]
|
| H A D | udp_offload.c | 19 static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb, in udp6_ufo_fragment() argument 33 if (skb->encapsulation && skb_shinfo(skb)->gso_type & in udp6_ufo_fragment() 35 segs = skb_udp_tunnel_segment(skb, features, true); in udp6_ufo_fragment() 40 if (!(skb_shinfo(skb)->gso_type & (SKB_GSO_UDP | SKB_GSO_UDP_L4))) in udp6_ufo_fragment() 43 if (!pskb_may_pull(skb, sizeof(struct udphdr))) in udp6_ufo_fragment() 46 if (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) in udp6_ufo_fragment() 47 return __udp_gso_segment(skb, features, true); in udp6_ufo_fragment() 49 mss = skb_shinfo(skb)->gso_size; in udp6_ufo_fragment() 50 if (unlikely(skb->len <= mss)) in udp6_ufo_fragment() 57 uh = udp_hdr(skb); in udp6_ufo_fragment() [all …]
|
| /linux/net/devlink/ |
| H A D | netlink_gen.h | 24 int devlink_nl_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb, 27 struct sk_buff *skb, struct genl_info *info); 29 struct sk_buff *skb, 32 struct sk_buff *skb, struct genl_info *info); 34 struct sk_buff *skb, 37 devlink_nl_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb, 41 struct sk_buff *skb, struct genl_info *info); 44 struct sk_buff *skb, 47 int devlink_nl_get_doit(struct sk_buff *skb, struct genl_info *info); 48 int devlink_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb); [all …]
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_handlers.c | 22 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, skb->dev); in rmnet_deliver_skb() [all …]
|
| /linux/net/sched/ |
| H A D | sch_frag.c | 19 int (*xmit)(struct sk_buff *skb); 27 static int sch_frag_xmit(struct net *net, struct sock *sk, struct sk_buff *skb) in sch_frag_xmit() 32 if (skb_cow_head(skb, data->l2_len) < 0) { in sch_frag_xmit() 33 kfree_skb(skb); in sch_frag_xmit() 37 __skb_dst_copy(skb, data->dst); in sch_frag_xmit() 38 *qdisc_skb_cb(skb) = data->cb; in sch_frag_xmit() 39 skb->inner_protocol = data->inner_protocol; in sch_frag_xmit() 41 __vlan_hwaccel_put_tag(skb, data->vlan_proto, in sch_frag_xmit() 44 __vlan_hwaccel_clear_tag(skb); in sch_frag_xmit() 47 skb_push(skb, dat in sch_frag_xmit() 23 sch_frag_xmit(struct net * net,struct sock * sk,struct sk_buff * skb) sch_frag_xmit() argument 50 sch_frag_prepare_frag(struct sk_buff * skb,int (* xmit)(struct sk_buff * skb)) sch_frag_prepare_frag() argument 51 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 85 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...] |
| /linux/net/bridge/netfilter/ |
| H A D | nf_conntrack_bridge.c | 27 struct sk_buff *skb, in nf_br_ip_fragment() argument 33 int frag_max_size = BR_INPUT_SKB_CB(skb)->frag_max_size; in nf_br_ip_fragment() 34 u8 tstamp_type = skb->tstamp_type; in nf_br_ip_fragment() 36 ktime_t tstamp = skb->tstamp; in nf_br_ip_fragment() 42 if (skb->ip_summed == CHECKSUM_PARTIAL && in nf_br_ip_fragment() 43 (err = skb_checksum_help(skb))) in nf_br_ip_fragment() 46 iph = ip_hdr(skb); in nf_br_ip_fragment() 54 ll_rs = LL_RESERVED_SPACE(skb->dev); in nf_br_ip_fragment() 55 mtu = skb->dev->mtu; in nf_br_ip_fragment() 57 if (skb_has_frag_list(skb)) { in nf_br_ip_fragment() [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_offload.c | 16 static void tcp_gso_tstamp(struct sk_buff *skb, struct sk_buff *gso_skb, in tcp_gso_tstamp() argument 22 while (skb) { in tcp_gso_tstamp() 24 skb_shinfo(skb)->tx_flags |= flags; in tcp_gso_tstamp() 25 skb_shinfo(skb)->tskey = ts_seq; in tcp_gso_tstamp() 29 skb = skb->next; in tcp_gso_tstamp() 88 static struct sk_buff *__tcp4_gso_segment_list(struct sk_buff *skb, in __tcp4_gso_segment_list() argument 91 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __tcp4_gso_segment_list() 92 if (IS_ERR(skb)) in __tcp4_gso_segment_list() 93 return skb; in __tcp4_gso_segment_list() 95 return __tcpv4_gso_segment_list_csum(skb); in __tcp4_gso_segment_list() [all …]
|
| H A D | gre_offload.c | 16 static struct sk_buff *gre_gso_segment(struct sk_buff *skb, in gre_gso_segment() argument 19 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment() 22 u16 mac_offset = skb->mac_header; in gre_gso_segment() 23 __be16 protocol = skb->protocol; in gre_gso_segment() 24 u16 mac_len = skb->mac_len; in gre_gso_segment() 27 if (!skb->encapsulation) in gre_gso_segment() 33 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) in gre_gso_segment() 37 skb->encapsulation = 0; in gre_gso_segment() 38 SKB_GSO_CB(skb)->encap_level = 0; in gre_gso_segment() 39 __skb_pull(skb, tnl_hlen); in gre_gso_segment() [all …]
|
| H A D | udp_offload.c | 25 struct sk_buff *skb) in dummy_gro_rcv() argument 27 NAPI_GRO_CB(skb)->flush = 1; in dummy_gro_rcv() 33 struct sk_buff *skb); 149 struct sk_buff *skb) in udp_tunnel_gro_rcv() argument 152 if (unlikely(gro_recursion_inc_test(skb))) { in udp_tunnel_gro_rcv() 153 NAPI_GRO_CB(skb)->flush |= 1; in udp_tunnel_gro_rcv() 156 return static_call(udp_tunnel_gro_rcv)(sk, head, skb); in udp_tunnel_gro_rcv() 158 return call_gro_receive_sk(udp_sk(sk)->gro_receive, sk, head, skb); in udp_tunnel_gro_rcv() 165 struct sk_buff *skb) in udp_tunnel_gro_rcv() argument 167 return call_gro_receive_sk(udp_sk(sk)->gro_receive, sk, head, skb); in udp_tunnel_gro_rcv() [all …]
|
| H A D | esp4_offload.c | 31 struct sk_buff *skb) in esp4_gro_receive() argument 33 int offset = skb_gro_offset(skb); in esp4_gro_receive() 40 if (!pskb_pull(skb, offset)) in esp4_gro_receive() 43 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp4_gro_receive() 46 xo = xfrm_offload(skb); in esp4_gro_receive() 48 struct sec_path *sp = secpath_set(skb); in esp4_gro_receive() 56 x = xfrm_input_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive() 57 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive() 69 skb->mark = xfrm_smark_get(skb->mark, x); in esp4_gro_receive() 74 xo = xfrm_offload(skb); in esp4_gro_receive() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | wmi-ops.h | 15 void (*rx)(struct ath10k *ar, struct sk_buff *skb); 19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb, 21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb, 23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb, 26 struct ath10k *ar, struct sk_buff *skb, 28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb, 30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb, 32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb, 34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb, 36 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb, [all …]
|
| /linux/net/ieee802154/6lowpan/ |
| H A D | rx.c | 21 static int lowpan_give_skb_to_device(struct sk_buff *skb) in lowpan_give_skb_to_device() argument 23 skb->protocol = htons(ETH_P_IPV6); in lowpan_give_skb_to_device() 24 skb->dev->stats.rx_packets++; in lowpan_give_skb_to_device() 25 skb->dev->stats.rx_bytes += skb->len; in lowpan_give_skb_to_device() 27 return netif_rx(skb); in lowpan_give_skb_to_device() 30 static int lowpan_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) in lowpan_rx_handlers_result() argument 40 kfree_skb(skb); in lowpan_rx_handlers_result() 46 return lowpan_give_skb_to_device(skb); in lowpan_rx_handlers_result() 64 static lowpan_rx_result lowpan_rx_h_frag(struct sk_buff *skb) in lowpan_rx_h_frag() argument 68 if (!(lowpan_is_frag1(*skb_network_header(skb)) || in lowpan_rx_h_frag() [all …]
|
| /linux/drivers/net/ovpn/ |
| H A D | io.c | 43 static bool ovpn_is_keepalive(struct sk_buff *skb) in ovpn_is_keepalive() argument 45 if (*skb->data != ovpn_keepalive_message[0]) in ovpn_is_keepalive() 48 if (skb->len != OVPN_KEEPALIVE_SIZE) in ovpn_is_keepalive() 51 if (!pskb_may_pull(skb, OVPN_KEEPALIVE_SIZE)) in ovpn_is_keepalive() 54 return !memcmp(skb->data, ovpn_keepalive_message, OVPN_KEEPALIVE_SIZE); in ovpn_is_keepalive() 60 static void ovpn_netdev_write(struct ovpn_peer *peer, struct sk_buff *skb) in ovpn_netdev_write() argument 70 skb_gso_reset(skb); in ovpn_netdev_write() 75 skb->ip_summed = CHECKSUM_NONE; in ovpn_netdev_write() 78 skb_clear_hash(skb); in ovpn_netdev_write() 83 skb->dev = peer->ovpn->dev; in ovpn_netdev_write() [all …]
|
| /linux/drivers/net/wireguard/ |
| H A D | receive.c | 26 #define SKB_TYPE_LE32(skb) (((struct message_header *)(skb)->data)->type) argument 28 static size_t validate_header_len(struct sk_buff *skb) in validate_header_len() argument 30 if (unlikely(skb->len < sizeof(struct message_header))) in validate_header_len() 32 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_DATA) && in validate_header_len() 33 skb->len >= MESSAGE_MINIMUM_LENGTH) in validate_header_len() 35 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_INITIATION) && in validate_header_len() 36 skb->len == sizeof(struct message_handshake_initiation)) in validate_header_len() 38 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_RESPONSE) && in validate_header_len() 39 skb->len == sizeof(struct message_handshake_response)) in validate_header_len() 41 if (SKB_TYPE_LE32(skb) == cpu_to_le32(MESSAGE_HANDSHAKE_COOKIE) && in validate_header_len() [all …]
|
| /linux/net/lapb/ |
| H A D | lapb_subr.c | 48 struct sk_buff *skb; in lapb_frames_acked() local 58 skb = skb_dequeue(&lapb->ack_queue); in lapb_frames_acked() 59 kfree_skb(skb); in lapb_frames_acked() 66 struct sk_buff *skb, *skb_prev = NULL; in lapb_requeue_frames() local 73 while ((skb = skb_dequeue(&lapb->ack_queue)) != NULL) { in lapb_requeue_frames() 75 skb_queue_head(&lapb->write_queue, skb); in lapb_requeue_frames() 77 skb_append(skb_prev, skb, &lapb->write_queue); in lapb_requeue_frames() 78 skb_prev = skb; in lapb_requeue_frames() 106 int lapb_decode(struct lapb_cb *lapb, struct sk_buff *skb, in lapb_decode() argument 111 lapb_dbg(2, "(%p) S%d RX %3ph\n", lapb->dev, lapb->state, skb->data); in lapb_decode() [all …]
|
| /linux/net/openvswitch/ |
| H A D | actions.c | 91 static struct deferred_action *add_deferred_actions(struct sk_buff *skb, in add_deferred_actions() argument 101 da->skb = skb; in add_deferred_actions() 120 static int clone_execute(struct datapath *dp, struct sk_buff *skb, 126 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb, 130 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls() argument 135 err = skb_mpls_push(skb, mpls_lse, mpls_ethertype, mac_len, !!mac_len); in push_mpls() 146 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls() argument 151 err = skb_mpls_pop(skb, ethertype, skb->mac_len, in pop_mpls() 163 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls() argument 170 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in set_mpls() [all …]
|