Zephyr API Documentation
3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
loopback.h
Go to the documentation of this file.
1
5
/*
6
* Copyright (c) 2022 Radarxense B.V.
7
*
8
* SPDX-License-Identifier: Apache-2.0
9
*/
10
11
#ifndef ZEPHYR_INCLUDE_NET_LOOPBACK_H_
12
#define ZEPHYR_INCLUDE_NET_LOOPBACK_H_
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#ifdef CONFIG_NET_LOOPBACK_SIMULATE_PACKET_DROP
26
int
loopback_set_packet_drop_ratio(
float
ratio);
27
33
int
loopback_get_num_dropped_packets(
void
);
34
#endif
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* ZEPHYR_INCLUDE_NET_LOOPBACK_H_ */
zephyr
net
loopback.h
Generated on Sat Oct 5 2024 21:02:25 for Zephyr API Documentation by
1.12.0