Rtos API example
Embed:
(wiki syntax)
Show/hide line numbers
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 "netif/ppp/ppp_opts.h" 00035 #if PPP_SUPPORT && ECP_SUPPORT /* don't build if not configured for use in lwipopts.h */ 00036 00037 typedef struct ecp_options { 00038 bool required; /* Is ECP required? */ 00039 unsigned enctype; /* Encryption type */ 00040 } ecp_options; 00041 00042 extern fsm ecp_fsm[]; 00043 extern ecp_options ecp_wantoptions[]; 00044 extern ecp_options ecp_gotoptions[]; 00045 extern ecp_options ecp_allowoptions[]; 00046 extern ecp_options ecp_hisoptions[]; 00047 00048 extern const struct protent ecp_protent; 00049 00050 #endif /* PPP_SUPPORT && ECP_SUPPORT */
Generated on Sun Jul 17 2022 08:25:22 by
1.7.2