Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 11:42:47 -0700 (PDT)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        mjacob@feral.com
Cc:        rizzo@aciri.org, freebsd-net@FreeBSD.ORG
Subject:   Re: review of change to bridge.h
Message-ID:  <200110111842.f9BIglx12911@iguana.aciri.org>
In-Reply-To: <20011011114158.G84793-100000@wonky.feral.com> from Matthew Jacob at "Oct 11, 2001 11:42:30 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110111842.f9BIglx12911>