]> git.meshlink.io Git - meshlink/commit
Test UDP channels.
authorGuus Sliepen <guus@meshlink.io>
Sun, 22 Sep 2019 20:26:00 +0000 (22:26 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 22 Sep 2019 20:26:00 +0000 (22:26 +0200)
commit46079ef8d3adcb693d593cfd362879eb8e4709df
tree7b7017d216a4bfe35ade81c60b60c9c7585f0b85
parent7b8fe1b56e0fa4258931b3cdba66b6edf0dc6b21
Test UDP channels.

Simulate three simultaneous UDP channels transmitting 40 Mbps. Check that
>95% of the packets arrive, and that there is no TCP-like merging or
splitting of packets. This also checks that channels can be opened and
closed like regular TCP channels.
src/utcp
test/Makefile.am
test/channels-udp.c [new file with mode: 0644]
test/channels-udp.test [new file with mode: 0755]
test/utils.c
test/utils.h