2 * Dissector for GSS-API tokens as described in rfc2078, section 3.1
3 * Copyright 2002, Tim Potter <tpot@samba.org>
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_GSSAPI_H
27 #define __PACKET_GSSAPI_H
29 /* Structures needed outside */
31 typedef struct _gssapi_oid_value
{
34 dissector_handle_t handle
;
35 dissector_handle_t wrap_handle
;
36 const gchar
*comment
; /* For the comment */
39 /* Function prototypes */
42 gssapi_init_oid(const char *oid
, int proto
, int ett
, dissector_handle_t handle
,
43 dissector_handle_t wrap_handle
, const gchar
*comment
);
46 gssapi_lookup_oid_str(const gchar
*oid_key
);
48 int wrap_dissect_gssapi_verf(tvbuff_t
*tvb
, int offset
,
50 proto_tree
*tree
, dcerpc_info
*di
, guint8
*drep
);
52 tvbuff_t
*wrap_dissect_gssapi_payload(tvbuff_t
*data_tvb
,
56 dcerpc_auth_info
*auth_info
);
58 #endif /* __PACKET_GSSAPI_H */