Lines Matching refs:net_buf_simple
42 struct net_buf_simple _name = { \
61 static struct net_buf_simple _name = { \
81 struct net_buf_simple { struct
114 ((struct net_buf_simple *)(&(struct { \
115 struct net_buf_simple buf; \
130 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init()
150 void net_buf_simple_init_with_data(struct net_buf_simple *buf,
160 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset()
176 void net_buf_simple_clone(const struct net_buf_simple *original,
177 struct net_buf_simple *clone);
190 void *net_buf_simple_add(struct net_buf_simple *buf, size_t len);
204 void *net_buf_simple_add_mem(struct net_buf_simple *buf, const void *mem,
218 u8_t *net_buf_simple_add_u8(struct net_buf_simple *buf, u8_t val);
230 void net_buf_simple_add_le16(struct net_buf_simple *buf, u16_t val);
242 void net_buf_simple_add_be16(struct net_buf_simple *buf, u16_t val);
254 void net_buf_simple_add_le24(struct net_buf_simple *buf, bt_u32_t val);
266 void net_buf_simple_add_be24(struct net_buf_simple *buf, bt_u32_t val);
278 void net_buf_simple_add_le32(struct net_buf_simple *buf, bt_u32_t val);
290 void net_buf_simple_add_be32(struct net_buf_simple *buf, bt_u32_t val);
302 void net_buf_simple_add_le48(struct net_buf_simple *buf, u64_t val);
314 void net_buf_simple_add_be48(struct net_buf_simple *buf, u64_t val);
326 void net_buf_simple_add_le64(struct net_buf_simple *buf, u64_t val);
338 void net_buf_simple_add_be64(struct net_buf_simple *buf, u64_t val);
351 void *net_buf_simple_push(struct net_buf_simple *buf, size_t len);
362 void net_buf_simple_push_le16(struct net_buf_simple *buf, u16_t val);
373 void net_buf_simple_push_be16(struct net_buf_simple *buf, u16_t val);
383 void net_buf_simple_push_u8(struct net_buf_simple *buf, u8_t val);
394 void net_buf_simple_push_le24(struct net_buf_simple *buf, bt_u32_t val);
405 void net_buf_simple_push_be24(struct net_buf_simple *buf, bt_u32_t val);
416 void net_buf_simple_push_le32(struct net_buf_simple *buf, bt_u32_t val);
427 void net_buf_simple_push_be32(struct net_buf_simple *buf, bt_u32_t val);
438 void net_buf_simple_push_le48(struct net_buf_simple *buf, u64_t val);
449 void net_buf_simple_push_be48(struct net_buf_simple *buf, u64_t val);
460 void net_buf_simple_push_le64(struct net_buf_simple *buf, u64_t val);
471 void net_buf_simple_push_be64(struct net_buf_simple *buf, u64_t val);
484 void *net_buf_simple_pull(struct net_buf_simple *buf, size_t len);
497 void *net_buf_simple_pull_mem(struct net_buf_simple *buf, size_t len);
509 u8_t net_buf_simple_pull_u8(struct net_buf_simple *buf);
521 u16_t net_buf_simple_pull_le16(struct net_buf_simple *buf);
533 u16_t net_buf_simple_pull_be16(struct net_buf_simple *buf);
545 bt_u32_t net_buf_simple_pull_le24(struct net_buf_simple *buf);
557 bt_u32_t net_buf_simple_pull_be24(struct net_buf_simple *buf);
569 bt_u32_t net_buf_simple_pull_le32(struct net_buf_simple *buf);
581 bt_u32_t net_buf_simple_pull_be32(struct net_buf_simple *buf);
593 u64_t net_buf_simple_pull_le48(struct net_buf_simple *buf);
605 u64_t net_buf_simple_pull_be48(struct net_buf_simple *buf);
617 u64_t net_buf_simple_pull_le64(struct net_buf_simple *buf);
629 u64_t net_buf_simple_pull_be64(struct net_buf_simple *buf);
640 static inline u8_t *net_buf_simple_tail(struct net_buf_simple *buf) in net_buf_simple_tail()
654 size_t net_buf_simple_headroom(struct net_buf_simple *buf);
665 size_t net_buf_simple_tailroom(struct net_buf_simple *buf);
689 static inline void net_buf_simple_save(struct net_buf_simple *buf, in net_buf_simple_save()
705 static inline void net_buf_simple_restore(struct net_buf_simple *buf, in net_buf_simple_restore()
779 struct net_buf_simple b;
1198 void net_buf_simple_reserve(struct net_buf_simple *buf, size_t reserve);