Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ppppap.h
Package: export.zip [view]
Upload User: hepax88
Upload Date: 2007-01-03
Package Size: 1101k
Code Size: 1k
Category:
TCP/IP Stack
Development Platform:
Visual C++
- #ifndef _PPPPAP_H
- #define _PPPPAP_H
- /* PAP config packet codes */
- /* PAP control block */
- struct pap_s {
- char *username; /* Username for REQ */
- char *password; /* Password for REQ */
- char *message; /* message from last ACK/NAK */
- struct proc *pp; /* user/password process */
- };
- #define PAP_REQ_TRY 100 /* REQ attempts */
- #define PAP_FAIL_MAX 5 /* # attempts from remote */
- #define PAP_TIMEOUT 3 /* Seconds to wait for response */
- int pap_local(struct ppp_s *ppp_p);
- int pap_remote(struct ppp_s *ppp_p);
- void pap_down(struct fsm_s *fsm_p);
- void pap_proc(struct fsm_s *fsm_p, struct mbuf **bpp);
- int doppp_pap(int argc, char *argv[], void *p);
- void pap_init(struct ppp_s *ppp_p);
- #endif /* _PPPPAP_H */