Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 19:32:13 +0400 (MSD)
From:      "Eugene L. Vorokov" <vel@bugz.infotecs.ru>
To:        freebsd-hackers@freebsd.org
Subject:   catching ip packets from module
Message-ID:  <200107021532.f62FWEw87507@bugz.infotecs.ru>

next in thread | raw e-mail | index | archive | help
Hello,

can please someone enlighten me how can a module catch ip packets before
they actually enter the stack, the way ipfw or ipf does ? I tried to look
at the sources, but ipfw seems to do it some very specific way which
is based on some in-kernel hacks to make it possible (ofcourse correct me
if I'm wrong), and ipf does so many things at startup so I can't figure
out which function does what :( I just want to add my handler so that
all packets would be passed to it before entering the kernel ...

Thanks for the information.

Regards,
Eugene
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107021532.f62FWEw87507>