git add -f bin/default/librpc/gen_ndr/packet-dcerpc-*
[metze/samba/wip.git] / bin / default / librpc / gen_ndr / packet-dcerpc-ntlmssp.c
index 2a2a6c88b6bdf4215a2d79cd6d05aab762dd6325..8f37dff590ec43715ab2828afd48ffc2e3659899 100644 (file)
@@ -343,7 +343,7 @@ static int ntlmssp_dissect_element_Version_version(tvbuff_t *tvb _U_, int offset
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Signature(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Signature_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_MessageType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *NegotiateFlags);
+static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *NegotiateFlags);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_DomainNameLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_DomainNameMaxLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_DomainName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
@@ -354,7 +354,7 @@ static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_WorkstationMaxLen(tvbuff_t
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Workstation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Workstation_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Workstation__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *);
+static int ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *);
 const value_string ntlmssp_ntlmssp_AvId_vals[] = {
        { MsvAvEOL, "MsvAvEOL" },
        { MsvAvNbComputerName, "MsvAvNbComputerName" },
@@ -410,7 +410,7 @@ static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetNameMaxLen(tvbuff_t *
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetName_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetName__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *NegotiateFlags);
+static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *NegotiateFlags);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_ServerChallenge(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_ServerChallenge_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_Reserved(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
@@ -420,7 +420,7 @@ static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetNameInfoMaxLen(tvbuff
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetInfo_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetInfo__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *);
+static int ntlmssp_dissect_element_CHALLENGE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *);
 static int ntlmssp_dissect_element_LM_RESPONSE_Response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_LM_RESPONSE_Response_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_LMv2_RESPONSE_Response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
@@ -450,16 +450,16 @@ static int ntlmssp_dissect_element_MIC_MIC_(tvbuff_t *tvb _U_, int offset _U_,in
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Signature(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Signature_(tvbuff_t *tvb _U_, int offset _U_,int length _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_MessageType(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponseMaxLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponseMaxLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_DomainNameLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_DomainNameMaxLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_DomainName(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
@@ -480,8 +480,8 @@ static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_EncryptedRandomSessionKe
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_EncryptedRandomSessionKey(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_EncryptedRandomSessionKey_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_EncryptedRandomSessionKey__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *NegotiateFlags);
-static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *NegotiateFlags);
+static int ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *);
 static int ntlmssp_dissect_element_NTLMSSP_MESSAGE_SIGNATURE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NTLMSSP_MESSAGE_SIGNATURE_RandomPad(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
 static int ntlmssp_dissect_element_NTLMSSP_MESSAGE_SIGNATURE_Checksum(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
@@ -1026,7 +1026,7 @@ ntlmssp_dissect_element_NEGOTIATE_MESSAGE_MessageType(tvbuff_t *tvb _U_, int off
 }
 
 static int
-ntlmssp_dissect_element_NEGOTIATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *NegotiateFlags)
+ntlmssp_dissect_element_NEGOTIATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *NegotiateFlags)
 {
        offset = ntlmssp_dissect_bitmap_NEGOTIATE(tvb, offset, pinfo, tree, drep, hf_ntlmssp_NEGOTIATE_MESSAGE_NegotiateFlags, NegotiateFlags);
 
@@ -1138,7 +1138,7 @@ ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Workstation__(tvbuff_t *tvb _U_, int o
 }
 
 static int
-ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *)
+ntlmssp_dissect_element_NEGOTIATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *)
 {
        offset = ntlmssp_dissect_Version(tvb, offset, pinfo, tree, drep, hf_ntlmssp_NEGOTIATE_MESSAGE_Version, *);
 
@@ -1791,7 +1791,7 @@ ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetName__(tvbuff_t *tvb _U_, int of
 }
 
 static int
-ntlmssp_dissect_element_CHALLENGE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *NegotiateFlags)
+ntlmssp_dissect_element_CHALLENGE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *NegotiateFlags)
 {
        offset = ntlmssp_dissect_bitmap_NEGOTIATE(tvb, offset, pinfo, tree, drep, hf_ntlmssp_CHALLENGE_MESSAGE_NegotiateFlags, NegotiateFlags);
 
@@ -1892,7 +1892,7 @@ ntlmssp_dissect_element_CHALLENGE_MESSAGE_TargetInfo__(tvbuff_t *tvb _U_, int of
 }
 
 static int
-ntlmssp_dissect_element_CHALLENGE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *)
+ntlmssp_dissect_element_CHALLENGE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *)
 {
        offset = ntlmssp_dissect_Version(tvb, offset, pinfo, tree, drep, hf_ntlmssp_CHALLENGE_MESSAGE_Version, *);
 
@@ -2540,7 +2540,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_MessageType(tvbuff_t *tvb _U_, int
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen)
 {
        offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_ntlmssp_AUTHENTICATE_MESSAGE_LmChallengeResponseLen, LmChallengeResponseLen);
 
@@ -2556,7 +2556,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponseMaxLen(tvbuff_t
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen)
 {
        offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse_, , "Pointer to Lmchallengeresponse (ntlmssp_LM_RESPONSE)",hf_ntlmssp_AUTHENTICATE_MESSAGE_LmChallengeResponse);
 
@@ -2564,7 +2564,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse(tvbuff_t *tvb _
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen)
 {
        dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
        guint0 size;
@@ -2585,7 +2585,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse_(tvbuff_t *tvb
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *LmChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *LmChallengeResponseLen)
 {
        offset = ntlmssp_dissect_LM_RESPONSE(tvb, offset, pinfo, tree, drep, hf_ntlmssp_AUTHENTICATE_MESSAGE_LmChallengeResponse, *LmChallengeResponseLen);
 
@@ -2593,7 +2593,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_LmChallengeResponse__(tvbuff_t *tvb
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponseLen(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen)
 {
        offset = PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_ntlmssp_AUTHENTICATE_MESSAGE_NtChallengeResponseLen, NtChallengeResponseLen);
 
@@ -2609,7 +2609,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponseMaxLen(tvbuff_t
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen)
 {
        offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse_, , "Pointer to Ntchallengeresponse (ntlmssp_NTLM_RESPONSE)",hf_ntlmssp_AUTHENTICATE_MESSAGE_NtChallengeResponse);
 
@@ -2617,7 +2617,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse(tvbuff_t *tvb _
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen)
 {
        dcerpc_info *di = (dcerpc_info*)pinfo->private_data;
        guint0 size;
@@ -2638,7 +2638,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse_(tvbuff_t *tvb
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, g *NtChallengeResponseLen)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NtChallengeResponse__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint16 *NtChallengeResponseLen)
 {
        offset = ntlmssp_dissect_NTLM_RESPONSE(tvb, offset, pinfo, tree, drep, hf_ntlmssp_AUTHENTICATE_MESSAGE_NtChallengeResponse, *NtChallengeResponseLen);
 
@@ -2855,7 +2855,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_EncryptedRandomSessionKey__(tvbuff_
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *NegotiateFlags)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *NegotiateFlags)
 {
        offset = ntlmssp_dissect_bitmap_NEGOTIATE(tvb, offset, pinfo, tree, drep, hf_ntlmssp_AUTHENTICATE_MESSAGE_NegotiateFlags, NegotiateFlags);
 
@@ -2863,7 +2863,7 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_NegotiateFlags(tvbuff_t *tvb _U_, i
 }
 
 static int
-ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_,  *)
+ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_, guint32 *)
 {
        offset = ntlmssp_dissect_Version(tvb, offset, pinfo, tree, drep, hf_ntlmssp_AUTHENTICATE_MESSAGE_Version, *);
 
@@ -2873,9 +2873,9 @@ ntlmssp_dissect_element_AUTHENTICATE_MESSAGE_Version(tvbuff_t *tvb _U_, int offs
 int
 ntlmssp_dissect_struct_AUTHENTICATE_MESSAGE(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
 {
-       g LmChallengeResponseLen;
+       guint16 LmChallengeResponseLen;
         LmChallengeResponse;
-       g NtChallengeResponseLen;
+       guint16 NtChallengeResponseLen;
         NtChallengeResponse;
         NegotiateFlags;
        proto_item *item = NULL;