OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / klips / net / ipsec / ipsec_errs.h
1 /*
2  * @(#) definition of ipsec_errs 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_errs.h,v 1.2 2001/11/26 09:16:13 rgb Exp $
18  *
19  */
20
21 /* 
22  * This file describes the errors/statistics that FreeSWAN collects.
23  *
24  */
25
26 struct ipsec_errs {
27         __u32           ips_alg_errs;          /* number of algorithm errors */
28         __u32           ips_auth_errs;         /* # of authentication errors */
29         __u32           ips_encsize_errs;      /* # of encryption size errors*/
30         __u32           ips_encpad_errs;       /* # of encryption pad  errors*/
31         __u32           ips_replaywin_errs;    /* # of pkt sequence errors */
32 };
33
34 /*
35  * $Log: ipsec_errs.h,v $
36  * Revision 1.2  2001/11/26 09:16:13  rgb
37  * Merge MCR's ipsec_sa, eroute, proc and struct lifetime changes.
38  *
39  * Revision 1.1.2.1  2001/09/25 02:25:57  mcr
40  *      lifetime structure created and common functions created.
41  *
42  *
43  * Local variables:
44  * c-file-style: "linux"
45  * End:
46  *
47  */