2008-08-06 06:45:44 +00:00
/* DO NOT EDIT
2014-09-18 04:10:51 +00:00
This file was automatically generated by Pidl
2008-08-06 06:45:44 +00:00
from dnsserver . idl and dnsserver . cnf .
2014-03-07 15:32:18 +00:00
2014-09-18 04:10:51 +00:00
Pidl is a perl based IDL compiler for DCE / RPC idl files .
2008-08-06 06:45:44 +00:00
It is maintained by the Samba team , not the Wireshark team .
2014-09-18 04:10:51 +00:00
Instructions on how to download and install Pidl can be
2020-10-03 02:17:00 +00:00
found at https : //gitlab.com/wireshark/wireshark/-/wikis/Pidl
2008-08-06 06:45:44 +00:00
*/
2002-09-11 23:59:13 +00:00
# include "config.h"
# include <glib.h>
2008-08-06 06:45:44 +00:00
# include <string.h>
2002-09-11 23:59:13 +00:00
# include <epan/packet.h>
2008-08-06 06:45:44 +00:00
2002-09-11 23:59:13 +00:00
# include "packet-dcerpc.h"
# include "packet-dcerpc-nt.h"
2004-08-03 02:28:49 +00:00
# include "packet-windows-common.h"
2008-08-06 06:45:44 +00:00
# include "packet-dcerpc-dnsserver.h"
2014-09-26 16:47:53 +00:00
void proto_register_dcerpc_dnsserver ( void ) ;
void proto_reg_handoff_dcerpc_dnsserver ( void ) ;
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
/* Ett declarations */
static gint ett_dcerpc_dnsserver = - 1 ;
static gint ett_dnsserver_DNS_RPC_VERSION = - 1 ;
static gint ett_dnsserver_DNS_LOG_LEVELS = - 1 ;
static gint ett_dnsserver_DNS_RPC_PROTOCOLS = - 1 ;
static gint ett_dnsserver_DNS_SELECT_FLAGS = - 1 ;
static gint ett_dnsserver_DNS_RPC_NODE_FLAGS = - 1 ;
static gint ett_dnsserver_DNS_RPC_NAME = - 1 ;
static gint ett_dnsserver_DNS_RPC_RECORD_NODE_NAME = - 1 ;
static gint ett_dnsserver_DNS_RPC_RECORD_UNION = - 1 ;
static gint ett_dnsserver_DNS_RPC_RECORD = - 1 ;
static gint ett_dnsserver_DNS_RPC_NODE = - 1 ;
static gint ett_dnsserver_IP4_ARRAY = - 1 ;
static gint ett_dnsserver_DNS_RPC_SERVER_INFO_DOTNET = - 1 ;
static gint ett_dnsserver_DNSSRV_RPC_UNION = - 1 ;
static gint ett_dnsserver_DNS_RECORD_BUFFER = - 1 ;
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
/* Header field declarations */
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNSSRV_RPC_UNION_ServerInfoDotnet = - 1 ;
static gint hf_dnsserver_DNSSRV_RPC_UNION_dword = - 1 ;
static gint hf_dnsserver_DNSSRV_RPC_UNION_null = - 1 ;
2014-09-20 02:23:27 +00:00
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_ANSWERS = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_FULL_PACKETS = - 1 ;
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_NOTIFY = - 1 ;
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUERY = - 1 ;
2014-09-20 02:23:27 +00:00
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUESTIONS = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_RECV = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_SEND = - 1 ;
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_TCP = - 1 ;
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_UDP = - 1 ;
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_UPDATE = - 1 ;
static gint hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_WRITE_THROUGH = - 1 ;
static gint hf_dnsserver_DNS_RECORD_BUFFER_rpc_node = - 1 ;
static gint hf_dnsserver_DNS_RPC_NAME_Name = - 1 ;
static gint hf_dnsserver_DNS_RPC_NAME_NameLength = - 1 ;
2014-09-20 02:23:27 +00:00
static gint hf_dnsserver_DNS_RPC_NAME_name = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_Childcount = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AGING_ON = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AUTH_ZONE_ROOT = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_CACHE_DATA = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_COMPLETE = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_STICKY = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_OPEN_ACL = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_CREATE_PTR = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_TTL_CHANGE = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECOR_DEFAULT_TTL = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_SUPPRESS_NOTIFY = - 1 ;
2014-09-20 02:23:27 +00:00
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_DELEGATION = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_ROOT = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_Flags = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_Length = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_NodeName = - 1 ;
static gint hf_dnsserver_DNS_RPC_NODE_RecordCount = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_NODE_records = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_LPC = - 1 ;
static gint hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_NAMED_PIPE = - 1 ;
static gint hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_TCPIP = - 1 ;
static gint hf_dnsserver_DNS_RPC_RECORD_DataLength = - 1 ;
static gint hf_dnsserver_DNS_RPC_RECORD_Flags = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_RECORD_NODE_NAME_Name = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_RECORD_Serial = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_RECORD_TimeStamp = - 1 ;
static gint hf_dnsserver_DNS_RPC_RECORD_TtlSeconds = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_RECORD_Type = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_RECORD_UNION_NodeName = - 1 ;
static gint hf_dnsserver_DNS_RPC_RECORD_record = - 1 ;
2014-09-20 02:23:27 +00:00
static gint hf_dnsserver_DNS_RPC_RECORD_reserved = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AddressAnswerLimit = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AdminConfigured = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AllowUpdate = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AutoCacheUpdate = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AutoReverseZones = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_BindSecondaries = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_BootMethod = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DebugLevel = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultAgingState = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultNoRefreshInterval = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultRefreshInterval = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainName = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsAvailable = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsContainer = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsDomainVersion = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsDsaVersion = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsForestVersion = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsPollingInterval = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_EventLogLevel = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestName = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForwardDelegations = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForwardTimeout = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Forwarders = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LastScavengeTime = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriority = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriorityNetmask = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFileMaxSize = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilter = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogLevel = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LooseWildcarding = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_MaxCacheTtl = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_NameCheckFlag = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_NoRecursion = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecurseAfterForwarding = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecursionRetry = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecursionTimeout = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RoundRobin = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RpcProtocol = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ScavengingInterval = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_SecureResponses = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerName = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_StrictFileParsing = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Version = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_WriteAuthorityNs = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension0 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension1 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension2 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension3 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension4 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension5 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserve_array = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2 = - 1 ;
static gint hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserved0 = - 1 ;
static gint hf_dnsserver_DNS_RPC_VERSION_OSMajorVersion = - 1 ;
static gint hf_dnsserver_DNS_RPC_VERSION_OSMinorVersion = - 1 ;
static gint hf_dnsserver_DNS_RPC_VERSION_ServicePackVersion = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ADDITIONAL_DATA = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_AUTHORITY_DATA = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_CACHE_DATA = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_GLUE_DATA = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_NO_CHILDREN = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ONLY_CHILDREN = - 1 ;
static gint hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ROOT_HINT_DATA = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_buffer_length = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_client_version = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_filter_start = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_filter_stop = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_node_name = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_record_buffer = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_record_buffer_ = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_record_type = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_select_flag = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_server_name = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_setting_flags = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_start_child = - 1 ;
static gint hf_dnsserver_DnssrvEnumRecords2_zone = - 1 ;
static gint hf_dnsserver_DnssrvQuery2_client_version = - 1 ;
static gint hf_dnsserver_DnssrvQuery2_data = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DnssrvQuery2_operation = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DnssrvQuery2_server_name = - 1 ;
static gint hf_dnsserver_DnssrvQuery2_setting_flags = - 1 ;
2014-09-27 01:27:30 +00:00
static gint hf_dnsserver_DnssrvQuery2_type_id = - 1 ;
2014-11-03 23:03:01 +00:00
static gint hf_dnsserver_DnssrvQuery2_zone = - 1 ;
static gint hf_dnsserver_IP4_ARRAY_AddrArray = - 1 ;
static gint hf_dnsserver_IP4_ARRAY_AddrCount = - 1 ;
static gint hf_dnsserver_opnum = - 1 ;
static gint hf_dnsserver_status = - 1 ;
2008-08-06 06:45:44 +00:00
static gint proto_dcerpc_dnsserver = - 1 ;
/* Version information */
2002-09-11 23:59:13 +00:00
2015-03-03 10:47:53 +00:00
static e_guid_t uuid_dcerpc_dnsserver = {
2008-08-06 06:45:44 +00:00
0x50abc2a4 , 0x574d , 0x40b3 ,
{ 0x9d , 0x66 , 0xee , 0x4f , 0xd5 , 0xfb , 0xa0 , 0x76 }
2002-09-11 23:59:13 +00:00
} ;
static guint16 ver_dcerpc_dnsserver = 5 ;
2008-08-06 06:45:44 +00:00
const value_string dnsserver_DNS_RPC_CLIENT_VERSION_vals [ ] = {
{ DNS_CLIENT_VERSION_W2K , " DNS_CLIENT_VERSION_W2K " } ,
{ DNS_CLIENT_VERSION_DOTNET , " DNS_CLIENT_VERSION_DOTNET " } ,
{ DNS_CLIENT_VERSION_LONGHORN , " DNS_CLIENT_VERSION_LONGHORN " } ,
{ 0 , NULL }
} ;
2016-05-02 19:02:21 +00:00
static int dnsserver_dissect_element_DNS_RPC_VERSION_OSMajorVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_VERSION_OSMinorVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_VERSION_ServicePackVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
2008-08-06 06:45:44 +00:00
const value_string dnsserver_DNS_RPC_BOOT_METHOD_vals [ ] = {
{ DNS_RPC_BOOT_METHOD_FILE , " DNS_RPC_BOOT_METHOD_FILE " } ,
{ DNS_RPC_BOOT_METHOD_REGISTRY , " DNS_RPC_BOOT_METHOD_REGISTRY " } ,
{ DNS_RPC_BOOT_METHOD_DIRECTORY , " DNS_RPC_BOOT_METHOD_DIRECTORY " } ,
{ 0 , NULL }
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUERY_tfs = {
" DNS_LOG_LEVEL_QUERY is SET " ,
" DNS_LOG_LEVEL_QUERY is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_NOTIFY_tfs = {
" DNS_LOG_LEVEL_NOTIFY is SET " ,
" DNS_LOG_LEVEL_NOTIFY is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_UPDATE_tfs = {
" DNS_LOG_LEVEL_UPDATE is SET " ,
" DNS_LOG_LEVEL_UPDATE is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUESTIONS_tfs = {
" DNS_LOG_LEVEL_QUESTIONS is SET " ,
" DNS_LOG_LEVEL_QUESTIONS is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_ANSWERS_tfs = {
" DNS_LOG_LEVEL_ANSWERS is SET " ,
" DNS_LOG_LEVEL_ANSWERS is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_SEND_tfs = {
" DNS_LOG_LEVEL_SEND is SET " ,
" DNS_LOG_LEVEL_SEND is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_RECV_tfs = {
" DNS_LOG_LEVEL_RECV is SET " ,
" DNS_LOG_LEVEL_RECV is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_UDP_tfs = {
" DNS_LOG_LEVEL_UDP is SET " ,
" DNS_LOG_LEVEL_UDP is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_TCP_tfs = {
" DNS_LOG_LEVEL_TCP is SET " ,
" DNS_LOG_LEVEL_TCP is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_FULL_PACKETS_tfs = {
" DNS_LOG_LEVEL_FULL_PACKETS is SET " ,
" DNS_LOG_LEVEL_FULL_PACKETS is NOT SET " ,
} ;
static const true_false_string DNS_LOG_LEVELS_DNS_LOG_LEVEL_WRITE_THROUGH_tfs = {
" DNS_LOG_LEVEL_WRITE_THROUGH is SET " ,
" DNS_LOG_LEVEL_WRITE_THROUGH is NOT SET " ,
} ;
static const true_false_string DNS_RPC_PROTOCOLS_DNS_RPC_USE_TCPIP_tfs = {
" DNS_RPC_USE_TCPIP is SET " ,
" DNS_RPC_USE_TCPIP is NOT SET " ,
} ;
static const true_false_string DNS_RPC_PROTOCOLS_DNS_RPC_USE_NAMED_PIPE_tfs = {
" DNS_RPC_USE_NAMED_PIPE is SET " ,
" DNS_RPC_USE_NAMED_PIPE is NOT SET " ,
} ;
static const true_false_string DNS_RPC_PROTOCOLS_DNS_RPC_USE_LPC_tfs = {
" DNS_RPC_USE_LPC is SET " ,
" DNS_RPC_USE_LPC is NOT SET " ,
} ;
const value_string dnsserver_DNS_NAME_CHECK_FLAGS_vals [ ] = {
{ DNS_ALLOW_RFC_NAMES_ONLY , " DNS_ALLOW_RFC_NAMES_ONLY " } ,
{ DNS_ALLOW_NONRFC_NAMES , " DNS_ALLOW_NONRFC_NAMES " } ,
{ DNS_ALLOW_MULTIBYTE_NAMES , " DNS_ALLOW_MULTIBYTE_NAMES " } ,
{ DNS_ALLOW_ALL_NAMES , " DNS_ALLOW_ALL_NAMES " } ,
{ 0 , NULL }
} ;
const value_string dnsserver_DNS_RECORD_TYPE_vals [ ] = {
{ DNS_TYPE_ZERO , " DNS_TYPE_ZERO " } ,
{ DNS_TYPE_A , " DNS_TYPE_A " } ,
{ DNS_TYPE_NS , " DNS_TYPE_NS " } ,
{ DNS_TYPE_MD , " DNS_TYPE_MD " } ,
{ DNS_TYPE_MF , " DNS_TYPE_MF " } ,
{ DNS_TYPE_CNAME , " DNS_TYPE_CNAME " } ,
{ DNS_TYPE_SOA , " DNS_TYPE_SOA " } ,
{ DNS_TYPE_MB , " DNS_TYPE_MB " } ,
{ DNS_TYPE_MG , " DNS_TYPE_MG " } ,
{ DNS_TYPE_MR , " DNS_TYPE_MR " } ,
{ DNS_TYPE_NULL , " DNS_TYPE_NULL " } ,
{ DNS_TYPE_WKS , " DNS_TYPE_WKS " } ,
{ DNS_TYPE_PTR , " DNS_TYPE_PTR " } ,
{ DNS_TYPE_HINFO , " DNS_TYPE_HINFO " } ,
{ DNS_TYPE_MINFO , " DNS_TYPE_MINFO " } ,
{ DNS_TYPE_MX , " DNS_TYPE_MX " } ,
{ DNS_TYPE_TXT , " DNS_TYPE_TXT " } ,
{ DNS_TYPE_RP , " DNS_TYPE_RP " } ,
{ DNS_TYPE_AFSDB , " DNS_TYPE_AFSDB " } ,
{ DNS_TYPE_X25 , " DNS_TYPE_X25 " } ,
{ DNS_TYPE_ISDN , " DNS_TYPE_ISDN " } ,
{ DNS_TYPE_RT , " DNS_TYPE_RT " } ,
{ DNS_TYPE_NSAP , " DNS_TYPE_NSAP " } ,
{ DNS_TYPE_NSAPPTR , " DNS_TYPE_NSAPPTR " } ,
{ DNS_TYPE_SIG , " DNS_TYPE_SIG " } ,
{ DNS_TYPE_KEY , " DNS_TYPE_KEY " } ,
{ DNS_TYPE_PX , " DNS_TYPE_PX " } ,
{ DNS_TYPE_GPOS , " DNS_TYPE_GPOS " } ,
{ DNS_TYPE_AAAA , " DNS_TYPE_AAAA " } ,
{ DNS_TYPE_LOC , " DNS_TYPE_LOC " } ,
{ DNS_TYPE_NXT , " DNS_TYPE_NXT " } ,
{ DNS_TYPE_SRV , " DNS_TYPE_SRV " } ,
{ DNS_TYPE_ATMA , " DNS_TYPE_ATMA " } ,
{ DNS_TYPE_NAPTR , " DNS_TYPE_NAPTR " } ,
{ DNS_TYPE_DNAME , " DNS_TYPE_DNAME " } ,
{ DNS_TYPE_ALL , " DNS_TYPE_ALL " } ,
{ DNS_TYPE_WINS , " DNS_TYPE_WINS " } ,
{ DNS_TYPE_WINSR , " DNS_TYPE_WINSR " } ,
{ 0 , NULL }
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_AUTHORITY_DATA_tfs = {
" DNS_RPC_VIEW_AUTHORITY_DATA is SET " ,
" DNS_RPC_VIEW_AUTHORITY_DATA is NOT SET " ,
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_CACHE_DATA_tfs = {
" DNS_RPC_VIEW_CACHE_DATA is SET " ,
" DNS_RPC_VIEW_CACHE_DATA is NOT SET " ,
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_GLUE_DATA_tfs = {
" DNS_RPC_VIEW_GLUE_DATA is SET " ,
" DNS_RPC_VIEW_GLUE_DATA is NOT SET " ,
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_ROOT_HINT_DATA_tfs = {
" DNS_RPC_VIEW_ROOT_HINT_DATA is SET " ,
" DNS_RPC_VIEW_ROOT_HINT_DATA is NOT SET " ,
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_ADDITIONAL_DATA_tfs = {
" DNS_RPC_VIEW_ADDITIONAL_DATA is SET " ,
" DNS_RPC_VIEW_ADDITIONAL_DATA is NOT SET " ,
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_NO_CHILDREN_tfs = {
" DNS_RPC_VIEW_NO_CHILDREN is SET " ,
" DNS_RPC_VIEW_NO_CHILDREN is NOT SET " ,
} ;
static const true_false_string DNS_SELECT_FLAGS_DNS_RPC_VIEW_ONLY_CHILDREN_tfs = {
" DNS_RPC_VIEW_ONLY_CHILDREN is SET " ,
" DNS_RPC_VIEW_ONLY_CHILDREN is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_CACHE_DATA_tfs = {
" DNS_RPC_FLAG_CACHE_DATA is SET " ,
" DNS_RPC_FLAG_CACHE_DATA is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_ROOT_tfs = {
" DNS_RPC_FLAG_ZONE_ROOT is SET " ,
" DNS_RPC_FLAG_ZONE_ROOT is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AUTH_ZONE_ROOT_tfs = {
" DNS_RPC_FLAG_AUTH_ZONE_ROOT is SET " ,
" DNS_RPC_FLAG_AUTH_ZONE_ROOT is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_DELEGATION_tfs = {
" DNS_RPC_FLAG_ZONE_DELEGATION is SET " ,
" DNS_RPC_FLAG_ZONE_DELEGATION is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECOR_DEFAULT_TTL_tfs = {
" DNS_RPC_FLAG_RECOR_DEFAULT_TTL is SET " ,
" DNS_RPC_FLAG_RECOR_DEFAULT_TTL is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_TTL_CHANGE_tfs = {
" DNS_RPC_FLAG_RECORD_TTL_CHANGE is SET " ,
" DNS_RPC_FLAG_RECORD_TTL_CHANGE is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_CREATE_PTR_tfs = {
" DNS_RPC_FLAG_RECORD_CREATE_PTR is SET " ,
" DNS_RPC_FLAG_RECORD_CREATE_PTR is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_STICKY_tfs = {
" DNS_RPC_FLAG_NODE_STICKY is SET " ,
" DNS_RPC_FLAG_NODE_STICKY is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_COMPLETE_tfs = {
" DNS_RPC_FLAG_NODE_COMPLETE is SET " ,
" DNS_RPC_FLAG_NODE_COMPLETE is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_OPEN_ACL_tfs = {
" DNS_RPC_FLAG_OPEN_ACL is SET " ,
" DNS_RPC_FLAG_OPEN_ACL is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AGING_ON_tfs = {
" DNS_RPC_FLAG_AGING_ON is SET " ,
" DNS_RPC_FLAG_AGING_ON is NOT SET " ,
} ;
static const true_false_string DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_SUPPRESS_NOTIFY_tfs = {
" DNS_RPC_FLAG_SUPPRESS_NOTIFY is SET " ,
" DNS_RPC_FLAG_SUPPRESS_NOTIFY is NOT SET " ,
} ;
2016-05-02 19:02:21 +00:00
static int dnsserver_dissect_element_DNS_RPC_RECORD_NODE_NAME_Name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_UNION_NodeName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_DataLength ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_Type ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , guint16 * Type ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_Flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_Serial ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_TtlSeconds ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_TimeStamp ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_reserved ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_RECORD_record ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , guint16 * Type ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_Length ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_RecordCount ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_Flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_Childcount ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_NodeName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_records ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_NODE_records_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_IP4_ARRAY_AddrCount ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_IP4_ARRAY_AddrArray ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_IP4_ARRAY_AddrArray_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserved0 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Version ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_BootMethod ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AdminConfigured ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AllowUpdate ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsAvailable ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerName_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsContainer ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsContainer_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Forwarders ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Forwarders_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilter ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilter_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainName_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestName_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension0 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension0_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension1 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension1_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension2 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension2_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension3 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension3_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension4 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension4_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension5 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension5_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogLevel ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DebugLevel ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForwardTimeout ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcProtocol ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_NameCheckFlag ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AddressAnswerLimit ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecursionRetry ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecursionTimeout ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_MaxCacheTtl ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsPollingInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriorityNetmask ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ScavengingInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultRefreshInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultNoRefreshInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LastScavengeTime ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_EventLogLevel ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFileMaxSize ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsForestVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsDomainVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsDsaVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AutoReverseZones ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AutoCacheUpdate ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecurseAfterForwarding ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForwardDelegations ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_NoRecursion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_SecureResponses ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RoundRobin ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriority ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_BindSecondaries ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_WriteAuthorityNs ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_StrictFileParsing ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LooseWildcarding ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultAgingState ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
2008-08-06 06:45:44 +00:00
const value_string dnsserver_DnssrvRpcTypeId_vals [ ] = {
{ DNSSRV_TYPEID_NULL , " DNSSRV_TYPEID_NULL " } ,
{ DNSSRV_TYPEID_DWORD , " DNSSRV_TYPEID_DWORD " } ,
{ DNSSRV_TYPEID_LPSTR , " DNSSRV_TYPEID_LPSTR " } ,
{ DNSSRV_TYPEID_LPWSTR , " DNSSRV_TYPEID_LPWSTR " } ,
{ DNSSRV_TYPEID_IPARRAY , " DNSSRV_TYPEID_IPARRAY " } ,
{ DNSSRV_TYPEID_BUFFER , " DNSSRV_TYPEID_BUFFER " } ,
{ DNSSRV_TYPEID_SERVER_INFO_W2K , " DNSSRV_TYPEID_SERVER_INFO_W2K " } ,
{ DNSSRV_TYPEID_STATS , " DNSSRV_TYPEID_STATS " } ,
{ DNSSRV_TYPEID_FORWARDERS_W2K , " DNSSRV_TYPEID_FORWARDERS_W2K " } ,
{ DNSSRV_TYPEID_ZONE_W2K , " DNSSRV_TYPEID_ZONE_W2K " } ,
{ DNSSRV_TYPEID_ZONE_INFO_W2K , " DNSSRV_TYPEID_ZONE_INFO_W2K " } ,
{ DNSSRV_TYPEID_ZONE_SECONDARIES_W2K , " DNSSRV_TYPEID_ZONE_SECONDARIES_W2K " } ,
{ DNSSRV_TYPEID_ZONE_DATABASE_W2K , " DNSSRV_TYPEID_ZONE_DATABASE_W2K " } ,
{ DNSSRV_TYPEID_ZONE_TYPE_RESET_W2K , " DNSSRV_TYPEID_ZONE_TYPE_RESET_W2K " } ,
{ DNSSRV_TYPEID_ZONE_CREATE_W2K , " DNSSRV_TYPEID_ZONE_CREATE_W2K " } ,
{ DNSSRV_TYPEID_NAME_AND_PARAM , " DNSSRV_TYPEID_NAME_AND_PARAM " } ,
{ DNSSRV_TYPEID_ZONE_LIST_W2K , " DNSSRV_TYPEID_ZONE_LIST_W2K " } ,
{ DNSSRV_TYPEID_ZONE_RENAME , " DNSSRV_TYPEID_ZONE_RENAME " } ,
{ DNSSRV_TYPEID_ZONE_EXPORT , " DNSSRV_TYPEID_ZONE_EXPORT " } ,
{ DNSSRV_TYPEID_SERVER_INFO_DOTNET , " DNSSRV_TYPEID_SERVER_INFO_DOTNET " } ,
{ DNSSRV_TYPEID_FORWARDERS_DOTNET , " DNSSRV_TYPEID_FORWARDERS_DOTNET " } ,
{ DNSSRV_TYPEID_ZONE , " DNSSRV_TYPEID_ZONE " } ,
{ DNSSRV_TYPEID_ZONE_INFO_DOTNET , " DNSSRV_TYPEID_ZONE_INFO_DOTNET " } ,
{ DNSSRV_TYPEID_ZONE_SECONDARIES_DOTNET , " DNSSRV_TYPEID_ZONE_SECONDARIES_DOTNET " } ,
{ DNSSRV_TYPEID_ZONE_DATABASE , " DNSSRV_TYPEID_ZONE_DATABASE " } ,
{ DNSSRV_TYPEID_ZONE_TYPE_RESET_DOTNET , " DNSSRV_TYPEID_ZONE_TYPE_RESET_DOTNET " } ,
{ DNSSRV_TYPEID_ZONE_CREATE_DOTNET , " DNSSRV_TYPEID_ZONE_CREATE_DOTNET " } ,
{ DNSSRV_TYPEID_ZONE_LIST , " DNSSRV_TYPEID_ZONE_LIST " } ,
{ DNSSRV_TYPEID_DP_ENUM , " DNSSRV_TYPEID_DP_ENUM " } ,
{ DNSSRV_TYPEID_DP_INFO , " DNSSRV_TYPEID_DP_INFO " } ,
{ DNSSRV_TYPEID_DP_LIST , " DNSSRV_TYPEID_DP_LIST " } ,
{ DNSSRV_TYPEID_ENLIST_DP , " DNSSRV_TYPEID_ENLIST_DP " } ,
{ DNSSRV_TYPEID_ZONE_CHANGE_DP , " DNSSRV_TYPEID_ZONE_CHANGE_DP " } ,
{ DNSSRV_TYPEID_ENUM_ZONES_FILTER , " DNSSRV_TYPEID_ENUM_ZONES_FILTER " } ,
{ DNSSRV_TYPEID_ADDARRAY , " DNSSRV_TYPEID_ADDARRAY " } ,
{ DNSSRV_TYPEID_SERVER_INFO , " DNSSRV_TYPEID_SERVER_INFO " } ,
{ DNSSRV_TYPEID_ZONE_INFO , " DNSSRV_TYPEID_ZONE_INFO " } ,
{ DNSSRV_TYPEID_FORWARDERS , " DNSSRV_TYPEID_FORWARDERS " } ,
{ DNSSRV_TYPEID_ZONE_SECONDARIES , " DNSSRV_TYPEID_ZONE_SECONDARIES " } ,
{ DNSSRV_TYPEID_ZONE_TYPE_RESET , " DNSSRV_TYPEID_ZONE_TYPE_RESET " } ,
{ DNSSRV_TYPEID_ZONE_CREATE , " DNSSRV_TYPEID_ZONE_CREATE " } ,
{ DNSSRV_TYPEID_IP_VALIDATE , " DNSSRV_TYPEID_IP_VALIDATE " } ,
{ DNSSRV_TYPEID_AUTOCONFIGURE , " DNSSRV_TYPEID_AUTOCONFIGURE " } ,
{ DNSSRV_TYPEID_UTF8_STRING_LIST , " DNSSRV_TYPEID_UTF8_STRING_LIST " } ,
{ DNSSRV_TYPEID_UNICODE_STRING_LIST , " DNSSRV_TYPEID_UNICODE_STRING_LIST " } ,
{ 0 , NULL }
} ;
2016-05-02 19:02:21 +00:00
static int dnsserver_dissect_element_DNSSRV_RPC_UNION_null ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNSSRV_RPC_UNION_null_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNSSRV_RPC_UNION_dword ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNSSRV_RPC_UNION_ServerInfoDotnet ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNSSRV_RPC_UNION_ServerInfoDotnet_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DNS_RECORD_BUFFER_rpc_node ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_client_version ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_setting_flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_server_name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_server_name_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_zone ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_zone_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_operation ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_operation_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_type_id ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_type_id_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_data ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvQuery2_data_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_client_version ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_setting_flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_server_name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_server_name_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_zone ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_zone_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_node_name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_node_name_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_start_child ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_start_child_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_record_type ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_select_flag ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_filter_start ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_filter_start_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_filter_stop ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_filter_stop_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_buffer_length ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_buffer_length_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
static int dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer__ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ ) ;
2008-08-06 06:45:44 +00:00
int
2016-05-02 19:02:21 +00:00
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 , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
guint8 len ;
if ( di - > conformant_run ) {
/*just a run to handle conformant arrays, nothing to dissect */
return offset ;
}
old_offset = offset ;
if ( parent_tree ) {
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , TRUE ) ;
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RPC_NAME ) ;
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NAME_NameLength , & len ) ;
2019-06-12 19:01:13 +00:00
proto_tree_add_item ( tree , hf_dnsserver_DNS_RPC_NAME_name , tvb ,
offset , len , ENC_UTF_8 | ENC_NA ) ;
offset + = len ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
return offset ;
}
static guint16 node_record_count ;
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_RecordCount ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
if ( di - > conformant_run ) {
/*just a run to handle conformant arrays, nothing to dissect */
return offset ;
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint16 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NODE_RecordCount , & node_record_count ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_records ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
if ( di - > conformant_run ) {
/*just a run to handle conformant arrays, nothing to dissect */
return offset ;
}
while ( node_record_count - - ) {
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_records_ ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
}
return offset ;
}
/* IDL: enum { */
/* IDL: DNS_CLIENT_VERSION_W2K=0x00000000, */
/* IDL: DNS_CLIENT_VERSION_DOTNET=0x00000006, */
/* IDL: DNS_CLIENT_VERSION_LONGHORN=0x00000007, */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 * param _U_ )
2002-09-11 23:59:13 +00:00
{
2008-08-06 06:45:44 +00:00
guint32 parameter = 0 ;
2014-11-03 23:03:01 +00:00
if ( param ) {
parameter = * param ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_index , & parameter ) ;
2014-11-03 23:03:01 +00:00
if ( param ) {
* param = parameter ;
2008-08-06 06:45:44 +00:00
}
return offset ;
}
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
/* IDL: struct { */
/* IDL: uint8 OSMajorVersion; */
/* IDL: uint8 OSMinorVersion; */
/* IDL: uint16 ServicePackVersion; */
/* IDL: } */
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_VERSION_OSMajorVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_VERSION_OSMajorVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_VERSION_OSMinorVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_VERSION_OSMinorVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_VERSION_ServicePackVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint16 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_VERSION_ServicePackVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
ALIGN_TO_2_BYTES ;
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RPC_VERSION ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_VERSION_OSMajorVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_VERSION_OSMinorVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_VERSION_ServicePackVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
if ( di - > call_data - > flags & DCERPC_IS_NDR64 ) {
ALIGN_TO_2_BYTES ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: enum { */
/* IDL: DNS_RPC_BOOT_METHOD_FILE=0x01, */
/* IDL: DNS_RPC_BOOT_METHOD_REGISTRY=0x02, */
/* IDL: DNS_RPC_BOOT_METHOD_DIRECTORY=0x03, */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint8 * param _U_ )
2008-08-06 06:45:44 +00:00
{
guint8 parameter = 0 ;
2014-11-03 23:03:01 +00:00
if ( param ) {
parameter = * param ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_index , & parameter ) ;
2014-11-03 23:03:01 +00:00
if ( param ) {
* param = parameter ;
2008-08-06 06:45:44 +00:00
}
return offset ;
}
/* IDL: bitmap { */
/* IDL: DNS_LOG_LEVEL_QUERY = 0x00000001 , */
/* IDL: DNS_LOG_LEVEL_NOTIFY = 0x00000010 , */
/* IDL: DNS_LOG_LEVEL_UPDATE = 0x00000020 , */
/* IDL: DNS_LOG_LEVEL_QUESTIONS = 0x00000100 , */
/* IDL: DNS_LOG_LEVEL_ANSWERS = 0x00000200 , */
/* IDL: DNS_LOG_LEVEL_SEND = 0x00001000 , */
/* IDL: DNS_LOG_LEVEL_RECV = 0x00002000 , */
/* IDL: DNS_LOG_LEVEL_UDP = 0x00004000 , */
/* IDL: DNS_LOG_LEVEL_TCP = 0x00008000 , */
/* IDL: DNS_LOG_LEVEL_FULL_PACKETS = 0x01000000 , */
/* IDL: DNS_LOG_LEVEL_WRITE_THROUGH = 0x80000000 , */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_bitmap_DNS_LOG_LEVELS ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * parent_tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
2016-06-15 19:35:51 +00:00
proto_item * item ;
2020-06-19 01:14:46 +00:00
static int * const dnsserver_DNS_LOG_LEVELS_fields [ ] = {
2016-06-15 19:35:51 +00:00
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUERY ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_NOTIFY ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_UPDATE ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUESTIONS ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_ANSWERS ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_SEND ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_RECV ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_UDP ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_TCP ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_FULL_PACKETS ,
& hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_WRITE_THROUGH ,
2016-06-18 01:46:11 +00:00
NULL
2016-06-15 19:35:51 +00:00
} ;
2008-08-06 06:45:44 +00:00
guint32 flags ;
ALIGN_TO_4_BYTES ;
2016-06-15 19:35:51 +00:00
item = proto_tree_add_bitmask_with_flags ( parent_tree , tvb , offset , hf_index ,
ett_dnsserver_DNS_LOG_LEVELS , dnsserver_DNS_LOG_LEVELS_fields , DREP_ENC_INTEGER ( drep ) , BMT_NO_FALSE ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , parent_tree , di , drep , - 1 , & flags ) ;
2008-08-06 06:45:44 +00:00
if ( ! flags )
2016-06-15 19:35:51 +00:00
proto_item_append_text ( item , " : (No values set) " ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
if ( flags & ( ~ 0x8100f331 ) ) {
flags & = ( ~ 0x8100f331 ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( item , " Unknown bitmap value 0x%x " , flags ) ;
}
return offset ;
}
/* IDL: bitmap { */
/* IDL: DNS_RPC_USE_TCPIP = 0x00000001 , */
/* IDL: DNS_RPC_USE_NAMED_PIPE = 0x00000002 , */
/* IDL: DNS_RPC_USE_LPC = 0x00000004 , */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_bitmap_DNS_RPC_PROTOCOLS ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * parent_tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
2016-06-15 19:35:51 +00:00
proto_item * item ;
2020-06-19 01:14:46 +00:00
static int * const dnsserver_DNS_RPC_PROTOCOLS_fields [ ] = {
2016-06-15 19:35:51 +00:00
& hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_TCPIP ,
& hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_NAMED_PIPE ,
& hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_LPC ,
2016-06-18 01:46:11 +00:00
NULL
2016-06-15 19:35:51 +00:00
} ;
2008-08-06 06:45:44 +00:00
guint32 flags ;
ALIGN_TO_4_BYTES ;
2016-06-15 19:35:51 +00:00
item = proto_tree_add_bitmask_with_flags ( parent_tree , tvb , offset , hf_index ,
ett_dnsserver_DNS_RPC_PROTOCOLS , dnsserver_DNS_RPC_PROTOCOLS_fields , DREP_ENC_INTEGER ( drep ) , BMT_NO_FALSE ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , parent_tree , di , drep , - 1 , & flags ) ;
2008-08-06 06:45:44 +00:00
if ( ! flags )
2016-06-15 19:35:51 +00:00
proto_item_append_text ( item , " : (No values set) " ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
if ( flags & ( ~ 0x00000007 ) ) {
flags & = ( ~ 0x00000007 ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( item , " Unknown bitmap value 0x%x " , flags ) ;
}
return offset ;
}
/* IDL: enum { */
/* IDL: DNS_ALLOW_RFC_NAMES_ONLY=0x00000000, */
/* IDL: DNS_ALLOW_NONRFC_NAMES=0x00000001, */
/* IDL: DNS_ALLOW_MULTIBYTE_NAMES=0x00000002, */
/* IDL: DNS_ALLOW_ALL_NAMES=0x00000003, */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 * param _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 parameter = 0 ;
2014-11-03 23:03:01 +00:00
if ( param ) {
parameter = * param ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_index , & parameter ) ;
2014-11-03 23:03:01 +00:00
if ( param ) {
* param = parameter ;
2008-08-06 06:45:44 +00:00
}
return offset ;
}
/* IDL: enum { */
/* IDL: DNS_TYPE_ZERO=0x0000, */
/* IDL: DNS_TYPE_A=0x0001, */
/* IDL: DNS_TYPE_NS=0x0002, */
/* IDL: DNS_TYPE_MD=0x0003, */
/* IDL: DNS_TYPE_MF=0x0004, */
/* IDL: DNS_TYPE_CNAME=0x0005, */
/* IDL: DNS_TYPE_SOA=0x0006, */
/* IDL: DNS_TYPE_MB=0x0007, */
/* IDL: DNS_TYPE_MG=0x0008, */
/* IDL: DNS_TYPE_MR=0x0009, */
/* IDL: DNS_TYPE_NULL=0x000a, */
/* IDL: DNS_TYPE_WKS=0x000b, */
/* IDL: DNS_TYPE_PTR=0x000c, */
/* IDL: DNS_TYPE_HINFO=0x000d, */
/* IDL: DNS_TYPE_MINFO=0x000e, */
/* IDL: DNS_TYPE_MX=0x000f, */
/* IDL: DNS_TYPE_TXT=0x0010, */
/* IDL: DNS_TYPE_RP=0x0011, */
/* IDL: DNS_TYPE_AFSDB=0x0012, */
/* IDL: DNS_TYPE_X25=0x0013, */
/* IDL: DNS_TYPE_ISDN=0x0014, */
/* IDL: DNS_TYPE_RT=0x0015, */
/* IDL: DNS_TYPE_NSAP=0x0016, */
/* IDL: DNS_TYPE_NSAPPTR=0x0017, */
/* IDL: DNS_TYPE_SIG=0x0018, */
/* IDL: DNS_TYPE_KEY=0x0019, */
/* IDL: DNS_TYPE_PX=0x001a, */
/* IDL: DNS_TYPE_GPOS=0x001b, */
/* IDL: DNS_TYPE_AAAA=0x001c, */
/* IDL: DNS_TYPE_LOC=0x001d, */
/* IDL: DNS_TYPE_NXT=0x001e, */
/* IDL: DNS_TYPE_SRV=0x0021, */
/* IDL: DNS_TYPE_ATMA=0x0022, */
/* IDL: DNS_TYPE_NAPTR=0x0023, */
/* IDL: DNS_TYPE_DNAME=0x0024, */
/* IDL: DNS_TYPE_ALL=0x00ff, */
/* IDL: DNS_TYPE_WINS=0xff01, */
/* IDL: DNS_TYPE_WINSR=0xff02, */
/* IDL: } */
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint16 * param _U_ )
2008-08-06 06:45:44 +00:00
{
guint16 parameter = 0 ;
2014-11-03 23:03:01 +00:00
if ( param ) {
parameter = * param ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint16 ( tvb , offset , pinfo , tree , di , drep , hf_index , & parameter ) ;
2014-11-03 23:03:01 +00:00
if ( param ) {
* param = parameter ;
2008-08-06 06:45:44 +00:00
}
return offset ;
}
/* IDL: bitmap { */
/* IDL: DNS_RPC_VIEW_AUTHORITY_DATA = 0x00000001 , */
/* IDL: DNS_RPC_VIEW_CACHE_DATA = 0x00000002 , */
/* IDL: DNS_RPC_VIEW_GLUE_DATA = 0x00000004 , */
/* IDL: DNS_RPC_VIEW_ROOT_HINT_DATA = 0x00000008 , */
/* IDL: DNS_RPC_VIEW_ADDITIONAL_DATA = 0x00000010 , */
/* IDL: DNS_RPC_VIEW_NO_CHILDREN = 0x00010000 , */
/* IDL: DNS_RPC_VIEW_ONLY_CHILDREN = 0x00020000 , */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_bitmap_DNS_SELECT_FLAGS ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * parent_tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
2016-06-15 19:35:51 +00:00
proto_item * item ;
2020-06-19 01:14:46 +00:00
static int * const dnsserver_DNS_SELECT_FLAGS_fields [ ] = {
2016-06-15 19:35:51 +00:00
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_AUTHORITY_DATA ,
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_CACHE_DATA ,
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_GLUE_DATA ,
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ROOT_HINT_DATA ,
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ADDITIONAL_DATA ,
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_NO_CHILDREN ,
& hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ONLY_CHILDREN ,
2016-06-18 01:46:11 +00:00
NULL
2016-06-15 19:35:51 +00:00
} ;
2008-08-06 06:45:44 +00:00
guint32 flags ;
ALIGN_TO_4_BYTES ;
2016-06-15 19:35:51 +00:00
item = proto_tree_add_bitmask_with_flags ( parent_tree , tvb , offset , hf_index ,
ett_dnsserver_DNS_SELECT_FLAGS , dnsserver_DNS_SELECT_FLAGS_fields , DREP_ENC_INTEGER ( drep ) , BMT_NO_FALSE ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , parent_tree , di , drep , - 1 , & flags ) ;
2008-08-06 06:45:44 +00:00
if ( ! flags )
2016-06-15 19:35:51 +00:00
proto_item_append_text ( item , " : (No values set) " ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
if ( flags & ( ~ 0x0003001f ) ) {
flags & = ( ~ 0x0003001f ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( item , " Unknown bitmap value 0x%x " , flags ) ;
}
return offset ;
}
/* IDL: bitmap { */
/* IDL: DNS_RPC_FLAG_CACHE_DATA = 0x80000000 , */
/* IDL: DNS_RPC_FLAG_ZONE_ROOT = 0x40000000 , */
/* IDL: DNS_RPC_FLAG_AUTH_ZONE_ROOT = 0x20000000 , */
/* IDL: DNS_RPC_FLAG_ZONE_DELEGATION = 0x10000000 , */
/* IDL: DNS_RPC_FLAG_RECOR_DEFAULT_TTL = 0x08000000 , */
/* IDL: DNS_RPC_FLAG_RECORD_TTL_CHANGE = 0x04000000 , */
/* IDL: DNS_RPC_FLAG_RECORD_CREATE_PTR = 0x02000000 , */
/* IDL: DNS_RPC_FLAG_NODE_STICKY = 0x01000000 , */
/* IDL: DNS_RPC_FLAG_NODE_COMPLETE = 0x00800000 , */
/* IDL: DNS_RPC_FLAG_OPEN_ACL = 0x00040000 , */
/* IDL: DNS_RPC_FLAG_AGING_ON = 0x00020000 , */
/* IDL: DNS_RPC_FLAG_SUPPRESS_NOTIFY = 0x00010000 , */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_bitmap_DNS_RPC_NODE_FLAGS ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * parent_tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
2016-06-15 19:35:51 +00:00
proto_item * item ;
2020-06-19 01:14:46 +00:00
static int * const dnsserver_DNS_RPC_NODE_FLAGS_fields [ ] = {
2016-06-15 19:35:51 +00:00
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_CACHE_DATA ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_ROOT ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AUTH_ZONE_ROOT ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_DELEGATION ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECOR_DEFAULT_TTL ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_TTL_CHANGE ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_CREATE_PTR ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_STICKY ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_COMPLETE ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_OPEN_ACL ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AGING_ON ,
& hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_SUPPRESS_NOTIFY ,
2016-06-18 01:46:11 +00:00
NULL
2016-06-15 19:35:51 +00:00
} ;
2008-08-06 06:45:44 +00:00
guint32 flags ;
ALIGN_TO_4_BYTES ;
2016-06-15 19:35:51 +00:00
item = proto_tree_add_bitmask_with_flags ( parent_tree , tvb , offset , hf_index ,
ett_dnsserver_DNS_RPC_NODE_FLAGS , dnsserver_DNS_RPC_NODE_FLAGS_fields , DREP_ENC_INTEGER ( drep ) , BMT_NO_FALSE ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , parent_tree , di , drep , - 1 , & flags ) ;
2008-08-06 06:45:44 +00:00
if ( ! flags )
2016-06-15 19:35:51 +00:00
proto_item_append_text ( item , " : (No values set) " ) ;
2008-08-06 06:45:44 +00:00
2016-06-15 19:35:51 +00:00
if ( flags & ( ~ 0xff870000 ) ) {
flags & = ( ~ 0xff870000 ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( item , " Unknown bitmap value 0x%x " , flags ) ;
}
return offset ;
}
/* IDL: struct { */
/* IDL: uint8 NameLength; */
/* IDL: uint8 Name[NameLength]; */
/* IDL: } */
/* IDL: struct { */
/* IDL: DNS_RPC_NAME Name; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_NODE_NAME_Name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_NAME ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_NODE_NAME_Name , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RPC_RECORD_NODE_NAME ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_NODE_NAME_Name ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: union { */
/* IDL: [case(2)] [case(2)] DNS_RPC_RECORD_NODE_NAME NodeName; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_UNION_NodeName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_RECORD_NODE_NAME ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_UNION_NodeName , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DNS_RPC_RECORD_UNION ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * parent_tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
guint32 level ;
old_offset = offset ;
if ( parent_tree ) {
2014-09-20 02:23:27 +00:00
tree = proto_tree_add_subtree ( parent_tree , tvb , offset , - 1 , ett_dnsserver_DNS_RPC_RECORD_UNION , & item , " DNS_RPC_RECORD_UNION " ) ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_index , & level ) ;
2008-08-06 06:45:44 +00:00
switch ( level ) {
case 2 :
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_UNION_NodeName ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
break ;
}
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: struct { */
/* IDL: uint16 DataLength; */
/* IDL: DNS_RECORD_TYPE Type; */
/* IDL: uint32 Flags; */
/* IDL: uint32 Serial; */
/* IDL: uint32 TtlSeconds; */
/* IDL: uint32 TimeStamp; */
/* IDL: uint32 reserved; */
/* IDL: [switch_is(Type)] DNS_RPC_RECORD_UNION record; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_DataLength ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint16 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_DataLength , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_Type ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , guint16 * Type )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DNS_RECORD_TYPE ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_Type , Type ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_Flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_Flags , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_Serial ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_Serial , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_TtlSeconds ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_TtlSeconds , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_TimeStamp ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_TimeStamp , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_reserved ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_reserved , 0 ) ;
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
return offset ;
}
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_RECORD_record ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , guint16 * Type )
2008-08-06 06:45:44 +00:00
{
2014-09-18 04:10:51 +00:00
offset = dnsserver_dissect_DNS_RPC_RECORD_UNION ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_RECORD_record , * Type ) ;
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
return offset ;
2002-09-11 23:59:13 +00:00
}
2008-08-06 06:45:44 +00:00
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2002-09-11 23:59:13 +00:00
{
2014-10-05 17:27:15 +00:00
guint16 Type = 0 ;
2008-08-06 06:45:44 +00:00
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
ALIGN_TO_4_BYTES ;
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RPC_RECORD ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_DataLength ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_Type ( tvb , offset , pinfo , tree , di , drep , & Type ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_Flags ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_Serial ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_TtlSeconds ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_TimeStamp ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_reserved ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_RECORD_record ( tvb , offset , pinfo , tree , di , drep , & Type ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
if ( di - > call_data - > flags & DCERPC_IS_NDR64 ) {
ALIGN_TO_4_BYTES ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
2002-09-11 23:59:13 +00:00
2008-08-06 06:45:44 +00:00
/* IDL: struct { */
/* IDL: uint16 Length; */
/* IDL: uint16 RecordCount; */
/* IDL: DNS_RPC_NODE_FLAGS Flags; */
/* IDL: uint32 Childcount; */
/* IDL: DNS_RPC_NAME NodeName; */
/* IDL: DNS_RPC_RECORD records[RecordCount]; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_Length ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint16 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NODE_Length , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_Flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_bitmap_DNS_RPC_NODE_FLAGS ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NODE_Flags , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_Childcount ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NODE_Childcount , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_NodeName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_NAME ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NODE_NodeName , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_NODE_records_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_RECORD ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_NODE_records , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
ALIGN_TO_4_BYTES ;
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RPC_NODE ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_Length ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_RecordCount ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_Flags ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_Childcount ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_NodeName ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_NODE_records ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
if ( di - > call_data - > flags & DCERPC_IS_NDR64 ) {
ALIGN_TO_4_BYTES ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: struct { */
/* IDL: uint32 AddrCount; */
/* IDL: [size_is(AddrCount)] uint32 AddrArray[*]; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_IP4_ARRAY_AddrCount ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_IP4_ARRAY_AddrCount , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_IP4_ARRAY_AddrArray ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_ucarray ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_IP4_ARRAY_AddrArray_ ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_IP4_ARRAY_AddrArray_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_IP4_ARRAY_AddrArray , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
ALIGN_TO_4_BYTES ;
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_IP4_ARRAY ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_IP4_ARRAY_AddrCount ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_IP4_ARRAY_AddrArray ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
if ( di - > call_data - > flags & DCERPC_IS_NDR64 ) {
ALIGN_TO_4_BYTES ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: struct { */
/* IDL: uint32 RpcStructureVersion; */
/* IDL: uint32 reserved0; */
/* IDL: DNS_RPC_VERSION Version; */
/* IDL: DNS_RPC_BOOT_METHOD BootMethod; */
/* IDL: uint8 AdminConfigured; */
/* IDL: uint8 AllowUpdate; */
/* IDL: uint8 DsAvailable; */
/* IDL: [unique(1)] uint8 *ServerName; */
2014-11-03 23:03:01 +00:00
/* IDL: [charset(UTF16)] [unique(1)] uint16 *DsContainer; */
2008-08-06 06:45:44 +00:00
/* IDL: [unique(1)] IP4_ARRAY *ServerAddrs; */
/* IDL: [unique(1)] IP4_ARRAY *ListenAddrs; */
/* IDL: [unique(1)] IP4_ARRAY *Forwarders; */
/* IDL: [unique(1)] IP4_ARRAY *LogFilter; */
2014-11-03 23:03:01 +00:00
/* IDL: [charset(UTF16)] [unique(1)] uint16 *LogFilePath; */
2008-08-06 06:45:44 +00:00
/* IDL: [unique(1)] uint8 *DomainName; */
/* IDL: [unique(1)] uint8 *ForestName; */
/* IDL: [unique(1)] uint8 *DomainDirectoryPartition; */
/* IDL: [unique(1)] uint8 *ForestDirectoryPartition; */
/* IDL: [unique(1)] uint8 *extension0; */
/* IDL: [unique(1)] uint8 *extension1; */
/* IDL: [unique(1)] uint8 *extension2; */
/* IDL: [unique(1)] uint8 *extension3; */
/* IDL: [unique(1)] uint8 *extension4; */
/* IDL: [unique(1)] uint8 *extension5; */
/* IDL: DNS_LOG_LEVELS LogLevel; */
/* IDL: uint32 DebugLevel; */
/* IDL: uint32 ForwardTimeout; */
/* IDL: DNS_RPC_PROTOCOLS RpcProtocol; */
/* IDL: DNS_NAME_CHECK_FLAGS NameCheckFlag; */
/* IDL: uint32 AddressAnswerLimit; */
/* IDL: uint32 RecursionRetry; */
/* IDL: uint32 RecursionTimeout; */
/* IDL: uint32 MaxCacheTtl; */
/* IDL: uint32 DsPollingInterval; */
/* IDL: uint32 LocalNetPriorityNetmask; */
/* IDL: uint32 ScavengingInterval; */
/* IDL: uint32 DefaultRefreshInterval; */
/* IDL: uint32 DefaultNoRefreshInterval; */
/* IDL: uint32 LastScavengeTime; */
/* IDL: uint32 EventLogLevel; */
/* IDL: uint32 LogFileMaxSize; */
/* IDL: uint32 DsForestVersion; */
/* IDL: uint32 DsDomainVersion; */
/* IDL: uint32 DsDsaVersion; */
/* IDL: uint32 reserve_array[4]; */
/* IDL: uint8 AutoReverseZones; */
/* IDL: uint8 AutoCacheUpdate; */
/* IDL: uint8 RecurseAfterForwarding; */
/* IDL: uint8 ForwardDelegations; */
/* IDL: uint8 NoRecursion; */
/* IDL: uint8 SecureResponses; */
/* IDL: uint8 RoundRobin; */
/* IDL: uint8 LocalNetPriority; */
/* IDL: uint8 BindSecondaries; */
/* IDL: uint8 WriteAuthorityNs; */
/* IDL: uint8 StrictFileParsing; */
/* IDL: uint8 LooseWildcarding; */
/* IDL: uint8 DefaultAgingState; */
/* IDL: uint8 reserve_array2[15]; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserved0 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserved0 , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Version ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_VERSION ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Version , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_BootMethod ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DNS_RPC_BOOT_METHOD ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_BootMethod , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AdminConfigured ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AdminConfigured , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AllowUpdate ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AllowUpdate , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsAvailable ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsAvailable , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerName_ , NDR_POINTER_UNIQUE , " Pointer to ServerName (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerName ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerName_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerName , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsContainer ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsContainer_ , NDR_POINTER_UNIQUE , " Pointer to DsContainer (uint16) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsContainer ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsContainer_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint16 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsContainer , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs_ , NDR_POINTER_UNIQUE , " Pointer to ServerAddrs (IP4_ARRAY) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_IP4_ARRAY ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs_ , NDR_POINTER_UNIQUE , " Pointer to ListenAddrs (IP4_ARRAY) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_IP4_ARRAY ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Forwarders ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Forwarders_ , NDR_POINTER_UNIQUE , " Pointer to Forwarders (IP4_ARRAY) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Forwarders ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Forwarders_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_IP4_ARRAY ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Forwarders , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilter ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilter_ , NDR_POINTER_UNIQUE , " Pointer to LogFilter (IP4_ARRAY) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilter ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilter_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_IP4_ARRAY ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilter , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath_ , NDR_POINTER_UNIQUE , " Pointer to LogFilePath (uint16) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint16 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainName_ , NDR_POINTER_UNIQUE , " Pointer to DomainName (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainName ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainName_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainName , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestName ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestName_ , NDR_POINTER_UNIQUE , " Pointer to ForestName (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestName ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestName_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestName , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition_ , NDR_POINTER_UNIQUE , " Pointer to DomainDirectoryPartition (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition_ , NDR_POINTER_UNIQUE , " Pointer to ForestDirectoryPartition (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension0 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension0_ , NDR_POINTER_UNIQUE , " Pointer to Extension0 (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension0_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension0 , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension1 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension1_ , NDR_POINTER_UNIQUE , " Pointer to Extension1 (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension1 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension1_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension1 , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension2 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension2_ , NDR_POINTER_UNIQUE , " Pointer to Extension2 (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension2 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension2_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension2 , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension3 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension3_ , NDR_POINTER_UNIQUE , " Pointer to Extension3 (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension3 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension3_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension3 , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension4 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension4_ , NDR_POINTER_UNIQUE , " Pointer to Extension4 (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension4 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension4_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension4 , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension5 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension5_ , NDR_POINTER_UNIQUE , " Pointer to Extension5 (uint8) " , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension5 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension5_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension5 , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogLevel ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_bitmap_DNS_LOG_LEVELS ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogLevel , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DebugLevel ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DebugLevel , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForwardTimeout ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForwardTimeout , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcProtocol ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_bitmap_DNS_RPC_PROTOCOLS ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RpcProtocol , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_NameCheckFlag ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DNS_NAME_CHECK_FLAGS ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_NameCheckFlag , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AddressAnswerLimit ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AddressAnswerLimit , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecursionRetry ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecursionRetry , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecursionTimeout ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecursionTimeout , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_MaxCacheTtl ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_MaxCacheTtl , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsPollingInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsPollingInterval , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriorityNetmask ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriorityNetmask , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ScavengingInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ScavengingInterval , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultRefreshInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultRefreshInterval , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultNoRefreshInterval ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultNoRefreshInterval , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LastScavengeTime ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LastScavengeTime , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_EventLogLevel ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_EventLogLevel , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFileMaxSize ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFileMaxSize , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsForestVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsForestVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsDomainVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsDomainVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsDsaVersion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsDsaVersion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
int i ;
for ( i = 0 ; i < 4 ; i + + )
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array_ ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserve_array , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AutoReverseZones ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AutoReverseZones , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AutoCacheUpdate ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AutoCacheUpdate , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecurseAfterForwarding ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecurseAfterForwarding , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForwardDelegations ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForwardDelegations , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_NoRecursion ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_NoRecursion , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_SecureResponses ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_SecureResponses , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RoundRobin ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RoundRobin , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriority ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriority , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_BindSecondaries ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_BindSecondaries , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_WriteAuthorityNs ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_WriteAuthorityNs , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_StrictFileParsing ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_StrictFileParsing , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LooseWildcarding ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LooseWildcarding , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultAgingState ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultAgingState , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2 ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
int i ;
for ( i = 0 ; i < 15 ; i + + )
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2_ ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2 , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
2013-11-03 16:17:35 +00:00
ALIGN_TO_5_BYTES ;
2008-08-06 06:45:44 +00:00
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RPC_SERVER_INFO_DOTNET ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserved0 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Version ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_BootMethod ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AdminConfigured ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AllowUpdate ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsAvailable ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerName ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsContainer ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_Forwarders ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilter ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainName ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestName ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension0 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension1 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension2 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension3 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension4 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_extension5 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogLevel ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DebugLevel ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForwardTimeout ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RpcProtocol ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_NameCheckFlag ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AddressAnswerLimit ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecursionRetry ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecursionTimeout ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_MaxCacheTtl ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsPollingInterval ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriorityNetmask ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ScavengingInterval ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultRefreshInterval ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultNoRefreshInterval ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LastScavengeTime ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_EventLogLevel ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LogFileMaxSize ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsForestVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsDomainVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DsDsaVersion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AutoReverseZones ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_AutoCacheUpdate ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RecurseAfterForwarding ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_ForwardDelegations ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_NoRecursion ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_SecureResponses ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_RoundRobin ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriority ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_BindSecondaries ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_WriteAuthorityNs ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_StrictFileParsing ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_LooseWildcarding ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_DefaultAgingState ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2 ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
if ( di - > call_data - > flags & DCERPC_IS_NDR64 ) {
ALIGN_TO_5_BYTES ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: enum { */
/* IDL: DNSSRV_TYPEID_NULL=0, */
/* IDL: DNSSRV_TYPEID_DWORD=1, */
/* IDL: DNSSRV_TYPEID_LPSTR=2, */
/* IDL: DNSSRV_TYPEID_LPWSTR=3, */
/* IDL: DNSSRV_TYPEID_IPARRAY=4, */
/* IDL: DNSSRV_TYPEID_BUFFER=5, */
/* IDL: DNSSRV_TYPEID_SERVER_INFO_W2K=6, */
/* IDL: DNSSRV_TYPEID_STATS=7, */
/* IDL: DNSSRV_TYPEID_FORWARDERS_W2K=8, */
/* IDL: DNSSRV_TYPEID_ZONE_W2K=9, */
/* IDL: DNSSRV_TYPEID_ZONE_INFO_W2K=10, */
/* IDL: DNSSRV_TYPEID_ZONE_SECONDARIES_W2K=11, */
/* IDL: DNSSRV_TYPEID_ZONE_DATABASE_W2K=12, */
/* IDL: DNSSRV_TYPEID_ZONE_TYPE_RESET_W2K=13, */
/* IDL: DNSSRV_TYPEID_ZONE_CREATE_W2K=14, */
/* IDL: DNSSRV_TYPEID_NAME_AND_PARAM=15, */
/* IDL: DNSSRV_TYPEID_ZONE_LIST_W2K=16, */
/* IDL: DNSSRV_TYPEID_ZONE_RENAME=17, */
/* IDL: DNSSRV_TYPEID_ZONE_EXPORT=18, */
/* IDL: DNSSRV_TYPEID_SERVER_INFO_DOTNET=19, */
/* IDL: DNSSRV_TYPEID_FORWARDERS_DOTNET=20, */
/* IDL: DNSSRV_TYPEID_ZONE=21, */
/* IDL: DNSSRV_TYPEID_ZONE_INFO_DOTNET=22, */
/* IDL: DNSSRV_TYPEID_ZONE_SECONDARIES_DOTNET=23, */
/* IDL: DNSSRV_TYPEID_ZONE_DATABASE=24, */
/* IDL: DNSSRV_TYPEID_ZONE_TYPE_RESET_DOTNET=25, */
/* IDL: DNSSRV_TYPEID_ZONE_CREATE_DOTNET=26, */
/* IDL: DNSSRV_TYPEID_ZONE_LIST=27, */
/* IDL: DNSSRV_TYPEID_DP_ENUM=28, */
/* IDL: DNSSRV_TYPEID_DP_INFO=29, */
/* IDL: DNSSRV_TYPEID_DP_LIST=30, */
/* IDL: DNSSRV_TYPEID_ENLIST_DP=31, */
/* IDL: DNSSRV_TYPEID_ZONE_CHANGE_DP=32, */
/* IDL: DNSSRV_TYPEID_ENUM_ZONES_FILTER=33, */
/* IDL: DNSSRV_TYPEID_ADDARRAY=34, */
/* IDL: DNSSRV_TYPEID_SERVER_INFO=35, */
/* IDL: DNSSRV_TYPEID_ZONE_INFO=36, */
/* IDL: DNSSRV_TYPEID_FORWARDERS=37, */
/* IDL: DNSSRV_TYPEID_ZONE_SECONDARIES=38, */
/* IDL: DNSSRV_TYPEID_ZONE_TYPE_RESET=39, */
/* IDL: DNSSRV_TYPEID_ZONE_CREATE=40, */
/* IDL: DNSSRV_TYPEID_IP_VALIDATE=41, */
/* IDL: DNSSRV_TYPEID_AUTOCONFIGURE=42, */
/* IDL: DNSSRV_TYPEID_UTF8_STRING_LIST=43, */
/* IDL: DNSSRV_TYPEID_UNICODE_STRING_LIST=44, */
/* IDL: } */
int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_enum_DnssrvRpcTypeId ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 * param _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 parameter = 0 ;
2014-11-03 23:03:01 +00:00
if ( param ) {
parameter = * param ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_index , & parameter ) ;
2014-11-03 23:03:01 +00:00
if ( param ) {
* param = parameter ;
2008-08-06 06:45:44 +00:00
}
return offset ;
}
/* IDL: union { */
2014-11-03 23:03:01 +00:00
/* IDL: [case(DNSSRV_TYPEID_NULL)] [case(DNSSRV_TYPEID_NULL)] [unique(1)] uint8 *null; */
2008-08-06 06:45:44 +00:00
/* IDL: [case(DNSSRV_TYPEID_DWORD)] [case(DNSSRV_TYPEID_DWORD)] uint32 dword; */
2014-11-03 23:03:01 +00:00
/* IDL: [case(DNSSRV_TYPEID_SERVER_INFO_DOTNET)] [case(DNSSRV_TYPEID_SERVER_INFO_DOTNET)] [unique(1)] DNS_RPC_SERVER_INFO_DOTNET *ServerInfoDotnet; */
2008-08-06 06:45:44 +00:00
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNSSRV_RPC_UNION_null ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNSSRV_RPC_UNION_null_ , NDR_POINTER_UNIQUE , " Pointer to Null (uint8) " , hf_dnsserver_DNSSRV_RPC_UNION_null ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNSSRV_RPC_UNION_null_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint8 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNSSRV_RPC_UNION_null , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNSSRV_RPC_UNION_dword ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNSSRV_RPC_UNION_dword , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNSSRV_RPC_UNION_ServerInfoDotnet ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2016-05-11 13:41:02 +00:00
offset = dissect_ndr_embedded_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DNSSRV_RPC_UNION_ServerInfoDotnet_ , NDR_POINTER_UNIQUE , " Pointer to ServerInfoDotnet (DNS_RPC_SERVER_INFO_DOTNET) " , hf_dnsserver_DNSSRV_RPC_UNION_ServerInfoDotnet ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNSSRV_RPC_UNION_ServerInfoDotnet_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_SERVER_INFO_DOTNET ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNSSRV_RPC_UNION_ServerInfoDotnet , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DNSSRV_RPC_UNION ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * parent_tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
guint32 level ;
old_offset = offset ;
if ( parent_tree ) {
2014-09-20 02:23:27 +00:00
tree = proto_tree_add_subtree ( parent_tree , tvb , offset , - 1 , ett_dnsserver_DNSSRV_RPC_UNION , & item , " DNSSRV_RPC_UNION " ) ;
2008-08-06 06:45:44 +00:00
}
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_index , & level ) ;
2013-11-03 16:17:35 +00:00
ALIGN_TO_5_BYTES ;
2008-08-06 06:45:44 +00:00
switch ( level ) {
case DNSSRV_TYPEID_NULL :
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNSSRV_RPC_UNION_null ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
break ;
case DNSSRV_TYPEID_DWORD :
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNSSRV_RPC_UNION_dword ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
break ;
case DNSSRV_TYPEID_SERVER_INFO_DOTNET :
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNSSRV_RPC_UNION_ServerInfoDotnet ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
break ;
}
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: struct { */
/* IDL: DNS_RPC_NODE rpc_node; */
/* IDL: } */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DNS_RECORD_BUFFER_rpc_node ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_NODE ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DNS_RECORD_BUFFER_rpc_node , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
int
2016-05-02 19:02:21 +00:00
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_ , guint8 * drep _U_ , int hf_index _U_ , guint32 param _U_ )
2008-08-06 06:45:44 +00:00
{
proto_item * item = NULL ;
proto_tree * tree = NULL ;
int old_offset ;
ALIGN_TO_4_BYTES ;
old_offset = offset ;
if ( parent_tree ) {
2013-11-03 16:17:35 +00:00
item = proto_tree_add_item ( parent_tree , hf_index , tvb , offset , - 1 , ENC_NA ) ;
2008-08-06 06:45:44 +00:00
tree = proto_item_add_subtree ( item , ett_dnsserver_DNS_RECORD_BUFFER ) ;
}
2016-02-11 18:44:47 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DNS_RECORD_BUFFER_rpc_node ( tvb , offset , pinfo , tree , di , drep ) ;
2008-08-06 06:45:44 +00:00
proto_item_set_len ( item , offset - old_offset ) ;
2013-11-03 16:17:35 +00:00
if ( di - > call_data - > flags & DCERPC_IS_NDR64 ) {
ALIGN_TO_4_BYTES ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvOperation( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvOperation_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvOperation " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvOperation_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvOperation " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvQuery( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvQuery_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvQuery " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvQuery_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvQuery " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvComplexOperation( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvComplexOperation_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvComplexOperation " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvComplexOperation_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvComplexOperation " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvEnumRecords( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvEnumRecords_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvEnumRecords " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvEnumRecords_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvEnumRecords " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvUpdateRecord( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvUpdateRecord_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvUpdateRecord " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvUpdateRecord_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvUpdateRecord " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvOperation2( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvOperation2_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvOperation2 " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvOperation2_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvOperation2 " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_client_version ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DNS_RPC_CLIENT_VERSION ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvQuery2_client_version , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_setting_flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvQuery2_setting_flags , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_server_name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvQuery2_server_name_ , NDR_POINTER_UNIQUE , " Pointer to Server Name (uint16) " , hf_dnsserver_DnssrvQuery2_server_name ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_server_name_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint16 ) , hf_dnsserver_DnssrvQuery2_server_name , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_zone ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvQuery2_zone_ , NDR_POINTER_UNIQUE , " Pointer to Zone (uint8) " , hf_dnsserver_DnssrvQuery2_zone ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_zone_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvQuery2_zone , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_operation ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvQuery2_operation_ , NDR_POINTER_UNIQUE , " Pointer to Operation (uint8) " , hf_dnsserver_DnssrvQuery2_operation ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_operation_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvQuery2_operation , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_type_id ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvQuery2_type_id_ , NDR_POINTER_REF , " Pointer to Type Id (DnssrvRpcTypeId) " , hf_dnsserver_DnssrvQuery2_type_id ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_type_id_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DnssrvRpcTypeId ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvQuery2_type_id , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_data ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvQuery2_data_ , NDR_POINTER_REF , " Pointer to Data (DNSSRV_RPC_UNION) " , hf_dnsserver_DnssrvQuery2_data ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvQuery2_data_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_DNSSRV_RPC_UNION ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvQuery2_data , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvQuery2( */
/* IDL: [in] DNS_RPC_CLIENT_VERSION client_version, */
/* IDL: [in] uint32 setting_flags, */
2014-11-03 23:03:01 +00:00
/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_name, */
/* IDL: [in] [unique(1)] uint8 *zone, */
/* IDL: [in] [unique(1)] uint8 *operation, */
2008-08-06 06:45:44 +00:00
/* IDL: [out] [ref] DnssrvRpcTypeId *type_id, */
2014-09-27 01:27:30 +00:00
/* IDL: [out] [ref] [switch_is(*type_id)] DNSSRV_RPC_UNION *data */
2008-08-06 06:45:44 +00:00
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvQuery2_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvQuery2 " ;
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DnssrvQuery2_type_id ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DnssrvQuery2_data ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvQuery2_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvQuery2 " ;
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DnssrvQuery2_client_version ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvQuery2_setting_flags ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvQuery2_server_name ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvQuery2_zone ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvQuery2_operation ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvComplexOperation2( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvComplexOperation2_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvComplexOperation2 " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvComplexOperation2_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvComplexOperation2 " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_client_version ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DNS_RPC_CLIENT_VERSION ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_client_version , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_setting_flags ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_setting_flags , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_server_name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_server_name_ , NDR_POINTER_UNIQUE , " Pointer to Server Name (uint16) " , hf_dnsserver_DnssrvEnumRecords2_server_name ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_server_name_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint16 ) , hf_dnsserver_DnssrvEnumRecords2_server_name , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_zone ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_zone_ , NDR_POINTER_UNIQUE , " Pointer to Zone (uint8) " , hf_dnsserver_DnssrvEnumRecords2_zone ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_zone_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvEnumRecords2_zone , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_node_name ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_node_name_ , NDR_POINTER_UNIQUE , " Pointer to Node Name (uint8) " , hf_dnsserver_DnssrvEnumRecords2_node_name ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_node_name_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvEnumRecords2_node_name , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_start_child ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_start_child_ , NDR_POINTER_UNIQUE , " Pointer to Start Child (uint8) " , hf_dnsserver_DnssrvEnumRecords2_start_child ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_start_child_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvEnumRecords2_start_child , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_record_type ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_enum_DNS_RECORD_TYPE ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_record_type , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_select_flag ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_bitmap_DNS_SELECT_FLAGS ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_select_flag , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_filter_start ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_filter_start_ , NDR_POINTER_UNIQUE , " Pointer to Filter Start (uint8) " , hf_dnsserver_DnssrvEnumRecords2_filter_start ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_filter_start_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvEnumRecords2_filter_start , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_filter_stop ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_filter_stop_ , NDR_POINTER_UNIQUE , " Pointer to Filter Stop (uint8) " , hf_dnsserver_DnssrvEnumRecords2_filter_stop ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_filter_stop_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
char * data ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_cvstring ( tvb , offset , pinfo , tree , di , drep , sizeof ( guint8 ) , hf_dnsserver_DnssrvEnumRecords2_filter_stop , FALSE , & data ) ;
2008-08-06 06:45:44 +00:00
proto_item_append_text ( tree , " : %s " , data ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_buffer_length ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_buffer_length_ , NDR_POINTER_REF , " Pointer to Buffer Length (uint32) " , hf_dnsserver_DnssrvEnumRecords2_buffer_length ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_buffer_length_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = PIDL_dissect_uint32 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_buffer_length , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_toplevel_pointer ( tvb , offset , pinfo , tree , di , drep , dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer_ , NDR_POINTER_UNIQUE , " Pointer to Record Buffer (DNS_RPC_NODE) " , hf_dnsserver_DnssrvEnumRecords2_record_buffer ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer_ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-03 16:17:35 +00:00
guint3264 size ;
int conformant = di - > conformant_run ;
2008-08-06 06:45:44 +00:00
tvbuff_t * subtvb ;
2013-11-03 16:17:35 +00:00
if ( ! conformant ) {
guint32 saved_flags = di - > call_data - > flags ;
2013-11-06 14:31:29 +00:00
offset = dissect_ndr_uint3264 ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_record_buffer_ , & size ) ;
2013-11-03 16:17:35 +00:00
di - > call_data - > flags & = ~ DCERPC_IS_NDR64 ;
2017-01-10 06:18:49 +00:00
subtvb = tvb_new_subset_length_caplen ( tvb , offset , ( const gint ) size , - 1 ) ;
2013-11-06 14:31:29 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer__ ( subtvb , 0 , pinfo , tree , di , drep ) ;
2014-09-18 04:10:51 +00:00
offset + = ( int ) size ;
2013-11-03 16:17:35 +00:00
di - > call_data - > flags = saved_flags ;
}
2008-08-06 06:45:44 +00:00
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer__ ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_struct_DNS_RPC_NODE ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_DnssrvEnumRecords2_record_buffer , 0 ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvEnumRecords2( */
/* IDL: [in] DNS_RPC_CLIENT_VERSION client_version, */
/* IDL: [in] uint32 setting_flags, */
2014-11-03 23:03:01 +00:00
/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *server_name, */
/* IDL: [in] [unique(1)] uint8 *zone, */
/* IDL: [in] [unique(1)] uint8 *node_name, */
/* IDL: [in] [unique(1)] uint8 *start_child, */
2008-08-06 06:45:44 +00:00
/* IDL: [in] DNS_RECORD_TYPE record_type, */
/* IDL: [in] DNS_SELECT_FLAGS select_flag, */
2014-11-03 23:03:01 +00:00
/* IDL: [in] [unique(1)] uint8 *filter_start, */
/* IDL: [in] [unique(1)] uint8 *filter_stop, */
2008-08-06 06:45:44 +00:00
/* IDL: [out] [ref] uint32 *buffer_length, */
2014-11-03 23:03:01 +00:00
/* IDL: [out] [subcontext(4)] [unique(1)] DNS_RPC_NODE *record_buffer */
2008-08-06 06:45:44 +00:00
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvEnumRecords2_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvEnumRecords2 " ;
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DnssrvEnumRecords2_buffer_length ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DnssrvEnumRecords2_record_buffer ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
2008-08-06 06:45:44 +00:00
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvEnumRecords2_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvEnumRecords2 " ;
2013-11-06 14:31:29 +00:00
offset = dnsserver_dissect_element_DnssrvEnumRecords2_client_version ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_setting_flags ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_server_name ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_zone ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_node_name ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_start_child ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_record_type ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_select_flag ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_filter_start ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
offset = dnsserver_dissect_element_DnssrvEnumRecords2_filter_stop ( tvb , offset , pinfo , tree , di , drep ) ;
offset = dissect_deferred_pointers ( pinfo , tvb , offset , di , drep ) ;
2008-08-06 06:45:44 +00:00
return offset ;
}
/* IDL: NTSTATUS DnssrvUpdateRecord2( */
/* IDL: */
/* IDL: ); */
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvUpdateRecord2_response ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
guint32 status ;
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvUpdateRecord2 " ;
2013-11-06 14:31:29 +00:00
offset = dissect_ntstatus ( tvb , offset , pinfo , tree , di , drep , hf_dnsserver_status , & status ) ;
2008-08-06 06:45:44 +00:00
2013-10-01 14:45:03 +00:00
if ( status ! = 0 )
2008-08-06 06:45:44 +00:00
col_append_fstr ( pinfo - > cinfo , COL_INFO , " , Error: %s " , val_to_str ( status , NT_errors , " Unknown NT status 0x%08x " ) ) ;
return offset ;
}
static int
2016-05-02 19:02:21 +00:00
dnsserver_dissect_DnssrvUpdateRecord2_request ( tvbuff_t * tvb _U_ , int offset _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , dcerpc_info * di _U_ , guint8 * drep _U_ )
2008-08-06 06:45:44 +00:00
{
2013-11-24 20:55:55 +00:00
di - > dcerpc_procedure_name = " DnssrvUpdateRecord2 " ;
2008-08-06 06:45:44 +00:00
return offset ;
}
static dcerpc_sub_dissector dnsserver_dissectors [ ] = {
{ 0 , " DnssrvOperation " ,
dnsserver_dissect_DnssrvOperation_request , dnsserver_dissect_DnssrvOperation_response } ,
{ 1 , " DnssrvQuery " ,
dnsserver_dissect_DnssrvQuery_request , dnsserver_dissect_DnssrvQuery_response } ,
{ 2 , " DnssrvComplexOperation " ,
dnsserver_dissect_DnssrvComplexOperation_request , dnsserver_dissect_DnssrvComplexOperation_response } ,
{ 3 , " DnssrvEnumRecords " ,
dnsserver_dissect_DnssrvEnumRecords_request , dnsserver_dissect_DnssrvEnumRecords_response } ,
{ 4 , " DnssrvUpdateRecord " ,
dnsserver_dissect_DnssrvUpdateRecord_request , dnsserver_dissect_DnssrvUpdateRecord_response } ,
{ 5 , " DnssrvOperation2 " ,
dnsserver_dissect_DnssrvOperation2_request , dnsserver_dissect_DnssrvOperation2_response } ,
{ 6 , " DnssrvQuery2 " ,
dnsserver_dissect_DnssrvQuery2_request , dnsserver_dissect_DnssrvQuery2_response } ,
{ 7 , " DnssrvComplexOperation2 " ,
dnsserver_dissect_DnssrvComplexOperation2_request , dnsserver_dissect_DnssrvComplexOperation2_response } ,
{ 8 , " DnssrvEnumRecords2 " ,
dnsserver_dissect_DnssrvEnumRecords2_request , dnsserver_dissect_DnssrvEnumRecords2_response } ,
{ 9 , " DnssrvUpdateRecord2 " ,
dnsserver_dissect_DnssrvUpdateRecord2_request , dnsserver_dissect_DnssrvUpdateRecord2_response } ,
{ 0 , NULL , NULL , NULL }
} ;
void proto_register_dcerpc_dnsserver ( void )
{
static hf_register_info hf [ ] = {
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNSSRV_RPC_UNION_ServerInfoDotnet ,
2016-05-11 13:41:02 +00:00
{ " ServerInfoDotnet " , " dnsserver.DNSSRV_RPC_UNION.ServerInfoDotnet " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNSSRV_RPC_UNION_dword ,
2016-05-11 13:41:02 +00:00
{ " Dword " , " dnsserver.DNSSRV_RPC_UNION.dword " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNSSRV_RPC_UNION_null ,
2016-05-11 13:41:02 +00:00
{ " Null " , " dnsserver.DNSSRV_RPC_UNION.null " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-20 02:23:27 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_ANSWERS ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL ANSWERS " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_ANSWERS " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_ANSWERS_tfs ) , ( 0x00000200 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_FULL_PACKETS ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL FULL PACKETS " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_FULL_PACKETS " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_FULL_PACKETS_tfs ) , ( 0x01000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_NOTIFY ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL NOTIFY " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_NOTIFY " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_NOTIFY_tfs ) , ( 0x00000010 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUERY ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL QUERY " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_QUERY " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUERY_tfs ) , ( 0x00000001 ) , NULL , HFILL } } ,
2014-09-20 02:23:27 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUESTIONS ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL QUESTIONS " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_QUESTIONS " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_QUESTIONS_tfs ) , ( 0x00000100 ) , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_RECV ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL RECV " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_RECV " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_RECV_tfs ) , ( 0x00002000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_SEND ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL SEND " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_SEND " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_SEND_tfs ) , ( 0x00001000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_TCP ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL TCP " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_TCP " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_TCP_tfs ) , ( 0x00008000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_UDP ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL UDP " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_UDP " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_UDP_tfs ) , ( 0x00004000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_UPDATE ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL UPDATE " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_UPDATE " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_UPDATE_tfs ) , ( 0x00000020 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_LOG_LEVELS_DNS_LOG_LEVEL_WRITE_THROUGH ,
2016-05-11 13:41:02 +00:00
{ " DNS LOG LEVEL WRITE THROUGH " , " dnsserver.DNS_LOG_LEVELS.DNS_LOG_LEVEL_WRITE_THROUGH " , FT_BOOLEAN , 32 , TFS ( & DNS_LOG_LEVELS_DNS_LOG_LEVEL_WRITE_THROUGH_tfs ) , ( 0x80000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RECORD_BUFFER_rpc_node ,
2016-05-11 13:41:02 +00:00
{ " Rpc Node " , " dnsserver.DNS_RECORD_BUFFER.rpc_node " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NAME_Name ,
2016-05-11 13:41:02 +00:00
{ " Name " , " dnsserver.DNS_RPC_NAME.Name " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NAME_NameLength ,
2016-05-11 13:41:02 +00:00
{ " NameLength " , " dnsserver.DNS_RPC_NAME.NameLength " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-20 02:23:27 +00:00
{ & hf_dnsserver_DNS_RPC_NAME_name ,
2016-05-11 13:41:02 +00:00
{ " Name " , " dnsserver.DNS_RPC_NAME.name " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-09-20 02:23:27 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_Childcount ,
2016-05-11 13:41:02 +00:00
{ " Childcount " , " dnsserver.DNS_RPC_NODE.Childcount " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AGING_ON ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG AGING ON " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_AGING_ON " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AGING_ON_tfs ) , ( 0x00020000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AUTH_ZONE_ROOT ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG AUTH ZONE ROOT " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_AUTH_ZONE_ROOT " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_AUTH_ZONE_ROOT_tfs ) , ( 0x20000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_CACHE_DATA ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG CACHE DATA " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_CACHE_DATA " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_CACHE_DATA_tfs ) , ( 0x80000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_COMPLETE ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG NODE COMPLETE " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_NODE_COMPLETE " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_COMPLETE_tfs ) , ( 0x00800000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_STICKY ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG NODE STICKY " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_NODE_STICKY " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_NODE_STICKY_tfs ) , ( 0x01000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_OPEN_ACL ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG OPEN ACL " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_OPEN_ACL " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_OPEN_ACL_tfs ) , ( 0x00040000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_CREATE_PTR ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG RECORD CREATE PTR " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_RECORD_CREATE_PTR " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_CREATE_PTR_tfs ) , ( 0x02000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_TTL_CHANGE ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG RECORD TTL CHANGE " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_RECORD_TTL_CHANGE " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECORD_TTL_CHANGE_tfs ) , ( 0x04000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECOR_DEFAULT_TTL ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG RECOR DEFAULT TTL " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_RECOR_DEFAULT_TTL " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_RECOR_DEFAULT_TTL_tfs ) , ( 0x08000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_SUPPRESS_NOTIFY ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG SUPPRESS NOTIFY " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_SUPPRESS_NOTIFY " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_SUPPRESS_NOTIFY_tfs ) , ( 0x00010000 ) , NULL , HFILL } } ,
2014-09-20 02:23:27 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_DELEGATION ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG ZONE DELEGATION " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_ZONE_DELEGATION " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_DELEGATION_tfs ) , ( 0x10000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_ROOT ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC FLAG ZONE ROOT " , " dnsserver.DNS_RPC_NODE_FLAGS.DNS_RPC_FLAG_ZONE_ROOT " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_NODE_FLAGS_DNS_RPC_FLAG_ZONE_ROOT_tfs ) , ( 0x40000000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_Flags ,
2016-05-11 13:41:02 +00:00
{ " Flags " , " dnsserver.DNS_RPC_NODE.Flags " , FT_UINT32 , BASE_HEX , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_Length ,
2016-05-11 13:41:02 +00:00
{ " Length " , " dnsserver.DNS_RPC_NODE.Length " , FT_UINT16 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_NodeName ,
2016-05-11 13:41:02 +00:00
{ " NodeName " , " dnsserver.DNS_RPC_NODE.NodeName " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_RecordCount ,
2016-05-11 13:41:02 +00:00
{ " RecordCount " , " dnsserver.DNS_RPC_NODE.RecordCount " , FT_UINT16 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_NODE_records ,
2016-05-11 13:41:02 +00:00
{ " Records " , " dnsserver.DNS_RPC_NODE.records " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_LPC ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC USE LPC " , " dnsserver.DNS_RPC_PROTOCOLS.DNS_RPC_USE_LPC " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_PROTOCOLS_DNS_RPC_USE_LPC_tfs ) , ( 0x00000004 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_NAMED_PIPE ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC USE NAMED PIPE " , " dnsserver.DNS_RPC_PROTOCOLS.DNS_RPC_USE_NAMED_PIPE " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_PROTOCOLS_DNS_RPC_USE_NAMED_PIPE_tfs ) , ( 0x00000002 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_PROTOCOLS_DNS_RPC_USE_TCPIP ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC USE TCPIP " , " dnsserver.DNS_RPC_PROTOCOLS.DNS_RPC_USE_TCPIP " , FT_BOOLEAN , 32 , TFS ( & DNS_RPC_PROTOCOLS_DNS_RPC_USE_TCPIP_tfs ) , ( 0x00000001 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_DataLength ,
2016-05-11 13:41:02 +00:00
{ " DataLength " , " dnsserver.DNS_RPC_RECORD.DataLength " , FT_UINT16 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_Flags ,
2016-05-11 13:41:02 +00:00
{ " Flags " , " dnsserver.DNS_RPC_RECORD.Flags " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_NODE_NAME_Name ,
2016-05-11 13:41:02 +00:00
{ " Name " , " dnsserver.DNS_RPC_RECORD_NODE_NAME.Name " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_Serial ,
2016-05-11 13:41:02 +00:00
{ " Serial " , " dnsserver.DNS_RPC_RECORD.Serial " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_TimeStamp ,
2016-05-11 13:41:02 +00:00
{ " TimeStamp " , " dnsserver.DNS_RPC_RECORD.TimeStamp " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_TtlSeconds ,
2016-05-11 13:41:02 +00:00
{ " TtlSeconds " , " dnsserver.DNS_RPC_RECORD.TtlSeconds " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_Type ,
2016-05-11 13:41:02 +00:00
{ " Type " , " dnsserver.DNS_RPC_RECORD.Type " , FT_UINT16 , BASE_DEC , VALS ( dnsserver_DNS_RECORD_TYPE_vals ) , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_UNION_NodeName ,
2016-05-11 13:41:02 +00:00
{ " NodeName " , " dnsserver.DNS_RPC_RECORD_UNION.NodeName " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_record ,
2016-05-11 13:41:02 +00:00
{ " Record " , " dnsserver.DNS_RPC_RECORD.record " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-09-20 02:23:27 +00:00
{ & hf_dnsserver_DNS_RPC_RECORD_reserved ,
2016-05-11 13:41:02 +00:00
{ " Reserved " , " dnsserver.DNS_RPC_RECORD.reserved " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AddressAnswerLimit ,
2016-05-11 13:41:02 +00:00
{ " AddressAnswerLimit " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.AddressAnswerLimit " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AdminConfigured ,
2016-05-11 13:41:02 +00:00
{ " AdminConfigured " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.AdminConfigured " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AllowUpdate ,
2016-05-11 13:41:02 +00:00
{ " AllowUpdate " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.AllowUpdate " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AutoCacheUpdate ,
2016-05-11 13:41:02 +00:00
{ " AutoCacheUpdate " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.AutoCacheUpdate " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_AutoReverseZones ,
2016-05-11 13:41:02 +00:00
{ " AutoReverseZones " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.AutoReverseZones " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_BindSecondaries ,
2016-05-11 13:41:02 +00:00
{ " BindSecondaries " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.BindSecondaries " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_BootMethod ,
2016-05-11 13:41:02 +00:00
{ " BootMethod " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.BootMethod " , FT_UINT8 , BASE_DEC , VALS ( dnsserver_DNS_RPC_BOOT_METHOD_vals ) , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DebugLevel ,
2016-05-11 13:41:02 +00:00
{ " DebugLevel " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DebugLevel " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultAgingState ,
2016-05-11 13:41:02 +00:00
{ " DefaultAgingState " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DefaultAgingState " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultNoRefreshInterval ,
2016-05-11 13:41:02 +00:00
{ " DefaultNoRefreshInterval " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DefaultNoRefreshInterval " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DefaultRefreshInterval ,
2016-05-11 13:41:02 +00:00
{ " DefaultRefreshInterval " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DefaultRefreshInterval " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainDirectoryPartition ,
2016-05-11 13:41:02 +00:00
{ " DomainDirectoryPartition " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DomainDirectoryPartition " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DomainName ,
2016-05-11 13:41:02 +00:00
{ " DomainName " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DomainName " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsAvailable ,
2016-05-11 13:41:02 +00:00
{ " DsAvailable " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DsAvailable " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsContainer ,
2016-05-11 13:41:02 +00:00
{ " DsContainer " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DsContainer " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsDomainVersion ,
2016-05-11 13:41:02 +00:00
{ " DsDomainVersion " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DsDomainVersion " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsDsaVersion ,
2016-05-11 13:41:02 +00:00
{ " DsDsaVersion " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DsDsaVersion " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsForestVersion ,
2016-05-11 13:41:02 +00:00
{ " DsForestVersion " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DsForestVersion " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_DsPollingInterval ,
2016-05-11 13:41:02 +00:00
{ " DsPollingInterval " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.DsPollingInterval " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_EventLogLevel ,
2016-05-11 13:41:02 +00:00
{ " EventLogLevel " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.EventLogLevel " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestDirectoryPartition ,
2016-05-11 13:41:02 +00:00
{ " ForestDirectoryPartition " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ForestDirectoryPartition " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForestName ,
2016-05-11 13:41:02 +00:00
{ " ForestName " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ForestName " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForwardDelegations ,
2016-05-11 13:41:02 +00:00
{ " ForwardDelegations " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ForwardDelegations " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ForwardTimeout ,
2016-05-11 13:41:02 +00:00
{ " ForwardTimeout " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ForwardTimeout " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Forwarders ,
2016-05-11 13:41:02 +00:00
{ " Forwarders " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.Forwarders " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LastScavengeTime ,
2016-05-11 13:41:02 +00:00
{ " LastScavengeTime " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LastScavengeTime " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ListenAddrs ,
2016-05-11 13:41:02 +00:00
{ " ListenAddrs " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ListenAddrs " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriority ,
2016-05-11 13:41:02 +00:00
{ " LocalNetPriority " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LocalNetPriority " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LocalNetPriorityNetmask ,
2016-05-11 13:41:02 +00:00
{ " LocalNetPriorityNetmask " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LocalNetPriorityNetmask " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFileMaxSize ,
2016-05-11 13:41:02 +00:00
{ " LogFileMaxSize " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LogFileMaxSize " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilePath ,
2016-05-11 13:41:02 +00:00
{ " LogFilePath " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LogFilePath " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogFilter ,
2016-05-11 13:41:02 +00:00
{ " LogFilter " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LogFilter " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LogLevel ,
2016-05-11 13:41:02 +00:00
{ " LogLevel " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LogLevel " , FT_UINT32 , BASE_HEX , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_LooseWildcarding ,
2016-05-11 13:41:02 +00:00
{ " LooseWildcarding " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.LooseWildcarding " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_MaxCacheTtl ,
2016-05-11 13:41:02 +00:00
{ " MaxCacheTtl " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.MaxCacheTtl " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_NameCheckFlag ,
2016-05-11 13:41:02 +00:00
{ " NameCheckFlag " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.NameCheckFlag " , FT_UINT32 , BASE_DEC , VALS ( dnsserver_DNS_NAME_CHECK_FLAGS_vals ) , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_NoRecursion ,
2016-05-11 13:41:02 +00:00
{ " NoRecursion " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.NoRecursion " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecurseAfterForwarding ,
2016-05-11 13:41:02 +00:00
{ " RecurseAfterForwarding " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.RecurseAfterForwarding " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecursionRetry ,
2016-05-11 13:41:02 +00:00
{ " RecursionRetry " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.RecursionRetry " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RecursionTimeout ,
2016-05-11 13:41:02 +00:00
{ " RecursionTimeout " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.RecursionTimeout " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RoundRobin ,
2016-05-11 13:41:02 +00:00
{ " RoundRobin " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.RoundRobin " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RpcProtocol ,
2016-05-11 13:41:02 +00:00
{ " RpcProtocol " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.RpcProtocol " , FT_UINT32 , BASE_HEX , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_RpcStructureVersion ,
2016-05-11 13:41:02 +00:00
{ " RpcStructureVersion " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.RpcStructureVersion " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ScavengingInterval ,
2016-05-11 13:41:02 +00:00
{ " ScavengingInterval " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ScavengingInterval " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_SecureResponses ,
2016-05-11 13:41:02 +00:00
{ " SecureResponses " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.SecureResponses " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerAddrs ,
2016-05-11 13:41:02 +00:00
{ " ServerAddrs " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ServerAddrs " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_ServerName ,
2016-05-11 13:41:02 +00:00
{ " ServerName " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.ServerName " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_StrictFileParsing ,
2016-05-11 13:41:02 +00:00
{ " StrictFileParsing " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.StrictFileParsing " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_Version ,
2016-05-11 13:41:02 +00:00
{ " Version " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.Version " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_WriteAuthorityNs ,
2016-05-11 13:41:02 +00:00
{ " WriteAuthorityNs " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.WriteAuthorityNs " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension0 ,
2016-05-11 13:41:02 +00:00
{ " Extension0 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.extension0 " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension1 ,
2016-05-11 13:41:02 +00:00
{ " Extension1 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.extension1 " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension2 ,
2016-05-11 13:41:02 +00:00
{ " Extension2 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.extension2 " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension3 ,
2016-05-11 13:41:02 +00:00
{ " Extension3 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.extension3 " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension4 ,
2016-05-11 13:41:02 +00:00
{ " Extension4 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.extension4 " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_extension5 ,
2016-05-11 13:41:02 +00:00
{ " Extension5 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.extension5 " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserve_array ,
2016-05-11 13:41:02 +00:00
{ " Reserve Array " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.reserve_array " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserve_array2 ,
2016-05-11 13:41:02 +00:00
{ " Reserve Array2 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.reserve_array2 " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_SERVER_INFO_DOTNET_reserved0 ,
2016-05-11 13:41:02 +00:00
{ " Reserved0 " , " dnsserver.DNS_RPC_SERVER_INFO_DOTNET.reserved0 " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_VERSION_OSMajorVersion ,
2016-05-11 13:41:02 +00:00
{ " OSMajorVersion " , " dnsserver.DNS_RPC_VERSION.OSMajorVersion " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_VERSION_OSMinorVersion ,
2016-05-11 13:41:02 +00:00
{ " OSMinorVersion " , " dnsserver.DNS_RPC_VERSION.OSMinorVersion " , FT_UINT8 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_RPC_VERSION_ServicePackVersion ,
2016-05-11 13:41:02 +00:00
{ " ServicePackVersion " , " dnsserver.DNS_RPC_VERSION.ServicePackVersion " , FT_UINT16 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ADDITIONAL_DATA ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW ADDITIONAL DATA " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_ADDITIONAL_DATA " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_ADDITIONAL_DATA_tfs ) , ( 0x00000010 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_AUTHORITY_DATA ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW AUTHORITY DATA " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_AUTHORITY_DATA " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_AUTHORITY_DATA_tfs ) , ( 0x00000001 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_CACHE_DATA ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW CACHE DATA " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_CACHE_DATA " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_CACHE_DATA_tfs ) , ( 0x00000002 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_GLUE_DATA ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW GLUE DATA " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_GLUE_DATA " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_GLUE_DATA_tfs ) , ( 0x00000004 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_NO_CHILDREN ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW NO CHILDREN " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_NO_CHILDREN " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_NO_CHILDREN_tfs ) , ( 0x00010000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ONLY_CHILDREN ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW ONLY CHILDREN " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_ONLY_CHILDREN " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_ONLY_CHILDREN_tfs ) , ( 0x00020000 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DNS_SELECT_FLAGS_DNS_RPC_VIEW_ROOT_HINT_DATA ,
2016-05-11 13:41:02 +00:00
{ " DNS RPC VIEW ROOT HINT DATA " , " dnsserver.DNS_SELECT_FLAGS.DNS_RPC_VIEW_ROOT_HINT_DATA " , FT_BOOLEAN , 32 , TFS ( & DNS_SELECT_FLAGS_DNS_RPC_VIEW_ROOT_HINT_DATA_tfs ) , ( 0x00000008 ) , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_buffer_length ,
2016-05-11 13:41:02 +00:00
{ " Buffer Length " , " dnsserver.DnssrvEnumRecords2.buffer_length " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_client_version ,
2016-05-11 13:41:02 +00:00
{ " Client Version " , " dnsserver.DnssrvEnumRecords2.client_version " , FT_UINT32 , BASE_DEC , VALS ( dnsserver_DNS_RPC_CLIENT_VERSION_vals ) , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_filter_start ,
2016-05-11 13:41:02 +00:00
{ " Filter Start " , " dnsserver.DnssrvEnumRecords2.filter_start " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_filter_stop ,
2016-05-11 13:41:02 +00:00
{ " Filter Stop " , " dnsserver.DnssrvEnumRecords2.filter_stop " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_node_name ,
2016-05-11 13:41:02 +00:00
{ " Node Name " , " dnsserver.DnssrvEnumRecords2.node_name " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_record_buffer ,
2016-05-11 13:41:02 +00:00
{ " Record Buffer " , " dnsserver.DnssrvEnumRecords2.record_buffer " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_record_buffer_ ,
2016-05-11 13:41:02 +00:00
{ " Subcontext length " , " dnsserver.DnssrvEnumRecords2.subcontext " , FT_UINT32 , BASE_HEX , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_record_type ,
2016-05-11 13:41:02 +00:00
{ " Record Type " , " dnsserver.DnssrvEnumRecords2.record_type " , FT_UINT16 , BASE_DEC , VALS ( dnsserver_DNS_RECORD_TYPE_vals ) , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_select_flag ,
2016-05-11 13:41:02 +00:00
{ " Select Flag " , " dnsserver.DnssrvEnumRecords2.select_flag " , FT_UINT32 , BASE_HEX , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_server_name ,
2016-05-11 13:41:02 +00:00
{ " Server Name " , " dnsserver.DnssrvEnumRecords2.server_name " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_setting_flags ,
2016-05-11 13:41:02 +00:00
{ " Setting Flags " , " dnsserver.DnssrvEnumRecords2.setting_flags " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_start_child ,
2016-05-11 13:41:02 +00:00
{ " Start Child " , " dnsserver.DnssrvEnumRecords2.start_child " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvEnumRecords2_zone ,
2016-05-11 13:41:02 +00:00
{ " Zone " , " dnsserver.DnssrvEnumRecords2.zone " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvQuery2_client_version ,
2016-05-11 13:41:02 +00:00
{ " Client Version " , " dnsserver.DnssrvQuery2.client_version " , FT_UINT32 , BASE_DEC , VALS ( dnsserver_DNS_RPC_CLIENT_VERSION_vals ) , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvQuery2_data ,
2016-05-11 13:41:02 +00:00
{ " Data " , " dnsserver.DnssrvQuery2.data " , FT_NONE , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DnssrvQuery2_operation ,
2016-05-11 13:41:02 +00:00
{ " Operation " , " dnsserver.DnssrvQuery2.operation " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvQuery2_server_name ,
2016-05-11 13:41:02 +00:00
{ " Server Name " , " dnsserver.DnssrvQuery2.server_name " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvQuery2_setting_flags ,
2016-05-11 13:41:02 +00:00
{ " Setting Flags " , " dnsserver.DnssrvQuery2.setting_flags " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-09-27 01:27:30 +00:00
{ & hf_dnsserver_DnssrvQuery2_type_id ,
2016-05-11 13:41:02 +00:00
{ " Type Id " , " dnsserver.DnssrvQuery2.type_id " , FT_UINT32 , BASE_DEC , VALS ( dnsserver_DnssrvRpcTypeId_vals ) , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_DnssrvQuery2_zone ,
2016-05-11 13:41:02 +00:00
{ " Zone " , " dnsserver.DnssrvQuery2.zone " , FT_STRING , BASE_NONE , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_IP4_ARRAY_AddrArray ,
2016-05-11 13:41:02 +00:00
{ " AddrArray " , " dnsserver.IP4_ARRAY.AddrArray " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_IP4_ARRAY_AddrCount ,
2016-05-11 13:41:02 +00:00
{ " AddrCount " , " dnsserver.IP4_ARRAY.AddrCount " , FT_UINT32 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_opnum ,
2016-05-11 13:41:02 +00:00
{ " Operation " , " dnsserver.opnum " , FT_UINT16 , BASE_DEC , NULL , 0 , NULL , HFILL } } ,
2014-11-03 23:03:01 +00:00
{ & hf_dnsserver_status ,
2016-05-11 13:41:02 +00:00
{ " NT Error " , " dnsserver.status " , FT_UINT32 , BASE_HEX , VALS ( NT_errors ) , 0 , NULL , HFILL } } ,
2008-08-06 06:45:44 +00:00
} ;
static gint * ett [ ] = {
& ett_dcerpc_dnsserver ,
& ett_dnsserver_DNS_RPC_VERSION ,
& ett_dnsserver_DNS_LOG_LEVELS ,
& ett_dnsserver_DNS_RPC_PROTOCOLS ,
& ett_dnsserver_DNS_SELECT_FLAGS ,
& ett_dnsserver_DNS_RPC_NODE_FLAGS ,
& ett_dnsserver_DNS_RPC_NAME ,
& ett_dnsserver_DNS_RPC_RECORD_NODE_NAME ,
& ett_dnsserver_DNS_RPC_RECORD_UNION ,
& ett_dnsserver_DNS_RPC_RECORD ,
& ett_dnsserver_DNS_RPC_NODE ,
& ett_dnsserver_IP4_ARRAY ,
& ett_dnsserver_DNS_RPC_SERVER_INFO_DOTNET ,
& ett_dnsserver_DNSSRV_RPC_UNION ,
& ett_dnsserver_DNS_RECORD_BUFFER ,
} ;
proto_dcerpc_dnsserver = proto_register_protocol ( " DNS Server " , " DNSSERVER " , " dnsserver " ) ;
proto_register_field_array ( proto_dcerpc_dnsserver , hf , array_length ( hf ) ) ;
proto_register_subtree_array ( ett , array_length ( ett ) ) ;
}
void proto_reg_handoff_dcerpc_dnsserver ( void )
{
dcerpc_init_uuid ( proto_dcerpc_dnsserver , ett_dcerpc_dnsserver ,
& uuid_dcerpc_dnsserver , ver_dcerpc_dnsserver ,
dnsserver_dissectors , hf_dnsserver_opnum ) ;
2002-09-11 23:59:13 +00:00
}