280880
280880 

所属分类:其他小程序
开发工具:Others
文件大小:62KB
下载次数:1
上传日期:2018-03-29 21:54:52
上 传 者BL&1769
说明:  此源码主要是PPPOE的VC编译程序,用来实现windows下的PPPOE的功能,

文件列表:
8adapter.c (1591, 2001-06-27)
A4b.bat (7, 2001-06-11)
Cn700.com.txt (2916, 2004-10-04)
CVS (0, 2017-11-17)
CVS\Entries (1388, 2003-03-03)
CVS\Entries.Extra (491, 2003-03-03)
CVS\Repository (7, 2003-03-03)
CVS\Root (55, 2003-03-03)
debug.c (807, 2001-06-27)
debug.h (828, 2001-06-27)
discovery.c (8265, 2001-06-27)
discovery.h (757, 2001-06-27)
main.c (3157, 2001-06-27)
main.h (808, 2001-06-27)
makefile (249, 2001-06-11)
miniport.c (9957, 2001-06-27)
miniport.h (839, 2001-06-27)
mtpppoe.dll (1052, 2001-06-11)
my.h (649, 2001-06-27)
my_string.c (2109, 2001-06-27)
my_string.h (783, 2001-06-27)
oid.c (22251, 2001-06-27)
oid.h (766, 2001-06-27)
packet.c (4160, 2001-06-27)
packet.h (2243, 2001-06-27)
pppoe.c (14809, 2001-06-27)
pppoe.h (1032, 2001-06-27)
pppoe_miniport.inf (1714, 2001-06-11)
pppoe_protocol.inf (3330, 2001-06-11)
protocol.c (18637, 2001-06-27)
protocol.h (621, 2001-06-27)
request.c (7018, 2001-06-27)
request.h (922, 2001-06-27)
sources (762, 2001-06-11)
stepbystep.htm (7338, 2001-06-11)
todo (947, 2001-06-11)
Win2000_Dll (0, 2017-11-17)
... ...

Current state of the driver: Works fine for Windows 2000 and most likely for Windows ***/***Se/Me, but there are problems in installation which needs to be fixed. Some tips how to compile this project. We were using MSVC 6.0 for driver, so we recommend you do the same. Also you need Windows 2000 DDK which can be downloaded from Microsoft. It is expected that you are familiar with Windows 2000 driver development and with network driver design in general. Also knowledge of pppoe itself is recommended. For path conformance it is recommended to put driver in %DDK_DIR%\src\network\ndis\pppoe\ Also you need to edit sources file, as there is path to VC++ include directory, which most likely will differ. To compile driver use 'build' utility from Windows2000 Checked/Free build environment. There is lot of debug output you can see if you are using WinDbg or similar utility which intercepts DbgPrint function calls. To compile notify object dll for Windows 2000 just use the build utility and everything should work fine (maybe you just need to add include directories in "sources" file). As you may notice, it is just a little bit changed version of sfilter example from Windows 2000 DDK. About driver architecture: Driver is made as Ndis 4.0 intermediate mode driver. And is layered between ethernet card drivers and NDISWAN (Microsoft PPP stack). Code Tour: adapter.c - functions which creates, destroys ADAPT'er objects. adapter.h - Declares ADAPT(er) structure. Examine passtrough example to understand meaning of this ADAPT(er) structure. It keeps info about miniport and protocol who have been binded to this adapter. Also it keeps current state of pppoe connections. Values who relates to protocol begin with prefix 'proto'. Those who relate to miniport those begin with 'mini' and those who to pppoe those begin with 'pppoe'. Also there are some other structures declared who relates to packet management. changes - This file reflects changes between versions. debug.c - Contains debug print functions. Used for debug output. debug.h - Declares debug functions and macros. discovery.c - Contains functions which handles various types of received pppoe packets. discovery.h - Function declarations for discovery.c main.c - DriverEntry functions and driver unload handler. Also global variable definitions. main.h - Several global variable declarations. makefile - Makefile (does nothing) miniport.c - Contains all functions which miniport should provide to ndis. Also contains function related to TAPI line/call management. miniport.h - Function declarations for miniport.c mtpppoe.dll - Coinstaller dll for windows 2000 my.h - Precompiled header file my_string.h - Several useful string manipulation functions. my_string.c - Function declarations for my_string.c oid.c - Functions which handle various OID's. oid.h - Declares oid handling function. packet.c - Packet management utilities. Functions for adding various pppoe tags to the network packets. packet.h - PPPoE packet structure, various constants related to the pppoe and function declarations for packet.c pppoe.c - Biggest part of the pppoe logic is located there. pppoe.h - Function declarations for pppoe.c pppoe_miniport.inf - PPPoE driver miniport inf file. pppoe_miniport.inf - PPPoE driver protocol inf file. protocol.c - All functions which should be provided to ndis by protocol driver. protocol.h - Nothing much... ;) readme - this file request.c - Function which dispatches oid's to appropriate handlers and if oid's complete later, calls appropriate complete handlers. request.h - Declarations of oid handling functions. sources - real makefile. stepbystep.html - Step by step guide how to install pppoe driver on Windows 2000

近期下载者

相关文件


收藏者