Subject: Re: clear m_pkthdr on MGETHDR()
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Olaf Seibert <>
List: tech-net
Date: 06/01/2001 23:23:29
On Fri 01 Jun 2001 at 03:12:24 -0400, der Mouse wrote:
> I note that struct pkthdr includes a pointer.  Is it correct to deduce
> that NetBSD doesn't care about the nonportability of using bzero/memset
> on a pointer?  (There is nothing in C that requires that all-0-bits be
> anything meaningful, or even copyable, as a pointer value, much less a
> nil pointer.  

We, being the implementors of the compiler and the runtime environment,
can decide that all-0-bits is a null pointer. (nitpick: not nil)

> /~\ The ASCII				der Mouse
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/     --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp