From owner-freebsd-net Thu Oct 11 11:50: 2 2001 Delivered-To: freebsd-net@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 1D18637B403 for ; Thu, 11 Oct 2001 11:49:58 -0700 (PDT) Received: from wonky.feral.com (wonky.feral.com [192.67.166.7]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f9BInuH84225; Thu, 11 Oct 2001 11:49:56 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Thu, 11 Oct 2001 11:49:56 -0700 (PDT) From: Matthew Jacob Reply-To: To: Luigi Rizzo Cc: Subject: Re: review of change to bridge.h In-Reply-To: <200110111842.f9BIglx12911@iguana.aciri.org> Message-ID: <20011011114924.O84793-100000@wonky.feral.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Yes- I think I agree with you on this. On Thu, 11 Oct 2001, Luigi Rizzo wrote: > > > > Maybe bcmp is right. I believe having IS_ETHER_BROADCAST is too > > useful a macro.... > > yes, i mean leave it as a macro which calls bcmp, and > let the compiler handle the issue. > > #define IS_ETHER_BROADCAST(a) (!bcmp(a, "\377\377\377\377\377\377", 6)) > > luigi > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message