Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Zephyr API Documentation
Introduction
Deprecated List
Topics
Data Structures
Files
File List
doc
kernel
lib
modules
subsys
zephyr
acpi
app_memory
arch
audio
bluetooth
canbus
console
crypto
data
debug
devicetree
dfu
display
drivers
dsp
dt-bindings
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
conn_mgr
hdlc_rcp_if
http
prometheus
canbus.h
capture.h
coap.h
coap_client.h
coap_link_format.h
coap_mgmt.h
coap_service.h
conn_mgr_connectivity.h
conn_mgr_connectivity_impl.h
conn_mgr_monitor.h
dhcpv4.h
dhcpv4_server.h
dhcpv6.h
dns_resolve.h
dns_sd.h
dsa.h
dsa_core.h
dummy.h
ethernet.h
ethernet_bridge.h
ethernet_mgmt.h
ethernet_vlan.h
gptp.h
hostname.h
icmp.h
ieee802154.h
ieee802154_ie.h
ieee802154_mgmt.h
ieee802154_pkt.h
ieee802154_radio.h
ieee802154_radio_openthread.h
igmp.h
ipv4_autoconf.h
lldp.h
loopback.h
lwm2m.h
lwm2m_path.h
mdio.h
mdns_responder.h
mii.h
mld.h
mqtt.h
mqtt_sn.h
net_config.h
net_context.h
net_core.h
net_event.h
net_if.h
net_ip.h
net_l2.h
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h
net_pkt_filter.h
net_stats.h
net_time.h
net_timeout.h
offloaded_netdev.h
openthread.h
phy.h
ppp.h
promiscuous.h
ptp.h
ptp_time.h
sntp.h
socket.h
socket_net_mgmt.h
socket_offload.h
socket_poll.h
socket_select.h
socket_service.h
socket_types.h
socketcan.h
socketcan_utils.h
socketutils.h
tftp.h
tls_credentials.h
trickle.h
udp.h
virtual.h
virtual_mgmt.h
websocket.h
wifi.h
wifi_credentials.h
wifi_mgmt.h
wifi_nm.h
wifi_utils.h
zperf.h
platform
pm
pmci
portability
posix
psa
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
sys
task_wdt
timing
toolchain
tracing
usb
usb_c
xen
zbus
zvfs
bindesc.h
cache.h
device.h
devicetree.h
fatal.h
fatal_types.h
init.h
irq.h
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
kernel.h
kernel_includes.h
kernel_structs.h
kernel_version.h
net_buf.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall.h
toolchain.h
types.h
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
loopback.h
Go to the documentation of this file.
1
4
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
for Zephyr API Documentation by
1.14.0