flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Custom networking devices. |
Author |
|
revolution 29 Apr 2011, 03:07
Almost all network interface chips do exactly what you explain above. Most have internal buffers also for caching stuff. All you need to add is a DMA controller chip and the CPU (with software) and you're done.
But even the humble NICs that are so cheap to buy do this also. Just program up a driver for your current PC and you are good to go. |
|||
29 Apr 2011, 03:07 |
|
Madis731 29 Apr 2011, 17:03
Considering that simple NIC drivers can be written in few hundred lines of assembler, it isn't a huge task to make it support your own protocol on top of that.
http://code.google.com/p/baremetal/source/browse/trunk/os/drivers/net/rtl8139.asm When you build your own, it takes time and money and testing. |
|||
29 Apr 2011, 17:03 |
|
jatos 29 Apr 2011, 20:19
revolution wrote: Almost all network interface chips do exactly what you explain above. Most have internal buffers also for caching stuff. All you need to add is a DMA controller chip and the CPU (with software) and you're done. How many of them would allow me then to implement the layer 2 protocol, as I don't wish to use Ethernet. [edit] Actually, better question, so basically most network interface chips would read data received in raw without processing it in any way if told so, without any layer 2 processing?[/edit] _________________ Jamie |
|||
29 Apr 2011, 20:19 |
|
garystampa 01 Jun 2011, 22:21
The chips I've worked with have no idea about protocols.
You can also implement non IEEE packet sizes. The chips are more powerful than most networks take advantage of due to lots of legacy. I think IPv6 intends to unleash some or all of this lost capability. |
|||
01 Jun 2011, 22:21 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.