mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-28 10:52:33 +00:00
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
NEW
|
||
AUTO 3,1
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
UDP.PORT.DNS .EQ 53
|
||
*--------------------------------------
|
||
S.DNS.ID .EQ S.UDP+0
|
||
S.DNS.F .EQ S.UDP+2
|
||
S.DNS.F.QR .EQ %10000000.00000000
|
||
S.DNS.F.OPCODE.I .EQ %01000000.00000000
|
||
S.DNS.F.OPCODE.S .EQ %00100000.00000000
|
||
S.DNS.F.AA .EQ %00000100.00000000
|
||
S.DNS.F.TC .EQ %00000010.00000000
|
||
S.DNS.F.RD .EQ %00000001.00000000
|
||
S.DNS.F.RA .EQ %00000000.10000000
|
||
S.DNS.F.RCODE.FRMT .EQ %00000000.00000001
|
||
S.DNS.F.RCODE.SRVR .EQ %00000000.00000010
|
||
S.DNS.F.RCODE.UKWN .EQ %00000000.00000011
|
||
S.DNS.F.RCODE.NIMP .EQ %00000000.00000100
|
||
S.DNS.F.RCODE.DENY .EQ %00000000.00000101
|
||
S.DNS.QDCOUNT .EQ S.UDP+4
|
||
S.DNS.ANCOUNT .EQ S.UDP+6
|
||
S.DNS.NSCOUNT .EQ S.UDP+8
|
||
S.DNS.ARCOUNT .EQ S.UDP+10
|
||
*
|
||
S.DNS .EQ S.UDP+12
|
||
*--------------------------------------
|
||
S.DNS.QTYPE.A .EQ 1
|
||
S.DNS.QTYPE.NS .EQ 2
|
||
S.DNS.QTYPE.CNAME .EQ 5
|
||
S.DNS.QTYPE.SOA .EQ 6
|
||
S.DNS.QTYPE.WKS .EQ 11
|
||
S.DNS.QTYPE.PTR .EQ 12
|
||
S.DNS.QTYPE.MX .EQ 15
|
||
S.DNS.QTYPE.SRV .EQ 33
|
||
S.DNS.QTYPE.ANY .EQ 255
|
||
S.DNS.QCLASS.IN .EQ 1
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE inc/net.dns.i
|
||
LOAD usr/src/lib/libtcpip.s
|
||
ASM
|