source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/lwip-2.1.2/src/include/netif/ppp/ecp.h@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 1.9 KB
Line 
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$
32 */
33
34#include "netif/ppp/ppp_opts.h"
35#if PPP_SUPPORT && ECP_SUPPORT /* don't build if not configured for use in lwipopts.h */
36
37#ifndef ECP_H
38#define ECP_H
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44typedef struct ecp_options {
45 bool required; /* Is ECP required? */
46 unsigned enctype; /* Encryption type */
47} ecp_options;
48
49extern fsm ecp_fsm[];
50extern ecp_options ecp_wantoptions[];
51extern ecp_options ecp_gotoptions[];
52extern ecp_options ecp_allowoptions[];
53extern ecp_options ecp_hisoptions[];
54
55extern const struct protent ecp_protent;
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* ECP_H */
62#endif /* PPP_SUPPORT && ECP_SUPPORT */
Note: See TracBrowser for help on using the repository browser.