11#ifndef __PACKET_DCERPC_DNSSERVER_H
12#define __PACKET_DCERPC_DNSSERVER_H
14#define DNS_LOG_LEVEL_ALL_PACKETS ( 0x0000ffff )
16#define DNS_LOG_LEVEL_NON_QUERY ( 0x000000fe )
18#define DNS_RPC_USE_ALL_PROTOCOLS ( 0xffffffff )
20#define DNS_CLIENT_VERSION_W2K (0x00000000)
21#define DNS_CLIENT_VERSION_DOTNET (0x00000006)
22#define DNS_CLIENT_VERSION_LONGHORN (0x00000007)
23extern const value_string dnsserver_DNS_RPC_CLIENT_VERSION_vals[];
24int dnsserver_dissect_enum_DNS_RPC_CLIENT_VERSION(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
25int dnsserver_dissect_struct_DNS_RPC_VERSION(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
26#define DNS_RPC_BOOT_METHOD_FILE (0x01)
27#define DNS_RPC_BOOT_METHOD_REGISTRY (0x02)
28#define DNS_RPC_BOOT_METHOD_DIRECTORY (0x03)
29extern const value_string dnsserver_DNS_RPC_BOOT_METHOD_vals[];
30int dnsserver_dissect_enum_DNS_RPC_BOOT_METHOD(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint8_t *param _U_);
31int dnsserver_dissect_bitmap_DNS_LOG_LEVELS(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
32int dnsserver_dissect_bitmap_DNS_RPC_PROTOCOLS(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
33#define DNS_ALLOW_RFC_NAMES_ONLY (0x00000000)
34#define DNS_ALLOW_NONRFC_NAMES (0x00000001)
35#define DNS_ALLOW_MULTIBYTE_NAMES (0x00000002)
36#define DNS_ALLOW_ALL_NAMES (0x00000003)
37extern const value_string dnsserver_DNS_NAME_CHECK_FLAGS_vals[];
38int dnsserver_dissect_enum_DNS_NAME_CHECK_FLAGS(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
39#define DNS_TYPE_ZERO (0x0000)
40#define DNS_TYPE_A (0x0001)
41#define DNS_TYPE_NS (0x0002)
42#define DNS_TYPE_MD (0x0003)
43#define DNS_TYPE_MF (0x0004)
44#define DNS_TYPE_CNAME (0x0005)
45#define DNS_TYPE_SOA (0x0006)
46#define DNS_TYPE_MB (0x0007)
47#define DNS_TYPE_MG (0x0008)
48#define DNS_TYPE_MR (0x0009)
49#define DNS_TYPE_NULL (0x000a)
50#define DNS_TYPE_WKS (0x000b)
51#define DNS_TYPE_PTR (0x000c)
52#define DNS_TYPE_HINFO (0x000d)
53#define DNS_TYPE_MINFO (0x000e)
54#define DNS_TYPE_MX (0x000f)
55#define DNS_TYPE_TXT (0x0010)
56#define DNS_TYPE_RP (0x0011)
57#define DNS_TYPE_AFSDB (0x0012)
58#define DNS_TYPE_X25 (0x0013)
59#define DNS_TYPE_ISDN (0x0014)
60#define DNS_TYPE_RT (0x0015)
61#define DNS_TYPE_NSAP (0x0016)
62#define DNS_TYPE_NSAPPTR (0x0017)
63#define DNS_TYPE_SIG (0x0018)
64#define DNS_TYPE_KEY (0x0019)
65#define DNS_TYPE_PX (0x001a)
66#define DNS_TYPE_GPOS (0x001b)
67#define DNS_TYPE_AAAA (0x001c)
68#define DNS_TYPE_LOC (0x001d)
69#define DNS_TYPE_NXT (0x001e)
70#define DNS_TYPE_SRV (0x0021)
71#define DNS_TYPE_ATMA (0x0022)
72#define DNS_TYPE_NAPTR (0x0023)
73#define DNS_TYPE_DNAME (0x0024)
74#define DNS_TYPE_ALL (0x00ff)
75#define DNS_TYPE_WINS (0xff01)
76#define DNS_TYPE_WINSR (0xff02)
77extern const value_string dnsserver_DNS_RECORD_TYPE_vals[];
78int dnsserver_dissect_enum_DNS_RECORD_TYPE(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint16_t *param _U_);
79int dnsserver_dissect_bitmap_DNS_SELECT_FLAGS(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
80int dnsserver_dissect_bitmap_DNS_RPC_NODE_FLAGS(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
81int dnsserver_dissect_struct_DNS_RPC_NAME(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
82int dnsserver_dissect_struct_DNS_RPC_RECORD_NODE_NAME(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
83int dnsserver_dissect_struct_DNS_RPC_RECORD(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
84int dnsserver_dissect_struct_DNS_RPC_NODE(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
85int dnsserver_dissect_struct_IP4_ARRAY(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
86int dnsserver_dissect_struct_DNS_RPC_SERVER_INFO_DOTNET(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
87#define DNSSRV_TYPEID_NULL (0)
88#define DNSSRV_TYPEID_DWORD (1)
89#define DNSSRV_TYPEID_LPSTR (2)
90#define DNSSRV_TYPEID_LPWSTR (3)
91#define DNSSRV_TYPEID_IPARRAY (4)
92#define DNSSRV_TYPEID_BUFFER (5)
93#define DNSSRV_TYPEID_SERVER_INFO_W2K (6)
94#define DNSSRV_TYPEID_STATS (7)
95#define DNSSRV_TYPEID_FORWARDERS_W2K (8)
96#define DNSSRV_TYPEID_ZONE_W2K (9)
97#define DNSSRV_TYPEID_ZONE_INFO_W2K (10)
98#define DNSSRV_TYPEID_ZONE_SECONDARIES_W2K (11)
99#define DNSSRV_TYPEID_ZONE_DATABASE_W2K (12)
100#define DNSSRV_TYPEID_ZONE_TYPE_RESET_W2K (13)
101#define DNSSRV_TYPEID_ZONE_CREATE_W2K (14)
102#define DNSSRV_TYPEID_NAME_AND_PARAM (15)
103#define DNSSRV_TYPEID_ZONE_LIST_W2K (16)
104#define DNSSRV_TYPEID_ZONE_RENAME (17)
105#define DNSSRV_TYPEID_ZONE_EXPORT (18)
106#define DNSSRV_TYPEID_SERVER_INFO_DOTNET (19)
107#define DNSSRV_TYPEID_FORWARDERS_DOTNET (20)
108#define DNSSRV_TYPEID_ZONE (21)
109#define DNSSRV_TYPEID_ZONE_INFO_DOTNET (22)
110#define DNSSRV_TYPEID_ZONE_SECONDARIES_DOTNET (23)
111#define DNSSRV_TYPEID_ZONE_DATABASE (24)
112#define DNSSRV_TYPEID_ZONE_TYPE_RESET_DOTNET (25)
113#define DNSSRV_TYPEID_ZONE_CREATE_DOTNET (26)
114#define DNSSRV_TYPEID_ZONE_LIST (27)
115#define DNSSRV_TYPEID_DP_ENUM (28)
116#define DNSSRV_TYPEID_DP_INFO (29)
117#define DNSSRV_TYPEID_DP_LIST (30)
118#define DNSSRV_TYPEID_ENLIST_DP (31)
119#define DNSSRV_TYPEID_ZONE_CHANGE_DP (32)
120#define DNSSRV_TYPEID_ENUM_ZONES_FILTER (33)
121#define DNSSRV_TYPEID_ADDARRAY (34)
122#define DNSSRV_TYPEID_SERVER_INFO (35)
123#define DNSSRV_TYPEID_ZONE_INFO (36)
124#define DNSSRV_TYPEID_FORWARDERS (37)
125#define DNSSRV_TYPEID_ZONE_SECONDARIES (38)
126#define DNSSRV_TYPEID_ZONE_TYPE_RESET (39)
127#define DNSSRV_TYPEID_ZONE_CREATE (40)
128#define DNSSRV_TYPEID_IP_VALIDATE (41)
129#define DNSSRV_TYPEID_AUTOCONFIGURE (42)
130#define DNSSRV_TYPEID_UTF8_STRING_LIST (43)
131#define DNSSRV_TYPEID_UNICODE_STRING_LIST (44)
132extern const value_string dnsserver_DnssrvRpcTypeId_vals[];
133int dnsserver_dissect_enum_DnssrvRpcTypeId(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
134int dnsserver_dissect_struct_DNS_RECORD_BUFFER(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
Definition packet-dcerpc.h:154
Definition packet_info.h:43
Definition value_string.h:25
Definition tvbuff-int.h:35