Lines Matching refs:net_pkt

14 LOG_MODULE_REGISTER(net_pkt, CONFIG_NET_PKT_LOG_LEVEL);
154 struct net_pkt *pkt;
310 void net_pkt_print_frags(struct net_pkt *pkt) in net_pkt_print_frags()
427 struct net_buf *net_pkt_get_frag_debug(struct net_pkt *pkt, size_t min_len, in net_pkt_get_frag_debug()
431 struct net_buf *net_pkt_get_frag(struct net_pkt *pkt, size_t min_len, in net_pkt_get_frag_debug()
519 void net_pkt_unref_debug(struct net_pkt *pkt, const char *caller, int line)
524 void net_pkt_unref(struct net_pkt *pkt)
620 struct net_pkt *net_pkt_ref_debug(struct net_pkt *pkt, const char *caller,
623 struct net_pkt *net_pkt_ref(struct net_pkt *pkt)
705 struct net_buf *net_pkt_frag_del_debug(struct net_pkt *pkt,
710 struct net_buf *net_pkt_frag_del(struct net_pkt *pkt,
741 void net_pkt_frag_add_debug(struct net_pkt *pkt, struct net_buf *frag,
744 void net_pkt_frag_add(struct net_pkt *pkt, struct net_buf *frag)
763 void net_pkt_frag_insert_debug(struct net_pkt *pkt, struct net_buf *frag,
766 void net_pkt_frag_insert(struct net_pkt *pkt, struct net_buf *frag)
777 void net_pkt_compact(struct net_pkt *pkt)
925 static struct net_buf *pkt_alloc_buffer(struct net_pkt *pkt,
931 static struct net_buf *pkt_alloc_buffer(struct net_pkt *pkt,
1020 static struct net_buf *pkt_alloc_buffer(struct net_pkt *pkt,
1026 static struct net_buf *pkt_alloc_buffer(struct net_pkt *pkt,
1071 static size_t pkt_buffer_length(struct net_pkt *pkt,
1122 static size_t pkt_estimate_headers_length(struct net_pkt *pkt,
1153 static size_t pkt_get_max_len(struct net_pkt *pkt)
1166 size_t net_pkt_available_buffer(struct net_pkt *pkt)
1175 size_t net_pkt_available_payload_buffer(struct net_pkt *pkt,
1195 void net_pkt_trim_buffer(struct net_pkt *pkt)
1222 int net_pkt_remove_tail(struct net_pkt *pkt, size_t length)
1253 int net_pkt_alloc_buffer_with_reserve_debug(struct net_pkt *pkt,
1261 int net_pkt_alloc_buffer_with_reserve(struct net_pkt *pkt,
1341 int net_pkt_alloc_buffer_debug(struct net_pkt *pkt,
1348 int net_pkt_alloc_buffer(struct net_pkt *pkt,
1395 int net_pkt_alloc_buffer_raw_debug(struct net_pkt *pkt, size_t size,
1399 int net_pkt_alloc_buffer_raw(struct net_pkt *pkt, size_t size,
1455 static struct net_pkt *pkt_alloc(struct k_mem_slab *slab, k_timeout_t timeout,
1458 static struct net_pkt *pkt_alloc(struct k_mem_slab *slab, k_timeout_t timeout)
1461 struct net_pkt *pkt;
1482 memset(pkt, 0, sizeof(struct net_pkt));
1527 struct net_pkt *net_pkt_alloc_debug(k_timeout_t timeout,
1530 struct net_pkt *net_pkt_alloc(k_timeout_t timeout)
1541 struct net_pkt *net_pkt_alloc_from_slab_debug(struct k_mem_slab *slab,
1545 struct net_pkt *net_pkt_alloc_from_slab(struct k_mem_slab *slab,
1561 struct net_pkt *net_pkt_rx_alloc_debug(k_timeout_t timeout,
1564 struct net_pkt *net_pkt_rx_alloc(k_timeout_t timeout)
1575 static struct net_pkt *pkt_alloc_on_iface(struct k_mem_slab *slab,
1580 static struct net_pkt *pkt_alloc_on_iface(struct k_mem_slab *slab,
1586 struct net_pkt *pkt;
1602 struct net_pkt *net_pkt_alloc_on_iface_debug(struct net_if *iface,
1607 struct net_pkt *net_pkt_alloc_on_iface(struct net_if *iface,
1619 struct net_pkt *net_pkt_rx_alloc_on_iface_debug(struct net_if *iface,
1624 struct net_pkt *net_pkt_rx_alloc_on_iface(struct net_if *iface,
1636 static struct net_pkt *
1646 static struct net_pkt *
1656 struct net_pkt *pkt;
1690 struct net_pkt *net_pkt_alloc_with_buffer_debug(struct net_if *iface,
1698 struct net_pkt *net_pkt_alloc_with_buffer(struct net_if *iface,
1715 struct net_pkt *net_pkt_rx_alloc_with_buffer_debug(struct net_if *iface,
1723 struct net_pkt *net_pkt_rx_alloc_with_buffer(struct net_if *iface,
1739 void net_pkt_append_buffer(struct net_pkt *pkt, struct net_buf *buffer)
1749 void net_pkt_cursor_init(struct net_pkt *pkt)
1759 static void pkt_cursor_jump(struct net_pkt *pkt, bool write)
1782 static void pkt_cursor_advance(struct net_pkt *pkt, bool write)
1797 static void pkt_cursor_update(struct net_pkt *pkt,
1818 static int net_pkt_cursor_operate(struct net_pkt *pkt,
1880 int net_pkt_skip(struct net_pkt *pkt, size_t skip)
1887 int net_pkt_memset(struct net_pkt *pkt, int byte, size_t amount)
1894 int net_pkt_read(struct net_pkt *pkt, void *data, size_t length)
1901 int net_pkt_read_be16(struct net_pkt *pkt, uint16_t *data)
1913 int net_pkt_read_le16(struct net_pkt *pkt, uint16_t *data)
1925 int net_pkt_read_be32(struct net_pkt *pkt, uint32_t *data)
1937 int net_pkt_write(struct net_pkt *pkt, const void *data, size_t length)
1948 int net_pkt_copy(struct net_pkt *pkt_dst,
1949 struct net_pkt *pkt_src,
2001 static int32_t net_pkt_find_offset(struct net_pkt *pkt, uint8_t *ptr)
2026 static void clone_pkt_lladdr(struct net_pkt *pkt, struct net_pkt *clone_pkt,
2045 static inline void clone_pkt_cb(struct net_pkt *pkt, struct net_pkt *clone_pkt)
2050 static inline void clone_pkt_cb(struct net_pkt *pkt, struct net_pkt *clone_pkt)
2057 static void clone_pkt_attributes(struct net_pkt *pkt, struct net_pkt *clone_pkt)
2119 static struct net_pkt *net_pkt_clone_internal(struct net_pkt *pkt,
2126 struct net_pkt *clone_pkt;
2171 struct net_pkt *net_pkt_clone(struct net_pkt *pkt, k_timeout_t timeout)
2176 struct net_pkt *net_pkt_rx_clone(struct net_pkt *pkt, k_timeout_t timeout)
2181 struct net_pkt *net_pkt_shallow_clone(struct net_pkt *pkt, k_timeout_t timeout)
2183 struct net_pkt *clone_pkt;
2206 size_t net_pkt_remaining_data(struct net_pkt *pkt)
2227 int net_pkt_update_length(struct net_pkt *pkt, size_t length)
2243 int net_pkt_pull(struct net_pkt *pkt, size_t length)
2295 uint16_t net_pkt_get_current_offset(struct net_pkt *pkt)
2316 bool net_pkt_is_contiguous(struct net_pkt *pkt, size_t size)
2323 size_t net_pkt_get_contiguous_len(struct net_pkt *pkt)
2340 void *net_pkt_get_data(struct net_pkt *pkt,
2377 int net_pkt_set_data(struct net_pkt *pkt,
2394 sizeof(struct net_pkt)),
2397 sizeof(struct net_pkt)),