OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / klips / net / ipsec / ipsec_stats.h
1 /*
2  * @(#) definition of ipsec_stats structure
3  *
4  * Copyright (C) 2001  Richard Guy Briggs  <rgb@freeswan.org>
5  *                 and Michael Richardson  <mcr@freeswan.org>
6  * 
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by the
9  * Free Software Foundation; either version 2 of the License, or (at your
10  * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
11  * 
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * for more details.
16  *
17  * RCSID $Id: ipsec_stats.h,v 1.2 2001/11/26 09:16:16 rgb Exp $
18  *
19  */
20
21 /* 
22  * This file describes the errors/statistics that FreeSWAN collects.
23  */
24
25 #ifndef _IPSEC_STATS_H_
26
27 struct ipsec_stats {
28         __u32           ips_alg_errs;          /* number of algorithm errors */
29         __u32           ips_auth_errs;         /* # of authentication errors */
30         __u32           ips_encsize_errs;      /* # of encryption size errors*/
31         __u32           ips_encpad_errs;       /* # of encryption pad  errors*/
32         __u32           ips_replaywin_errs;    /* # of pkt sequence errors */
33 };
34
35 #define _IPSEC_STATS_H_
36 #endif /* _IPSEC_STATS_H_ */
37
38 /*
39  * $Log: ipsec_stats.h,v $
40  * Revision 1.2  2001/11/26 09:16:16  rgb
41  * Merge MCR's ipsec_sa, eroute, proc and struct lifetime changes.
42  *
43  * Revision 1.1.2.1  2001/09/25 02:27:00  mcr
44  *      statistics moved to seperate structure.
45  *
46  *
47  *
48  * Local variables:
49  * c-file-style: "linux"
50  * End:
51  *
52  */