Home
last modified time | relevance | path

Searched refs:loopback_set_packet_drop_ratio (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dloopback.h26 int loopback_set_packet_drop_ratio(float ratio);
/Zephyr-latest/samples/net/zperf/src/
Dmain.c66 loopback_set_packet_drop_ratio(1); in main()
/Zephyr-latest/drivers/net/
Dloopback.c82 int loopback_set_packet_drop_ratio(float ratio) in loopback_set_packet_drop_ratio() function
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c444 zassert_equal(loopback_set_packet_drop_ratio(0.125f), 0, in set_packet_loss_ratio()
451 zassert_equal(loopback_set_packet_drop_ratio(0.0f), 0, in restore_packet_loss_ratio()
538 zassert_equal(loopback_set_packet_drop_ratio(1.0f), 0, in ZTEST()
1048 loopback_set_packet_drop_ratio(1.0f); in ZTEST()
1088 loopback_set_packet_drop_ratio(1.0f); in ZTEST()
1196 loopback_set_packet_drop_ratio(1.0f); in ZTEST()
1480 loopback_set_packet_drop_ratio(1.0f); in ZTEST()
2471 loopback_set_packet_drop_ratio(1.0f); in ZTEST()
2486 loopback_set_packet_drop_ratio(0.0f); in ZTEST()
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c887 loopback_set_packet_drop_ratio(1.0f); in ZTEST()
897 loopback_set_packet_drop_ratio(0.0f); in ZTEST()