test: Add bunch of tests for udp protocol
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 25 Aug 2014 12:55:53 +0000 (20:55 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 25 Aug 2014 12:55:53 +0000 (20:55 +0800)
commitf503b4c47fe584cb03d5f6612249974140e075b5
tree31f345c9750621a098c4c68572aeaa89cf53b6c8
parentba87a4ab252df80acecfc25acfd9e406ea7f4c93
test: Add bunch of tests for udp protocol

They test various combination of bind(2), connect(2) and sendto(2)
for both unicast and multicast.  Unicast tests work w/ udpecho in
tools/netrate.  Multicast tests work w/ mcastsend.
20 files changed:
test/udp/bindconnfail/Makefile [new file with mode: 0644]
test/udp/bindconnfail/udp_bindconnfail.c [new file with mode: 0644]
test/udp/bindconnsend/Makefile [new file with mode: 0644]
test/udp/bindconnsend/udp_bindconnsend.c [new file with mode: 0644]
test/udp/bindsend/Makefile [new file with mode: 0644]
test/udp/bindsend/udp_bindsend.c [new file with mode: 0644]
test/udp/conn2send/Makefile [new file with mode: 0644]
test/udp/conn2send/udp_conn2send.c [new file with mode: 0644]
test/udp/connsend/Makefile [new file with mode: 0644]
test/udp/connsend/udp_connsend.c [new file with mode: 0644]
test/udp/mcastbind/Makefile [new file with mode: 0644]
test/udp/mcastbind/mcastbind.c [new file with mode: 0644]
test/udp/mcastconn/Makefile [new file with mode: 0644]
test/udp/mcastconn/mcastconn.c [new file with mode: 0644]
test/udp/mcastsend/Makefile [new file with mode: 0644]
test/udp/mcastsend/mcastsend.c [new file with mode: 0644]
test/udp/sendwildcard/Makefile [new file with mode: 0644]
test/udp/sendwildcard/udp_sendwildcard.c [new file with mode: 0644]
test/udp/sockclose/Makefile [new file with mode: 0644]
test/udp/sockclose/udp_sockclose.c [new file with mode: 0644]