1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/kernel.h>
8 #include <zephyr/net_buf.h>
9 
10 #include "mocks/net_buf.h"
11 
12 const struct net_buf_data_cb net_buf_fixed_cb;
13 
14 DEFINE_FAKE_VOID_FUNC(net_buf_unref, struct net_buf *);
15 DEFINE_FAKE_VOID_FUNC(net_buf_reset, struct net_buf *);
16 DEFINE_FAKE_VOID_FUNC(net_buf_slist_put, sys_slist_t *, struct net_buf *);
17 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, net_buf_alloc_fixed, struct net_buf_pool *, k_timeout_t);
18