netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Need to build my own protocol handler...
@ 2002-10-01  6:51 Markus Adolfsson
  2002-10-01  6:58 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Adolfsson @ 2002-10-01  6:51 UTC (permalink / raw)
  To: netdev

My name is Markus Adolfsson and I'm a 25 year old master student at 
University of Halmstad in Sweden. We are currently developing end nodes in 
Linux that must be able to generate and receive Ethernet frames with as 
little interference as possible from existing protocols.

We know how to solve the problem in user space by developing some sort of 
deamon that uses PF_SOCKET and delivers incoming traffic matching a certain 
pattern to our end node application. However, our master thesis project's 
keyword is determinism and a latency > 5 ms is not acceptable.

Since the only way out of this requires a kernel space implementation, we 
need to build our own protocol handler that receives and handles our 
traffic. I've studied a couple of your articles at www.linuxjournal.com but 
would really appreciate your guidance.

I'd like to be able to do a "Other Layer 3 Protocol Handler" as seen in 
www.linuxjournal.com/modules/NS-lj-issues/issue95/5617f1.png but I find it 
quite difficult to understand all of the source code in similar handlers 
such as /net/ipv4. Which files should I look into and what are the 
essential functions that I would have to redefine? The files are quite big 
and some sort of map would really be nice, indicating which function that 
calls ip_init() in net/ipv4/ip_output.c? Where would I need to register my 
"own" protocol handler? I'm an experienced programmer but I have never been 
hacking in the Linux kernel before...

.I realize that this probably is a quite big question that probably need a 
rather big answer but I'm starting to get a little bit desperate and any 
help of yours is highly appreciated;)

-- Best regards, Markus Adolfsson 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-01  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-01  6:51 Need to build my own protocol handler Markus Adolfsson
2002-10-01  6:58 ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).