mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 21:31:02 -05:00
When SOCK_DGRAM is used, a portion of the datagram is discarded during the initial recv() when getting the nvlist_header. To workaround this, use MSG_PEEK for the initial recv() when using a datagram socket. Add tests for SOCK_DGRAM with nvlist_send()/nvlist_recv(). Differential Revision: https://reviews.freebsd.org/D32722 |
||
|---|---|---|
| .. | ||
| cnv_tests.cc | ||
| dnv_tests.cc | ||
| Makefile | ||
| Makefile.depend | ||
| nv_array_tests.cc | ||
| nv_tests.cc | ||
| nvlist_add_test.c | ||
| nvlist_append_test.c | ||
| nvlist_exists_test.c | ||
| nvlist_free_test.c | ||
| nvlist_get_test.c | ||
| nvlist_move_test.c | ||
| nvlist_send_recv_test.c | ||