Lines Matching defs:skb
508 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
527 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
538 static inline bool skb_dst_is_noref(const struct sk_buff *skb) in skb_dst_is_noref()
543 static inline struct rtable *skb_rtable(const struct sk_buff *skb) in skb_rtable()
621 static inline __u32 skb_get_rxhash(struct sk_buff *skb) in skb_get_rxhash()
630 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer()
635 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb) in skb_end_pointer()
644 static inline struct skb_shared_hwtstamps *skb_hwtstamps(struct sk_buff *skb) in skb_hwtstamps()
668 const struct sk_buff *skb) in skb_queue_is_last()
681 const struct sk_buff *skb) in skb_queue_is_first()
695 const struct sk_buff *skb) in skb_queue_next()
713 const struct sk_buff *skb) in skb_queue_prev()
729 static inline struct sk_buff *skb_get(struct sk_buff *skb) in skb_get()
748 static inline int skb_cloned(const struct sk_buff *skb) in skb_cloned()
761 static inline int skb_header_cloned(const struct sk_buff *skb) in skb_header_cloned()
781 static inline void skb_header_release(struct sk_buff *skb) in skb_header_release()
795 static inline int skb_shared(const struct sk_buff *skb) in skb_shared()
813 static inline struct sk_buff *skb_share_check(struct sk_buff *skb, in skb_share_check()
845 static inline struct sk_buff *skb_unshare(struct sk_buff *skb, in skb_unshare()
1108 static inline void __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) in __skb_unlink()
1131 struct sk_buff *skb = skb_peek(list); in __skb_dequeue() local
1148 struct sk_buff *skb = skb_peek_tail(list); in __skb_dequeue_tail() local
1155 static inline int skb_is_nonlinear(const struct sk_buff *skb) in skb_is_nonlinear()
1160 static inline unsigned int skb_headlen(const struct sk_buff *skb) in skb_headlen()
1165 static inline int skb_pagelen(const struct sk_buff *skb) in skb_pagelen()
1187 static inline void __skb_fill_page_desc(struct sk_buff *skb, int i, in __skb_fill_page_desc()
1211 static inline void skb_fill_page_desc(struct sk_buff *skb, int i, in skb_fill_page_desc()
1221 #define SKB_PAGE_ASSERT(skb) BUG_ON(skb_shinfo(skb)->nr_frags) argument
1222 #define SKB_FRAG_ASSERT(skb) BUG_ON(skb_has_frag_list(skb)) argument
1223 #define SKB_LINEAR_ASSERT(skb) BUG_ON(skb_is_nonlinear(skb)) argument
1226 static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb) in skb_tail_pointer()
1231 static inline void skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
1236 static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset) in skb_set_tail_pointer()
1242 static inline unsigned char *skb_tail_pointer(const struct sk_buff *skb) in skb_tail_pointer()
1247 static inline void skb_reset_tail_pointer(struct sk_buff *skb) in skb_reset_tail_pointer()
1252 static inline void skb_set_tail_pointer(struct sk_buff *skb, const int offset) in skb_set_tail_pointer()
1263 static inline unsigned char *__skb_put(struct sk_buff *skb, unsigned int len) in __skb_put()
1273 static inline unsigned char *__skb_push(struct sk_buff *skb, unsigned int len) in __skb_push()
1281 static inline unsigned char *__skb_pull(struct sk_buff *skb, unsigned int len) in __skb_pull()
1288 static inline unsigned char *skb_pull_inline(struct sk_buff *skb, unsigned int len) in skb_pull_inline()
1295 static inline unsigned char *__pskb_pull(struct sk_buff *skb, unsigned int len) in __pskb_pull()
1304 static inline unsigned char *pskb_pull(struct sk_buff *skb, unsigned int len) in pskb_pull()
1309 static inline int pskb_may_pull(struct sk_buff *skb, unsigned int len) in pskb_may_pull()
1324 static inline unsigned int skb_headroom(const struct sk_buff *skb) in skb_headroom()
1335 static inline int skb_tailroom(const struct sk_buff *skb) in skb_tailroom()
1348 static inline void skb_reserve(struct sk_buff *skb, int len) in skb_reserve()
1354 static inline void skb_reset_mac_len(struct sk_buff *skb) in skb_reset_mac_len()
1360 static inline unsigned char *skb_transport_header(const struct sk_buff *skb) in skb_transport_header()
1365 static inline void skb_reset_transport_header(struct sk_buff *skb) in skb_reset_transport_header()
1370 static inline void skb_set_transport_header(struct sk_buff *skb, in skb_set_transport_header()
1377 static inline unsigned char *skb_network_header(const struct sk_buff *skb) in skb_network_header()
1382 static inline void skb_reset_network_header(struct sk_buff *skb) in skb_reset_network_header()
1387 static inline void skb_set_network_header(struct sk_buff *skb, const int offset) in skb_set_network_header()
1393 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header()
1398 static inline int skb_mac_header_was_set(const struct sk_buff *skb) in skb_mac_header_was_set()
1403 static inline void skb_reset_mac_header(struct sk_buff *skb) in skb_reset_mac_header()
1408 static inline void skb_set_mac_header(struct sk_buff *skb, const int offset) in skb_set_mac_header()
1416 static inline unsigned char *skb_transport_header(const struct sk_buff *skb) in skb_transport_header()
1421 static inline void skb_reset_transport_header(struct sk_buff *skb) in skb_reset_transport_header()
1426 static inline void skb_set_transport_header(struct sk_buff *skb, in skb_set_transport_header()
1432 static inline unsigned char *skb_network_header(const struct sk_buff *skb) in skb_network_header()
1437 static inline void skb_reset_network_header(struct sk_buff *skb) in skb_reset_network_header()
1442 static inline void skb_set_network_header(struct sk_buff *skb, const int offset) in skb_set_network_header()
1447 static inline unsigned char *skb_mac_header(const struct sk_buff *skb) in skb_mac_header()
1452 static inline int skb_mac_header_was_set(const struct sk_buff *skb) in skb_mac_header_was_set()
1457 static inline void skb_reset_mac_header(struct sk_buff *skb) in skb_reset_mac_header()
1462 static inline void skb_set_mac_header(struct sk_buff *skb, const int offset) in skb_set_mac_header()
1468 static inline void skb_mac_header_rebuild(struct sk_buff *skb) in skb_mac_header_rebuild()
1478 static inline int skb_checksum_start_offset(const struct sk_buff *skb) in skb_checksum_start_offset()
1483 static inline int skb_transport_offset(const struct sk_buff *skb) in skb_transport_offset()
1488 static inline u32 skb_network_header_len(const struct sk_buff *skb) in skb_network_header_len()
1493 static inline int skb_network_offset(const struct sk_buff *skb) in skb_network_offset()
1498 static inline int pskb_network_may_pull(struct sk_buff *skb, unsigned int len) in pskb_network_may_pull()
1553 static inline void __skb_trim(struct sk_buff *skb, unsigned int len) in __skb_trim()
1565 static inline int __pskb_trim(struct sk_buff *skb, unsigned int len) in __pskb_trim()
1573 static inline int pskb_trim(struct sk_buff *skb, unsigned int len) in pskb_trim()
1587 static inline void pskb_trim_unique(struct sk_buff *skb, unsigned int len) in pskb_trim_unique()
1601 static inline void skb_orphan(struct sk_buff *skb) in skb_orphan()
1620 struct sk_buff *skb; in __skb_queue_purge() local
1640 struct sk_buff *skb = alloc_skb(length + NET_SKB_PAD, gfp_mask); in __dev_alloc_skb() local
1673 struct sk_buff *skb = __netdev_alloc_skb(dev, length + NET_IP_ALIGN, gfp); in __netdev_alloc_skb_ip_align() local
1715 static inline void skb_frag_ref(struct sk_buff *skb, int f) in skb_frag_ref()
1738 static inline void skb_frag_unref(struct sk_buff *skb, int f) in skb_frag_unref()
1791 static inline void skb_frag_set_page(struct sk_buff *skb, int f, in skb_frag_set_page()
1817 static inline struct sk_buff *pskb_copy(struct sk_buff *skb, in pskb_copy()
1831 static inline int skb_clone_writable(const struct sk_buff *skb, unsigned int len) in skb_clone_writable()
1837 static inline int __skb_cow(struct sk_buff *skb, unsigned int headroom, in __skb_cow()
1865 static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) in skb_cow()
1880 static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom) in skb_cow_head()
1896 static inline int skb_padto(struct sk_buff *skb, unsigned int len) in skb_padto()
1904 static inline int skb_add_data(struct sk_buff *skb, in skb_add_data()
1924 static inline int skb_can_coalesce(struct sk_buff *skb, int i, in skb_can_coalesce()
1936 static inline int __skb_linearize(struct sk_buff *skb) in __skb_linearize()
1948 static inline int skb_linearize(struct sk_buff *skb) in skb_linearize()
1960 static inline int skb_linearize_cow(struct sk_buff *skb) in skb_linearize_cow()
1977 static inline void skb_postpull_rcsum(struct sk_buff *skb, in skb_postpull_rcsum()
1995 static inline int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) in pskb_trim_rcsum()
2004 #define skb_queue_walk(queue, skb) \ argument
2009 #define skb_queue_walk_safe(queue, skb, tmp) \ argument
2014 #define skb_queue_walk_from(queue, skb) \ argument
2018 #define skb_queue_walk_from_safe(queue, skb, tmp) \ argument
2023 #define skb_queue_reverse_walk(queue, skb) \ argument
2028 #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ argument
2033 #define skb_queue_reverse_walk_from_safe(queue, skb, tmp) \ argument
2038 static inline bool skb_has_frag_list(const struct sk_buff *skb) in skb_has_frag_list()
2043 static inline void skb_frag_list_init(struct sk_buff *skb) in skb_frag_list_init()
2048 static inline void skb_frag_add_head(struct sk_buff *skb, struct sk_buff *frag) in skb_frag_add_head()
2054 #define skb_walk_frags(skb, iter) \ argument
2107 static inline void *skb_header_pointer(const struct sk_buff *skb, int offset, in skb_header_pointer()
2121 static inline void skb_copy_from_linear_data(const struct sk_buff *skb, in skb_copy_from_linear_data()
2128 static inline void skb_copy_from_linear_data_offset(const struct sk_buff *skb, in skb_copy_from_linear_data_offset()
2135 static inline void skb_copy_to_linear_data(struct sk_buff *skb, in skb_copy_to_linear_data()
2142 static inline void skb_copy_to_linear_data_offset(struct sk_buff *skb, in skb_copy_to_linear_data_offset()
2152 static inline ktime_t skb_get_ktime(const struct sk_buff *skb) in skb_get_ktime()
2166 static inline void skb_get_timestamp(const struct sk_buff *skb, in skb_get_timestamp()
2172 static inline void skb_get_timestampns(const struct sk_buff *skb, in skb_get_timestampns()
2178 static inline void __net_timestamp(struct sk_buff *skb) in __net_timestamp()
2202 static inline void skb_clone_tx_timestamp(struct sk_buff *skb) in skb_clone_tx_timestamp()
2206 static inline bool skb_defer_rx_timestamp(struct sk_buff *skb) in skb_defer_rx_timestamp()
2242 static inline void sw_tx_timestamp(struct sk_buff *skb) in sw_tx_timestamp()
2257 static inline void skb_tx_timestamp(struct sk_buff *skb) in skb_tx_timestamp()
2275 static inline int skb_csum_unnecessary(const struct sk_buff *skb) in skb_csum_unnecessary()
2296 static inline __sum16 skb_checksum_complete(struct sk_buff *skb) in skb_checksum_complete()
2316 static inline void nf_conntrack_get_reasm(struct sk_buff *skb) in nf_conntrack_get_reasm()
2321 static inline void nf_conntrack_put_reasm(struct sk_buff *skb) in nf_conntrack_put_reasm()
2339 static inline void nf_reset(struct sk_buff *skb) in nf_reset()
2393 static inline void skb_init_secmark(struct sk_buff *skb) in skb_init_secmark()
2401 static inline void skb_init_secmark(struct sk_buff *skb) in skb_init_secmark()
2405 static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) in skb_set_queue_mapping()
2410 static inline u16 skb_get_queue_mapping(const struct sk_buff *skb) in skb_get_queue_mapping()
2420 static inline void skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) in skb_record_rx_queue()
2425 static inline u16 skb_get_rx_queue(const struct sk_buff *skb) in skb_get_rx_queue()
2430 static inline bool skb_rx_queue_recorded(const struct sk_buff *skb) in skb_rx_queue_recorded()
2440 static inline struct sec_path *skb_sec_path(struct sk_buff *skb) in skb_sec_path()
2445 static inline struct sec_path *skb_sec_path(struct sk_buff *skb) in skb_sec_path()
2451 static inline int skb_is_gso(const struct sk_buff *skb) in skb_is_gso()
2456 static inline int skb_is_gso_v6(const struct sk_buff *skb) in skb_is_gso_v6()
2463 static inline bool skb_warn_if_lro(const struct sk_buff *skb) in skb_warn_if_lro()
2477 static inline void skb_forward_csum(struct sk_buff *skb) in skb_forward_csum()
2492 static inline void skb_checksum_none_assert(const struct sk_buff *skb) in skb_checksum_none_assert()
2501 static inline bool skb_is_recycleable(const struct sk_buff *skb, int skb_size) in skb_is_recycleable()