Hi,
mariuszp wrote:
Yes, I know that the NE2000 sends and receives ethernet packets. However, loooking at wikipedia (
https://en.wikipedia.org/wiki/Ethernet_frame ) it talks about a specific format of an ethernet frame, which start with a preamable etc.
This is what you'd see if you connected some sort of measuring device (e.g. an oscilloscope) to the wire/s in the network cable. The ethernet card's hardware is responsible for the preamble, start of frame delimiter and interpacket gap.
The network card driver would need to provide source and destination MAC addresses, optional tag, ethertype/length, payload and CRC. The driver can calculate the CRC itself, so normal software doesn't/wouldn't provide that; although some ethernet cards (not NE2000) have hardware to calculate the CRC for the driver.
Normal software would only need to provide source and destination MAC addresses, optional tag, ethertype/length and payload.
Cheers,
Brendan