zephyr/subsys/net/lib/dns
Jukka Rissanen 6493af2714 tests: net: dns: Add tests for catching malformed packets
Add more tests to verify that we discard malformed packets.
In order to simplify the testing, separate message validation to
dns_validate_msg() function in resolve.c. Allow that function to
be called from unit test. This way we can construct invalid DNS
messages in unit test and verify that they are discarded when
needed.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2020-08-27 08:05:52 -04:00
..
CMakeLists.txt
dns_internal.h tests: net: dns: Add tests for catching malformed packets 2020-08-27 08:05:52 -04:00
dns_pack.c tests: net: dns: Add tests for catching malformed packets 2020-08-27 08:05:52 -04:00
dns_pack.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
llmnr_responder.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mdns_responder.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
resolve.c tests: net: dns: Add tests for catching malformed packets 2020-08-27 08:05:52 -04:00