wireshark/packet-kerberos.h

46 lines
1.7 KiB
C

/* packet-kerberos.h
* Exported routines for Kerberos
* Wes Hardaker (c) 2000
* wjhardaker@ucdavis.edu
*
* $Id: packet-kerberos.h,v 1.2 2000/08/11 13:34:19 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
* Copyright 1998 Didier Jorand
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __PACKET_KERBEROS_H__
#define __PACKET_KERBEROS_H__
void dissect_kerberos(const u_char *, int, frame_data *, proto_tree *);
void dissect_PrincipalName(char *title, ASN1_SCK *asn1p, frame_data *fd,
proto_tree *tree, int *offset);
void dissect_GeneralString(ASN1_SCK *asn1p, guchar **where, guint *item_len,
guint *pkt_len);
void dissect_ticket(char *title, ASN1_SCK *asn1p, frame_data *fd,
proto_tree *tree, int *inoff);
void dissect_EncryptedData(char *title, ASN1_SCK *asn1p, frame_data *fd,
proto_tree *tree, int *inoff);
void dissect_Addresses(char *title, ASN1_SCK *asn1p, frame_data *fd,
proto_tree *tree, int *inoff);
#endif