I've got a project where I need to to implement a protocol between some
units
There is only one hop between all units involved, hence, there is no need
for any network layer routing. It will be a simple connectionless protocol.
The protocol will use the services of the link layer protocols (MAC/LLC). A
special LLC/SNAP header will be used to identify this protocol.
I've looked around at all the networking source, but I'm still unsure as to
what needs to be added/altered. Should I create a new protocol
family(AF_INET,AF_UNIX,etc) for sockets? The protocol sounds somewhat
similar to ipx. Would it be a good idea to attempt to parallel the ipx
code? Is that even necessary? Or can I just register the SNAP packet type
with the network device to receive packets, and to send packets, just call
the device directly with a fully constructed packet?
Basically, I'd like to know what are good references to get a good overview
of the implementation of the networking portion of linux, in addition to
references that are more specific.