From owner-freebsd-hackers Sat Apr 20 12:39:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA25161 for hackers-outgoing; Sat, 20 Apr 1996 12:39:43 -0700 (PDT) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA25151 Sat, 20 Apr 1996 12:39:33 -0700 (PDT) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.6.12/8.6.9) id VAA12538; Sat, 20 Apr 1996 21:38:58 +0200 From: John Hay Message-Id: <199604201938.VAA12538@zibbi.mikom.csir.co.za> Subject: IPX Netbios packets. To: hackers@FreeBSD.ORG (FreeBSD-hackers) Date: Sat, 20 Apr 1996 21:38:58 +0200 (SAT) Cc: wollman@FreeBSD.ORG X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I am busy implementing the handling of IPX type 20 (Netbios) packets. The basic handling is not my problem. I have that up and running. What I would like to get ideas for is how to enable/disable it per device. The Novell IPX router spesification says that it should not be used on slow links (below 2Mbit/s). You might not even want it on all your ethernet links. So I am looking for a nice generic way to be able to disable it per device. I thought of flags with ifconfig, but I don't like that idea too much. Another way might be with the sysctl interface, but I'm not sure how to do it for different interface without having to add code to every network interface in the kernel. John -- John Hay -- John.Hay@mikom.csir.co.za