Date: Tue, 14 Jan 2003 02:53:05 +0300 From: "Radoslav Vasilev" <rado@cablebg.net> To: <freebsd-net@freebsd.org> Cc: <freebsd-hackers@freebsd.org> Subject: kld && inetsw.pr_protocol overriding + old reuse Message-ID: <000b01c2bb5e$eb42f8f0$13e309d9@deckland>
next in thread | raw e-mail | index | archive | help
I'm interested in whether the following could be acomplished: there's KLD module, installing some new syscalls in the kernel, as well as installing new ``struct ipprotosw'' for some protocol or another(let's assume IPPROTO_UDP). Could we just add some code in the begging of the new protocol handler (counting, statistics , etc...) and call the old one after doing that. If possible, what should be the preparation for that last call ? Any help appreciated! 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?000b01c2bb5e$eb42f8f0$13e309d9>