OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / pluto / vendor.h
1 /* FreeS/WAN ISAKMP VendorID
2  * Copyright (C) 2002-2003 Mathieu Lafon - Arkoon Network Security
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * for more details.
13  *
14  * RCSID $Id: vendor.h,v 1.3 2003-09-29 05:08:44 philipc Exp $
15  */
16
17 #ifndef _VENDOR_H_
18 #define _VENDOR_H_
19
20 /* 1 - 100 : Implementation names */
21 #define VID_OPENPGP                 1
22 #define VID_KAME_RACOON             2
23 #define VID_MS_NT5                  3
24 #define VID_SSH_SENTINEL            4
25 #define VID_SSH_SENTINEL_1_1        5
26 #define VID_SSH_SENTINEL_1_2        6
27 #define VID_SSH_SENTINEL_1_3        7
28 #define VID_SSH_IPSEC_1_1_0         8
29 #define VID_SSH_IPSEC_1_1_1         9
30 #define VID_SSH_IPSEC_1_1_2         10
31 #define VID_SSH_IPSEC_1_2_1         11
32 #define VID_SSH_IPSEC_1_2_2         12
33 #define VID_SSH_IPSEC_2_0_0         13
34 #define VID_SSH_IPSEC_2_1_0         14
35 #define VID_SSH_IPSEC_2_1_1         15
36 #define VID_SSH_IPSEC_2_1_2         16
37 #define VID_SSH_IPSEC_3_0_0         17
38 #define VID_SSH_IPSEC_3_0_1         18
39 #define VID_SSH_IPSEC_4_0_0         19
40 #define VID_SSH_IPSEC_4_0_1         20
41 #define VID_SSH_IPSEC_4_1_0         21
42 #define VID_SSH_IPSEC_4_2_0         22
43 #define VID_CISCO_UNITY             23
44 #define VID_SSH_SENTINEL_1_4        24
45 #define VID_SSH_SENTINEL_1_4_1      25
46 #define VID_TIMESTEP                26
47 #define VID_FSWAN_2_00_VID                  27
48 #define VID_FSWAN_2_00_X509_1_3_1_VID       28
49 #define VID_FSWAN_2_00_X509_1_3_1_LDAP_VID  29
50
51 /* 101 - 200 : NAT-Traversal */
52 #define VID_NATT_STENBERG_01        101
53 #define VID_NATT_STENBERG_02        102
54 #define VID_NATT_HUTTUNEN           103
55 #define VID_NATT_HUTTUNEN_ESPINUDP  104
56 #define VID_NATT_IETF_00            105
57 #define VID_NATT_IETF_02_N          106
58 #define VID_NATT_IETF_02            107
59 #define VID_NATT_IETF_03            108
60 #define VID_NATT_RFC                109
61
62 /* 201 - 300 : Misc */
63 #define VID_MISC_XAUTH              201
64 #define VID_MISC_DPD                202
65 #define VID_MISC_HEARTBEAT_NOTIFY   203
66 #define VID_MISC_FRAGMENTATION      204
67
68 void init_vendorid(void);
69
70 struct msg_digest;
71 void handle_vendorid (struct msg_digest *md, const char *vid, size_t len);
72
73 bool out_vendorid (u_int8_t np, pb_stream *outs, unsigned int vid);
74
75 #endif /* _VENDOR_H_ */
76