⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pppconst.h

📁 用于嵌入式系统的TCP/IP协议栈及若干服务
💻 H
字号:
/**            Copyright (c) 1998-2001 by NETsilicon Inc.**  This software is copyrighted by and is the sole property of*  NETsilicon.  All rights, title, ownership, or other interests*  in the software remain the property of NETsilicon.  This*  software may only be used in accordance with the corresponding*  license agreement.  Any unauthorized use, duplication, transmission,*  distribution, or disclosure of this software is expressly forbidden.**  This Copyright notice may not be removed or modified without prior*  written consent of NETsilicon.**  NETsilicon, reserves the right to modify this software*  without notice.**  NETsilicon*  411 Waverley Oaks Road                  USA 781.647.1234*  Suite 227                               http://www.netsilicon.com*  Waltham, MA 02452                       AmericaSales@netsilicon.com***************************************************************************  $Name: Fusion 6.52 Fusion 6.51 $*  $Date: 2001/09/20 10:25:00 $*  $Source: M:/psisrc/ppp/incl/rcs/pppconst.h $*  $Revision: 1.3 $***************************************************************************  File Description:	  Constants used both by pppapi.h and ppp.h*                                                             ***************************************************************************/#ifndef _PPP_CONST_#define _PPP_CONST_/* defines max len of PPP user name and password.  Can be overridden   in config.h*/#ifndef MAX_PPP_USER#define MAX_PPP_USER    16#endif#ifndef MAX_PPP_PSWD#define MAX_PPP_PSWD    16#endif/* The following are for peer_auth_protocol and auth_peer_protocol    in PPP_auth_state structure.*/#define PPP_AUTH_NONE   0#define PPP_AUTH_CHAP   1           #define PPP_AUTH_PAP    2/* Used for MD5 hash value in CHAP */#define MAX_MD5_HASH    16/* CHAP maximum value length for challenge can be overridden in    config.h by porting engineer.  A custom algorithm for   computing the value can return any length up to CHAP_CHALL_MAX_VAL_LEN.*/#ifndef CHAP_CHALL_MAX_VAL_LEN#define CHAP_CHALL_MAX_VAL_LEN   32  /* Make length 32 hard coded for now */#endif/* end of packed structures definitions */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -