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