From: Miek Gieben Date: Wed, 8 Dec 2004 13:53:11 +0000 (+0000) Subject: minor stuff X-Git-Tag: release-0.50~745 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=603eb12bad2d5baa433aeefa030b31a7089b378c;p=thirdparty%2Fldns.git minor stuff --- diff --git a/packet.h b/packet.h index 3132f219..9ff1f63f 100644 --- a/packet.h +++ b/packet.h @@ -20,14 +20,14 @@ struct struct_header_type { uint16_t id; /* id of a packet */ - uint8_t qr; + uint8_t qr:1; + uint8_t aa:1; + uint8_t tc:1; + uint8_t rd:1; + uint8_t cd:1; + uint8_t ra:1; + uint8_t ad:1; uint8_t opcode; - uint8_t aa; - uint8_t tc; - uint8_t rd; - uint8_t cd; - uint8_t ra; - uint8_t ad; uint8_t rcode; uint8_t qdcount; /* question sec */ uint8_t ancount; /* answer sec */