There is a field in the ethernet header called the ethernet type. I am writing a communication library in windows using raw ethernet frames. What should I do to take the Ethernet type into consideration? The one I must use is 0xBEEF. Does this mean I can't use anything like NDIS?
Asked
Active
Viewed 638 times
3 Answers
3
The best thing to do is to read about EtherType field.
It is used to indicate which protocol is encapsulated in the frame data.
This means that if you use 0xBEEF
, other machines running standard software will not recognize the frame's payload.
You can, of course, send any kind of data in the frame. You will merely have to have your software installed on the receiving end to interpret the data.

avakar
- 32,009
- 9
- 68
- 103
-
So I couldn't, for example, use the NDIS driver? – devin Apr 13 '09 at 21:39
0
Ethernet type is basically the type of the protocol of the data that is contained in that particular Ethernet frame .

user2879844
- 189
- 6
-1
If there aren't very good reasons for doing so, I would never use raw Ethernet frames. It's usually much simpler and more futureproof to e.g. use UDP packets.

Zac67
- 2,761
- 1
- 10
- 21