mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
host and port name lookup
R=r,presotto DELTA=1239 (935 added, 281 deleted, 23 changed) OCL=21041 CL=21539
This commit is contained in:
parent
e29ce175ed
commit
83348f956e
15 changed files with 886 additions and 244 deletions
|
|
@ -63,6 +63,14 @@ export const (
|
|||
DNS_ClassCHAOS = 3;
|
||||
DNS_ClassHESIOD = 4;
|
||||
DNS_ClassANY = 255;
|
||||
|
||||
// DNS_Msg.rcode
|
||||
DNS_RcodeSuccess = 0;
|
||||
DNS_RcodeFormatError = 1;
|
||||
DNS_RcodeServerFailure = 2;
|
||||
DNS_RcodeNameError = 3;
|
||||
DNS_RcodeNotImplemented = 4;
|
||||
DNS_RcodeRefused = 5;
|
||||
)
|
||||
|
||||
// The wire format for the DNS packet header.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue