Thanks for the kind help!
where can I find detailed spec for a NIC packet that
is captured by IM driver?? I want to understand the
data structure of the packet. For example, I like to
know which part is the IP, port number, which part is
the data etc.
–henry
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
See the NDIS Packet Discussion for a start. At the URL:
http://www.pcausa.com/resources/ndispacket.htm
The basic structure of packet data is not specific to Microsoft or Windows.
The defining specifications are in the public domain. I would advise you to
find some books about networking. That will save lots of inquires in the
newsgroups.
Here are some other places to look:
See http://www.protocols.com for a starter.
There are many other sites that list the RFCs that define these protocols,
but this one is easy to remember.
The Winsock FAQ is also a good place to visit. See the URL:
http://tangentsoft.net/wskfaq/
Good luck,
Thomas F. Divine
PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:
“noil sg” wrote in message news:xxxxx@ntdev…
>
> Thanks for the kind help!
>
> where can I find detailed spec for a NIC packet that
> is captured by IM driver?? I want to understand the
> data structure of the packet. For example, I like to
> know which part is the IP, port number, which part is
> the data etc.
>
> --henry
></http:></http:>
Read IP RFCs and some text on Ethernet.
In fact, the simplest Ethernet format (DIX) used by IP by default (according to RFC1122) is:
6 bytes destination MAC address
6 bytes source MAC address
2 bytes protocol ID.
802.3 is more complex Ethernet format, they use packet length instead of protocol ID and have additional sub-header called SNAP
which keeps the protocol ID, among some other fields.
Max
----- Original Message -----
From: “noil sg”
To: “NT Developers Interest List”
Sent: Thursday, May 23, 2002 10:26 AM
Subject: [ntdev] IM driver for NIC etc
> Thanks for the kind help!
>
> where can I find detailed spec for a NIC packet that
> is captured by IM driver?? I want to understand the
> data structure of the packet. For example, I like to
> know which part is the IP, port number, which part is
> the data etc.
>
> --henry
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>