MSWSP: add ids for another unknown Property Set
[wireshark-wip.git] / epan / dissectors / packet-ntlmssp.h
blobf0b09d01099f6642b0a9de41fc80bd3365a903e1
1 /* packet-ntlmssp.h
2 * Declarations for NTLM Secure Service Provider
3 * Copyright 2003, Tim Potter <tpot@samba.org>
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef __PACKET_NTLMSSP_H__
27 #define __PACKET_NTLMSSP_H__
29 /* Message types */
31 #define NTLMSSP_NEGOTIATE 1
32 #define NTLMSSP_CHALLENGE 2
33 #define NTLMSSP_AUTH 3
34 #define NTLMSSP_UNKNOWN 4
36 #define NTLMSSP_KEY_LEN 16
38 /* Dissect a ntlmv2 response */
40 int
41 dissect_ntlmv2_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ntlmssp_tree, int offset, int len);
43 /* the ntlmssp data passed to tap listeners */
44 typedef struct _ntlmssp_header_t {
45 guint32 type;
46 const char *domain_name;
47 const char *acct_name;
48 const char *host_name;
49 guint8 session_key[NTLMSSP_KEY_LEN];
50 } ntlmssp_header_t;
52 #endif