Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-gssapi.h
1/* packet-gssapi.h
2 * Dissector for GSS-API tokens as described in rfc2078, section 3.1
3 * Copyright 2002, Tim Potter <[email protected]>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef __PACKET_GSSAPI_H
13#define __PACKET_GSSAPI_H
14
15/* Structures needed outside */
16
17typedef struct _gssapi_oid_value {
18 protocol_t *proto;
19 int ett;
20 dissector_handle_t handle;
21 dissector_handle_t wrap_handle;
22 const char *comment; /* For the comment */
24
25#define DECRYPT_GSSAPI_NORMAL 1
26#define DECRYPT_GSSAPI_DCE 2
27
46{
47 uint16_t decrypt_gssapi_tvb;
48 tvbuff_t *gssapi_wrap_tvb;
49 tvbuff_t *gssapi_header_tvb;
50 tvbuff_t *gssapi_encrypted_tvb;
51 tvbuff_t *gssapi_trailer_tvb;
52 tvbuff_t *gssapi_decrypted_tvb;
53 bool gssapi_data_encrypted;
55
56/* Function prototypes */
57
58void
59gssapi_init_oid(const char *oid, int proto, int ett, dissector_handle_t handle,
60 dissector_handle_t wrap_handle, const char *comment);
61
63gssapi_lookup_oid_str(const char *oid_key);
64
65typedef struct _dcerpc_info dcerpc_info;
67
68int wrap_dissect_gssapi_verf(tvbuff_t *tvb, int offset,
69 packet_info *pinfo,
70 proto_tree *tree, dcerpc_info *di, uint8_t *drep);
71
73wrap_dissect_gssapi_payload(tvbuff_t *header_tvb _U_,
74 tvbuff_t *payload_tvb,
75 tvbuff_t *trailer_tvb _U_,
76 tvbuff_t *auth_tvb,
77 packet_info *pinfo,
78 dcerpc_auth_info *auth_info _U_);
79
80#endif /* __PACKET_GSSAPI_H */
Definition packet-dcerpc.h:94
Definition packet-dcerpc.h:154
Definition packet-gssapi.h:46
Definition packet-gssapi.h:17
Definition packet_info.h:43
Definition proto.h:901
Definition proto.c:380
Definition packet.c:763
Definition tvbuff-int.h:35