]> git.ozlabs.org Git - ppp.git/blob - pppd/ecp.h
pppd man page: Update header to refer to pppd 2.5.x
[ppp.git] / pppd / ecp.h
1 /*
2  * ecp.h - Definitions for PPP Encryption Control Protocol.
3  *
4  * Copyright (c) 2002 Google, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  * 1. Redistributions of source code must retain the above copyright
12  *    notice, this list of conditions and the following disclaimer.
13  *
14  * 2. Redistributions in binary form must reproduce the above copyright
15  *    notice, this list of conditions and the following disclaimer in
16  *    the documentation and/or other materials provided with the
17  *    distribution.
18  *
19  * 3. The name(s) of the authors of this software must not be used to
20  *    endorse or promote products derived from this software without
21  *    prior written permission.
22  *
23  * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
24  * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
25  * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
26  * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
27  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
28  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
29  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
30  *
31  * $Id: ecp.h,v 1.2 2003/01/10 07:12:36 fcusack Exp $
32  */
33 #ifndef PPP_ECP_H
34 #define PPP_ECP_H
35
36 #include "pppdconf.h"
37
38 #ifndef PPP_ECP
39 #define PPP_ECP 0x8053
40 #endif
41
42
43 typedef struct ecp_options {
44     bool required;              /* Is ECP required? */
45     unsigned enctype;           /* Encryption type */
46 } ecp_options;
47
48 extern fsm ecp_fsm[];
49 extern ecp_options ecp_wantoptions[];
50 extern ecp_options ecp_gotoptions[];
51 extern ecp_options ecp_allowoptions[];
52 extern ecp_options ecp_hisoptions[];
53
54 extern struct protent ecp_protent;
55
56 #endif