Changeset adae30d in mainline for uspace/srv/net/dnsres/dns_std.h
- Timestamp:
- 2012-08-12T16:27:30Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f85ed4b
- Parents:
- d23d911
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsres/dns_std.h
rd23d911 radae30d 85 85 86 86 typedef struct { 87 /** Identifier assigned by the query originator */ 87 88 uint16_t id; 89 /** QR, Opcode, AA, TC,RD, RA, Z, Rcode */ 88 90 uint16_t opbits; 91 /** Number of entries in query section */ 89 92 uint16_t qd_count; 93 /** Number of RRs in the answer section */ 90 94 uint16_t an_count; 95 /** Number of name server RRs in the authority records section */ 91 96 uint16_t ns_count; 97 /** Number of RRs in the additional records section */ 92 98 uint16_t ar_count; 93 99 } dns_header_t; … … 100 106 enum dns_opbits { 101 107 OPB_QR = 15, 102 QPB_OPCODE_h = 14,103 QPB_OPCODE_l = 11,104 QPB_AA = 10,105 QPB_TC = 9,106 QPB_RD = 8,107 QPB_RA = 7,108 QPB_Z_h = 6,109 QPB_Z_l = 4,110 QPB_RCODE_h = 3,111 QPB_RCODE_l = 0108 OPB_OPCODE_h = 14, 109 OPB_OPCODE_l = 11, 110 OPB_AA = 10, 111 OPB_TC = 9, 112 OPB_RD = 8, 113 OPB_RA = 7, 114 OPB_Z_h = 6, 115 OPB_Z_l = 4, 116 OPB_RCODE_h = 3, 117 OPB_RCODE_l = 0 112 118 }; 113 119
Note:
See TracChangeset
for help on using the changeset viewer.