parse a DNS header!

This commit is contained in:
Piper Pentagram 2025-07-18 16:25:26 -07:00
parent ee7c7d3714
commit 5cd390f7b1
7 changed files with 146 additions and 76 deletions

View file

@ -7,4 +7,4 @@ struct DNSRequest {
struct DNSPacketHeader *header;
};
struct DNSRequest *new_dns_request(struct DNSPacketBuffer *pb);
struct DNSRequest *parse_dns_query(struct DNSPacketBuffer *pb);