From: Yijun on
Thx, Igor. I breifly looked at the ndiswdm sample, it uses NDISPROT as WDM
lower edge, should I modify it to serial interface? I am confused with that
you said the driver need to present to NDIS ethernet not IP packet. The
sample deals with ethernet frame, but for dial-up connection, I thought the
IP packet are encapsulated in the PPP frame.

"eagersh" wrote:

> On Apr 5, 2:11 pm, Andy <A...(a)discussions.microsoft.com> wrote:
> > Hi,
> >
> > I need to create a tunnel on dial-up connection, which captures some type of
> > IP packets, and also sends some IP packets to dial-up connection.
> > For ethernet connection, I can use NDIS protocol to send/receive IP packets
> > encapsulated in the ethernet frame. But How can I accomplish that on dial-up
> > connection. Any advice are greatly appreciated.
>
> You could use a virtual NDIS miniport driver. The upper edge interface
> of such driver would be connected to NDIS but the lower edge to serial
> interface. But you should remember that you need to present to NDIS
> Ethernet not IP packets.
> Look at \WinDDK\7600.16385.1\src\network\ndis\ndiswdm sample. It
> should help you.
>
> Igor Sharovar
> .
>