Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3809c7a1
Commit
3809c7a1
authored
Feb 23, 2015
by
Amine Khaldi
Committed by
Alexandre Julliard
Feb 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Complete and properly pack DNS_HEADER structure.
parent
e618ab65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
windns.h
include/windns.h
+12
-8
No files found.
include/windns.h
View file @
3809c7a1
...
...
@@ -176,22 +176,26 @@ typedef struct _IP4_ARRAY
IP4_ADDRESS
AddrArray
[
1
];
}
IP4_ARRAY
,
*
PIP4_ARRAY
;
#include <pshpack1.h>
typedef
struct
_DNS_HEADER
{
WORD
Xid
;
BYTE
RecursionDesired
;
BYTE
Truncation
;
BYTE
Authoritative
;
BYTE
Opcode
;
BYTE
IsResponse
;
BYTE
ResponseCode
;
BYTE
Reserved
;
BYTE
RecursionAvailable
;
BYTE
RecursionDesired
:
1
;
BYTE
Truncation
:
1
;
BYTE
Authoritative
:
1
;
BYTE
Opcode
:
4
;
BYTE
IsResponse
:
1
;
BYTE
ResponseCode
:
4
;
BYTE
CheckingDisabled
:
1
;
BYTE
AuthenticatedData
:
1
;
BYTE
Reserved
:
1
;
BYTE
RecursionAvailable
:
1
;
WORD
QuestionCount
;
WORD
AnswerCount
;
WORD
NameServerCount
;
WORD
AdditionalCount
;
}
DNS_HEADER
,
*
PDNS_HEADER
;
#include <poppack.h>
typedef
struct
_DNS_MESSAGE_BUFFER
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment