which model for PPP framing?

Hi, All:

In windows unimodem structure, TAPI->Unimodem->modem.sys->WDM modem
driver, which part is responsible for PPP framing.

Or other model?

Thanks!

none of them. Look for NDISWAN in the DDK documentation.

  • Vitaly

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@zte.com.cn
Sent: Monday, August 16, 2004 2:13 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] which model for PPP framing?

Hi, All:

In windows unimodem structure, TAPI->Unimodem->modem.sys->WDM modem
driver, which part is responsible for PPP framing.

Or other model?

Thanks! — Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@relicore.com To unsubscribe send a blank
email to xxxxx@lists.osr.com

Unimodem has nothing to do with PPP. It only dials numbers and accepts incoming calls, and does not participate in data traffic.
Modem.sys seems to have the only goal of being a bus driver to provide the PDO for a voice modem’s wave facility.

The PPP framing is done by AsyncMac.sys.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: xxxxx@zte.com.cn
To: Windows System Software Devs Interest List
Sent: Monday, August 16, 2004 10:13 AM
Subject: [ntdev] which model for PPP framing?

Hi, All:

In windows unimodem structure, TAPI->Unimodem->modem.sys->WDM modem driver, which part is responsible for PPP framing.

Or other model?

Thanks! — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

So, what’s the data traffic stack ? And if a data/fax modem stack , what’s
the Modem.sys role?

Unimodem has nothing to do with PPP. It only dials numbers and accepts
incoming calls, and does not participate in data traffic.
Modem.sys seems to have the only goal of being a bus driver to provide
the PDO for a voice modem’s wave facility.

The PPP framing is done by AsyncMac.sys.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: xxxxx@zte.com.cn
To: Windows System Software Devs Interest List
Sent: Monday, August 16, 2004 10:13 AM
Subject: [ntdev] which model for PPP framing?

Hi, All:

In windows unimodem structure, TAPI->Unimodem->modem.sys->WDM modem
driver, which part is responsible for PPP framing.

Or other model?

Thanks! — Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to
xxxxx@lists.osr.com

Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@zte.com.cn
To unsubscribe send a blank email to xxxxx@lists.osr.com

*******************************************
本邮件已经过垃圾邮件过滤,如发现垃圾
邮件,请转发至:xxxxx@zte.com.cn
********************************************

Data traffic stack for dialup:

TCPIP ->(1)-> WANARP ->(2)-> NDISWAN ->(3)-> ASYNCMAC ->(4)-> SERIAL -> hardware.

Interface 1 is undocumented “custom ARP” interface - exports from TCPIP.SYS.
Interface 2 is the NDIS protocol/miniport interface which uses fake Ethernet frames, where the MAC addresses are some internal tokens or even pointers to some structures.
Interface 3 is the NDIS WAN Miniport interface, which uses simple HDLC frame format (documented).
Interface 4 is the serial driver’s upper edge.

WANARP ties together IP with NDISWAN, forms the fake Ethernet headers, and also deals with route table entry registration for PPP interfaces (which is by far another then for Ethernet).
NDISWAN is a PPP core. It does the things like connection establishment (undocumented IOCTLs from user mode RAS to NDISWAN), PPP compression, PPP crypto, BAP, multi-link and so on.
ASYNCMAC is “PPP over serial”. It does the “PPP over serial” stuff like escape characters, and also converts the byte-wise semantics of the serial port to the packet-wise semantics of the networking stacks.

Modem.sys is probably a dummy stub for data or fax modes. It works as a bus driver for voice modems, and creates a PDO for the modem’s wave facility.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: xxxxx@zte.com.cn
To: Windows System Software Devs Interest List
Sent: Wednesday, August 18, 2004 9:52 AM
Subject: Re: Re: [ntdev] which model for PPP framing?

So, what’s the data traffic stack ? And if a data/fax modem stack , what’s the Modem.sys role?

Unimodem has nothing to do with PPP. It only dials numbers and accepts incoming calls, and does not participate in data traffic.
Modem.sys seems to have the only goal of being a bus driver to provide the PDO for a voice modem’s wave facility.

The PPP framing is done by AsyncMac.sys.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: xxxxx@zte.com.cn
To: Windows System Software Devs Interest List
Sent: Monday, August 16, 2004 10:13 AM
Subject: [ntdev] which model for PPP framing?

Hi, All:

In windows unimodem structure, TAPI->Unimodem->modem.sys->WDM modem driver, which part is responsible for PPP framing.

Or other model?

Thanks! — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@zte.com.cn
To unsubscribe send a blank email to xxxxx@lists.osr.com

*******************************************
???e’Ra>a??c>?e??az?a??e’Ra>e???>?i??a?'a?'cZ?az?a??
e’Ra>i??e??e??a?'e??i?xxxxx@zte.com.cn
********************************************
— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com