Adding new Network Protocol

Hi,

I’m working on implementing a BACnet stack under Dynamic C (based on Steve Kargs stack on SourceForge) and currently have the BACnet/IP based network protocol working.

I’d like to get BACnet over raw ethernet going as well and was wondering if anyone could point me in the right direction when it comes to adding a new protocol to the Rabbit network stack? Is there any recommended way of doing it or will I just have to dive in and figure out which bits of the existing libs to tweak?

Is there any documentation available on the low level network interfaces? i.e. what sits between the Ethernet Drivers and the TCP/IP stack?

Regards,
Peter

Hmm

It would seem, after a little digging, that what I need to do i implement a CUSTOM_ETHERNET_HANDLER and have that process the packets.

Anyone got any experience building such a beast that they would be willing to share?

Regards,
Peter