Re: [PATCH][RFC] CLEANUP: dns: use struct dns_header for parsing

2016-06-25 Thread Baptiste
Hi Conrad, Thx for your patch, I'll review it later. Willy, please dont apply it for now since I have pending patches which touch this part of the code. Baptiste Le 25 juin 2016 19:11, "Conrad Hoffmann" a écrit : > Hi, > > while poking around in the DNS response parsing, I thought this might be

[PATCH][RFC] CLEANUP: dns: use struct dns_header for parsing

2016-06-25 Thread Conrad Hoffmann
Hi, while poking around in the DNS response parsing, I thought this might be a good idea, but not 100% sure about considerations that may have went into the existing code. I was about to add more variables like `ancount` (e.g. `arcount`), then realized it's all already there, in the struct dns_he