3 Commits

Author SHA1 Message Date
0dc41ef845
(tests) Implement tests for DNS header parsing
* implemented 3 tests
  * valid opcodes
  * invalid opcodes
  * header too short
* fixed byteorder and bit shifting for flags
* added hexdump for main function for testing purposes
2022-04-06 20:19:41 +02:00
812264e2ab
(chore) replace flume dependency with std::sync::mpsc (#12)
Co-authored-by: ddidderr <ddidderr@paul.network>
Reviewed-on: #12
2022-04-06 20:17:48 +02:00
71223309d7 Code for parsing headers added. 2022-03-13 21:56:17 +01:00