[Winpcap-users] Is it possible to use the wincap as the
Tx/Rxdata path of my own TCP/IP protocol stack?
simonmychen
simonmychen at pchome.com.tw
Fri Oct 28 01:35:48 GMT 2005
Thanks to guy's response! I know the winpcap's main application is for
network packet capture and analysis. Because I need to find the soultion
that can verify my TCP/IP protocol stack in PC simulation, I just wanna
discuss the possibility of my need by winpcap. Does anyone have tried this
method? If I set the different IP addresses to winsocks and my own TCP/IP
protocol stack, does the network run correctly(two IP in one MAC address)?
Thanks!
----- Original Message -----
From: "Guy Harris" <guy at alum.mit.edu>
To: <winpcap-users at winpcap.org>
Sent: Wednesday, October 26, 2005 2:52 PM
Subject: Re: [Winpcap-users] Is it possible to use the wincap as the
Tx/Rxdata path of my own TCP/IP protocol stack?
> simonmychen wrote:
>
>> I am developing an network enable embedded device. I need to setup a
>> simulation environment to test my TCP/IP protocol stack in windows.
>> 1. Can I use the winpcap as my network driver(winpcap can get/send the
>> packet to ethernet chip) to connect with my TCP/IP protocol?
>
> Any IP packet sent to your machine will be processed by Windows' IP stack.
> A copy will also be handed to WinPcap, but that does *NOT* mean that the
> Windows IP stack will not also receive the packet.
>
> Libpcap/WinPcap is for
>
> 1) applications that passively sniff traffic (tcpdump/WinDump, Ethereal,
> Analyzer, snoop, etc.)
>
> or
>
> 2) applications that are implementing protocols that the OS on which it's
> running does *NOT* implement.
>
> It is *NOT* for replacing the OS's code to process a protocol; in
> particular, the packet capture mechanisms it uses are *NOT* designed to
> let you "take over" the processing of packets from the OS, so it's *NOT*
> designed to let you do your own TCP/IP protocol stack.
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
> ==========================================================
> §K¶O10¤ë¾°V¡G50¦W
> http://edm-prg.epaper.com.tw/click.php?ad_code=809858
> ==========================================================
> SkypeOut ¥´¬ü¥[0.7¤¸/¤À ¥´¤j³°0.9¤¸/¤À ¥ß§YÁʶR>>
> http://skype.pchome.com.tw/skypeout.htm
> ==========================================================
More information about the Winpcap-users
mailing list