commit | edd183b8e90809c676fcb0c630f1a09a584bad3a | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Apr 17 18:16:44 2023 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Apr 24 05:51:25 2023 +0000 |
tree | 26fdaa752d9ae9808fc515798bf76ef2fd06cec7 | |
parent | 7118826f4842a86454e757d493775fd50d7514aa [diff] |
Add a test for parsing a packet with many compressed questions. In order to do this, write some simple DNS compression code and a test for it. The reason for adding the code here is: - It's not easy for this code to depend on the production implementation because it's in a different respository. - It's generally a good thing for test code not to depend on production code too much. Bug: 263429226 Test: test-only change Change-Id: Ice1380d2f1b2d568fe51580e014071089593f67d