]> Zhao Yanbai Git Server - minix.git/commitdiff
typedef dns_hdr_t HEADER;
authorBen Gras <ben@minix3.org>
Thu, 17 Nov 2005 01:29:08 +0000 (01:29 +0000)
committerBen Gras <ben@minix3.org>
Thu, 17 Nov 2005 01:29:08 +0000 (01:29 +0000)
for applications

include/net/gen/nameser.h

index 54ec561de4d49ff2b28c6f5f112ccee01251195a..1f7f60850b53a7ddf7ff3abef96d58018305bc51 100755 (executable)
@@ -39,6 +39,8 @@ typedef struct dns_hdr
        u16_t dh_arcount;
 } dns_hdr_t;
 
+typedef dns_hdr_t HEADER;
+
 #define DHF_QR         0x80
 #define DHF_OPCODE     0x78
 #define DHF_AA         0x04