1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/fff.h>
8 #include <zephyr/kernel.h>
9 #include <zephyr/net_buf.h>
10 
11 /* List of fakes used by this unit tester */
12 #define NET_BUF_FFF_FAKES_LIST(FAKE)                                                               \
13 	FAKE(net_buf_unref)                                                                        \
14 	FAKE(net_buf_reset)                                                                        \
15 	FAKE(net_buf_slist_put)                                                                    \
16 	FAKE(net_buf_alloc_fixed)
17 
18 DECLARE_FAKE_VOID_FUNC(net_buf_unref, struct net_buf *);
19 DECLARE_FAKE_VOID_FUNC(net_buf_reset, struct net_buf *);
20 DECLARE_FAKE_VOID_FUNC(net_buf_slist_put, sys_slist_t *, struct net_buf *);
21 DECLARE_FAKE_VALUE_FUNC(struct net_buf *, net_buf_alloc_fixed, struct net_buf_pool *, k_timeout_t);
22