Lines Matching defs:pkt
154 struct net_pkt *pkt; member
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()
519 void net_pkt_unref_debug(struct net_pkt *pkt, const char *caller, int line)
620 struct net_pkt *net_pkt_ref_debug(struct net_pkt *pkt, const char *caller,
705 struct net_buf *net_pkt_frag_del_debug(struct net_pkt *pkt,
741 void net_pkt_frag_add_debug(struct net_pkt *pkt, struct net_buf *frag,
763 void net_pkt_frag_insert_debug(struct net_pkt *pkt, struct net_buf *frag,
777 void net_pkt_compact(struct net_pkt *pkt)
886 #define NET_PKT_ALLOC_STATS_UPDATE(pkt, alloc_size, start) ({ \ argument
902 #define NET_PKT_ALLOC_STATS_FAIL(pkt, alloc_size, start) ({ \ argument
918 #define NET_PKT_ALLOC_STATS_UPDATE(pkt, alloc_size, start) ({ 0; }) argument
919 #define NET_PKT_ALLOC_STATS_FAIL(pkt, alloc_size, start) ({ 0; }) argument
925 static struct net_buf *pkt_alloc_buffer(struct net_pkt *pkt,
1020 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,
1341 int net_pkt_alloc_buffer_debug(struct net_pkt *pkt,
1395 int net_pkt_alloc_buffer_raw_debug(struct net_pkt *pkt, size_t size,
1461 struct net_pkt *pkt; local
1586 struct net_pkt *pkt; local
1656 struct net_pkt *pkt; local
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)
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,
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)
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,