[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-netdev
Subject:    Re: Linux Hardware/Software IP Stack Integration for a TOE
From:       Francois Romieu <romieu () cogenit ! fr>
Date:       2001-03-30 8:10:54
[Download RAW message or body]

Gregory Parrott <gparrott@lucent.com> écrit :
[...]
> 3) Where is the best place to hook in?  I could intercept sys_* calls or
> I could hook in at the specific protocol (tcp, udp, raw).  My feeling is
> it will be a combination of the two.

IMVVVHO hooking in inet_create (net/ipv4/af_inet.c):
you register your own proto fields and you may decide to fallback to
the normal one (if your connect operation doesn't succeed for example).
That way the existing stack shouldn't need any modification.

-- 
Ueimor

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic