Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-ntlmssp.h
1 /* packet-ntlmssp.h
2 * Declarations for NTLM Secure Service Provider
3 * Copyright 2003, Tim Potter <tpot@samba.org>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12 #ifndef __PACKET_NTLMSSP_H__
13 #define __PACKET_NTLMSSP_H__
14
15 /* Message types */
16
17 #define NTLMSSP_NEGOTIATE 1
18 #define NTLMSSP_CHALLENGE 2
19 #define NTLMSSP_AUTH 3
20 #define NTLMSSP_UNKNOWN 4
21
22 #define NTLMSSP_KEY_LEN 16
23
24 /* Dissect a ntlmv2 response */
25
26 int
27 dissect_ntlmv2_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ntlmssp_tree, int offset, int len);
28
29 /* the ntlmssp data passed to tap listeners */
30 typedef struct _ntlmssp_header_t {
31 guint32 type;
32 const char *domain_name;
33 const char *acct_name;
34 const char *host_name;
35 guint8 session_key[NTLMSSP_KEY_LEN];
36 } ntlmssp_header_t;
37
38 #endif
_packet_info
Definition: packet_info.h:44
tvbuff
Definition: tvbuff-int.h:35
_ntlmssp_header_t
Definition: packet-ntlmssp.h:30
_proto_node
Definition: proto.h:759