📄 ppp_extr.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 implicitly
* accepts the terms of the license.
*
************************************************************************/
/************************************************************************
*
* FILE NAME VERSION
*
* PPP_EXTR.H 2.4
*
* COMPONENT
*
* PPP
*
* DESCRIPTION
*
* This file contains function prototypes
* used by PPP and also accessible to other modules.
*
* DATA STRUCTURES
*
* None
*
* DEPENDENCIES
*
* None
*
************************************************************************/
#ifndef PPP_EXTR_H
#define PPP_EXTR_H
VOID PPP_Clean_Up_Link (DV_DEVICE_ENTRY *);
UINT32 PPP_Two_To_Power (UINT8 exponent);
STATUS PPP_Lower_Layer_Up (UINT8 *, DV_DEVICE_ENTRY *);
STATUS PPP_Set_Login (CHAR [], CHAR [], CHAR *);
STATUS PPP_Safe_To_Hangup (DV_DEVICE_ENTRY *dev_ptr);
STATUS PPP_Still_Connected (CHAR *);
STATUS PPP_Hangup(UINT8, CHAR *);
STATUS PPP_Input (VOID);
STATUS PPP_Output (NET_BUFFER *, DV_DEVICE_ENTRY *,
SCK_SOCKADDR_IP *, RTAB_ROUTE *);
STATUS PPP_Initialize (DV_DEVICE_ENTRY *dev_ptr);
STATUS PPP_Wait_For_Client (UINT8 *server_ip_address, CHAR *);
STATUS PPP_Dial (CHAR *number, CHAR *, UINT8 *);
STATUS PPP_Set_Link_Options (CHAR *, NU_LCP_OPTIONS *, NU_NCP_OPTIONS *);
STATUS PPP_Event_Handler (DV_DEVICE_ENTRY *, UNSIGNED);
STATUS PPP_Add_Header(DV_DEVICE_ENTRY *, NET_BUFFER *);
VOID PPP_Init_State(DV_DEVICE_ENTRY *dev_ptr);
STATUS PPP_Terminate_Link(DV_DEVICE_ENTRY *dev_ptr);
STATUS PPP_Abort_Wait_For_Client (CHAR *link_name);
VOID PPP_Stop_All_Timers(DV_DEVICE_ENTRY *dev_ptr);
INT32 PPP_Last_Activity_Time(CHAR *link_name);
STATUS PPP_Negotiation_Timeout(CHAR*, INT, UINT16*);
STATUS PPP_Obtain_Connection_Status(CHAR *link_name);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -