Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
ecp.h
00001 /* 00002 * ecp.h - Definitions for PPP Encryption Control Protocol. 00003 * 00004 * Copyright (c) 2002 Google, Inc. 00005 * All rights reserved. 00006 * 00007 * Redistribution and use in source and binary forms, with or without 00008 * modification, are permitted provided that the following conditions 00009 * are met: 00010 * 00011 * 1. Redistributions of source code must retain the above copyright 00012 * notice, this list of conditions and the following disclaimer. 00013 * 00014 * 2. Redistributions in binary form must reproduce the above copyright 00015 * notice, this list of conditions and the following disclaimer in 00016 * the documentation and/or other materials provided with the 00017 * distribution. 00018 * 00019 * 3. The name(s) of the authors of this software must not be used to 00020 * endorse or promote products derived from this software without 00021 * prior written permission. 00022 * 00023 * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO 00024 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 00025 * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY 00026 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 00027 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 00028 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING 00029 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 00030 * 00031 * $Id: ecp.h,v 1.2 2003/01/10 07:12:36 fcusack Exp $ 00032 */ 00033 00034 #include "ppp_opts.h" 00035 #if PPP_SUPPORT && ECP_SUPPORT /* don't build if not configured for use in ppp_opts.h */ 00036 00037 #ifndef ECP_H 00038 #define ECP_H 00039 00040 #ifdef __cplusplus 00041 extern "C" { 00042 #endif 00043 00044 typedef struct ecp_options { 00045 bool required; /* Is ECP required? */ 00046 unsigned enctype; /* Encryption type */ 00047 } ecp_options; 00048 00049 extern fsm ecp_fsm[]; 00050 extern ecp_options ecp_wantoptions[]; 00051 extern ecp_options ecp_gotoptions[]; 00052 extern ecp_options ecp_allowoptions[]; 00053 extern ecp_options ecp_hisoptions[]; 00054 00055 extern const struct protent ecp_protent; 00056 00057 #ifdef __cplusplus 00058 } 00059 #endif 00060 00061 #endif /* ECP_H */ 00062 #endif /* PPP_SUPPORT && ECP_SUPPORT */
Generated on Tue Jul 12 2022 13:54:17 by
