4 MANUAL dnsserver_dissect_struct_DNS_RPC_NAME
5 HF_FIELD hf_dnsserver_DNS_RPC_NAME_name "Name" "dnsserver.DNS_RPC_NAME.name" FT_STRING BASE_NONE NULL 0 "" "" ""
11 MANUAL dnsserver_dissect_element_DNS_RPC_NODE_RecordCount
12 MANUAL dnsserver_dissect_element_DNS_RPC_NODE_records
13 NOEMIT dnsserver_dissect_element_DNS_RPC_NODE_records_
15 NOEMIT dnsserver_dissect_element_DNS_RPC_NAME_NameLength
16 NOEMIT dnsserver_dissect_element_DNS_RPC_NAME_Name
17 NOEMIT dnsserver_dissect_element_DNS_RPC_NAME_Name_
22 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, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
24 proto_item *item = NULL;
25 proto_tree *tree = NULL;
29 if(di->conformant_run){
30 /*just a run to handle conformant arrays, nothing to dissect */
39 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
40 tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_NAME);
43 offset = dissect_ndr_uint8(tvb, offset, pinfo, tree, di, drep, hf_dnsserver_DNS_RPC_NAME_NameLength, &len);
44 proto_tree_add_item(tree, hf_dnsserver_DNS_RPC_NAME_name, tvb,
45 offset, len, ENC_UTF_8);
48 proto_item_set_len(item, offset-old_offset);
55 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, uint8_t *drep _U_, uint16_t *RecordCount)
57 if(di->conformant_run){
58 /*just a run to handle conformant arrays, nothing to dissect */
62 offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep, hf_dnsserver_DNS_RPC_NODE_RecordCount, RecordCount);
68 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, uint8_t *drep _U_, uint16_t *RecordCount)
72 if(di->conformant_run){
73 /*just a run to handle conformant arrays, nothing to dissect */
77 for (i=0; i < *RecordCount; i++) {
78 offset = dnsserver_dissect_struct_DNS_RPC_RECORD(tvb,offset,pinfo,tree,di,drep,hf_dnsserver_DNS_RPC_NODE_records,0);