From owner-freebsd-hackers Sun Sep 13 20:55:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA17630 for freebsd-hackers-outgoing; Sun, 13 Sep 1998 20:55:38 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from banshee.cs.uow.edu.au (banshee.cs.uow.edu.au [130.130.188.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA17620 for ; Sun, 13 Sep 1998 20:55:35 -0700 (PDT) (envelope-from ncb05@banshee.cs.uow.edu.au) Received: (from ncb05@localhost) by banshee.cs.uow.edu.au (8.9.1a/8.9.1) id NAA22896; Mon, 14 Sep 1998 13:55:17 +1000 (EST) Date: Mon, 14 Sep 1998 13:55:16 +1000 (EST) From: Nicholas Charles Brawn X-Sender: ncb05@banshee.cs.uow.edu.au To: freebsd-hackers@FreeBSD.ORG Subject: lkm interaction with kernel Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to figure out how I can write a drop-in lkm that will interact with the kernel with minimal modification of kernel source. The design i am basing it on is ip_fw, but when looking through ip_fw.c, I can't see how it is called from the kernel when a packet arrives to be processed (if ip_fw has been loaded as an lkm). Could someone give me some help to figure this out? Cheers, Nick -- Email: ncb05@uow.edu.au - http://rabble.uow.edu.au/~nick Key fingerprint = DE 30 33 D3 16 91 C8 8D A7 F8 70 03 B7 77 1A 2A "When in doubt, ask someone wiser than yourself..." -unknown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message