1 /*
2  * Copyright (c) 2022 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/bluetooth/buf.h>
8 #include <zephyr/kernel.h>
9 #include <zephyr/net/buf.h>
10 
11 #include <mocks/net_buf.h>
12 
13 DEFINE_FAKE_VOID_FUNC(net_buf_unref, struct net_buf *);
14 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add, struct net_buf_simple *, size_t);
15 DEFINE_FAKE_VALUE_FUNC(uint8_t *, net_buf_simple_add_u8, struct net_buf_simple *, uint8_t);
16 DEFINE_FAKE_VALUE_FUNC(void *, net_buf_simple_add_mem, struct net_buf_simple *, const void *,
17 		       size_t);
18