Date: Tue, 14 Jan 2003 02:41:40 +0300 From: "Radoslav Vasilev" <rado@cablebg.net> To: <freebsd-net@freebsd.org> Cc: <frebsd-hackers@freebsd.org> Subject: kld && inetsw.pr_protocol overriding + old reuse Message-ID: <000501c2bb5d$53dfbe40$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-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c2bb5d$53dfbe40$13e309d9>