📄 chp_defs.h
字号:
/***************************************************************************
*
* Copyright (c) 1997 - 2001 by Accelerated Technology, Inc.
*
* PROPRIETARY RIGHTS of Accelerated Technology are involved in the subject
* matter of this material. All manufacturing, reproduction, use and sales
* rights pertaining to this subject matter are governed by the license
* agreement. The recipient of this software implicity accepts the terms
* of the license.
*
***************************************************************************/
/***************************************************************************
*
* FILENAME VERSION
*
* CHP_DEFS.H 2.4
*
* COMPONENT
*
* CHAP
*
* DESCRIPTION
*
* This file contains the constant definitions to support the challenge
* handshake authentication protocol, CHAP.C
*
* DATA STRUCTURES
*
* CHAP_LAYER
*
* DEPENDENCIES
*
* None
*
***************************************************************************/
#ifndef CHP_DEFS_H
#define CHP_DEFS_H
#define CHAP_CHALLENGE 1
#define CHAP_RESPONSE 2
#define CHAP_SUCCESS 3
#define CHAP_FAILURE 4
#define CHAP_VALUE_LENGTH_OFFSET 4
#define CHAP_VALUE_OFFSET 5
#define CHAP_MD5_VALUE_SIZE 16
#define CHAP_CHALLENGE_VALUE_SIZE 4
#define CHAP_MAX_VALUE_SIZE 256
/* Define the structure that will hold information used during
CHAP authentication. */
typedef struct _chap_layer
{
UINT32 challenge_value;
UINT8 challenge_identifier;
} CHAP_LAYER;
#endif /* CHP_DEFS_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -