Get rid of some unused variables, as per Josef Korelus.
[obnox/wireshark/wip.git] / packet-fcsp.h
1 /* packet-fc-sp.h
2  * Routines for Fibre Channel Security Protocol
3  * This decoder is for FC-SP version 1.1
4  * Copyright 2003 Dinesh G Dutt (ddutt@cisco.com)
5  *
6  * $Id: packet-fcsp.h,v 1.2 2004/02/20 22:38:44 guy Exp $
7  *
8  * Ethereal - Network traffic analyzer
9  * By Gerald Combs <gerald@ethereal.com>
10  * Copyright 1998 Gerald Combs
11  * 
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  * 
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  * 
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #ifndef __PACKET_FCSP_H_
28 #define __PACKET_FCSP_H_
29
30 /* Message Codes */
31 #define FC_AUTH_MSG_AUTH_REJECT        0x0A 
32 #define FC_AUTH_MSG_AUTH_NEGOTIATE     0x0B 
33 #define FC_AUTH_MSG_AUTH_DONE          0x0C 
34 #define FC_AUTH_DHCHAP_CHALLENGE       0x10 
35 #define FC_AUTH_DHCHAP_REPLY           0x11 
36 #define FC_AUTH_DHCHAP_SUCCESS         0x12 
37 #define FC_AUTH_FCAP_REQUEST           0x13 
38 #define FC_AUTH_FCAP_ACKNOWLEDGE       0x14 
39 #define FC_AUTH_FCAP_CONFIRM           0x15 
40 #define FC_AUTH_FCPAP_INIT             0x16 
41 #define FC_AUTH_FCPAP_ACCEPT           0x17 
42 #define FC_AUTH_FCPAP_COMPLETE         0x18
43
44 #define FC_AUTH_NAME_TYPE_WWN          0x1
45
46 #define FC_AUTH_PROTO_TYPE_DHCHAP      0x1
47 #define FC_AUTH_PROTO_TYPE_FCAP        0x2
48
49 #define FC_AUTH_DHCHAP_HASH_MD5        0x5
50 #define FC_AUTH_DHCHAP_HASH_SHA1       0x6
51
52 #define FC_AUTH_DHCHAP_PARAM_HASHLIST  0x1
53 #define FC_AUTH_DHCHAP_PARAM_DHgIDLIST 0x2
54
55 void dissect_fcsp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
56
57 #endif