From owner-freebsd-net@FreeBSD.ORG Sun Aug 24 11:49:50 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2083616A4BF for ; Sun, 24 Aug 2003 11:49:50 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 7390543FE3 for ; Sun, 24 Aug 2003 11:49:48 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 31989 invoked by uid 5013); 24 Aug 2003 17:40:08 -0000 Date: Sun, 24 Aug 2003 18:40:08 +0100 From: Bruce M Simpson To: Bill Fenner , freebsd-net@freebsd.org, wes@freebsd.org Message-ID: <20030824174008.GI1417@spc.org> Mail-Followup-To: Bruce M Simpson , Bill Fenner , freebsd-net@freebsd.org, wes@freebsd.org References: <200308221318.h7MDIwW24087@windsor.research.att.com> <20030822183018.GH1417@spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030822183018.GH1417@spc.org> User-Agent: Mutt/1.4.1i Organization: SPC Subject: Re: Receiving INADDR_BROADCAST packets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 18:49:50 -0000 On Fri, Aug 22, 2003 at 07:30:18PM +0100, Bruce M Simpson wrote: > I probably wouldn't need to bind sockets to each interface if I were doing > purely broadcast traffic. I'm happy with what works for the time being, > however; I may revisit this if I ever implement IPv6 support for the daemon > I'm currently hacking. IP_ONESBCAST has saved a lot of trouble for me. I take that back, I just rewrote my code to use IP_SETSRCADDR and have seen a corresponding shrink in my interface setup and event dispatch code. This rocks! BMS