tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: arplookup1(): why static sockaddr_inarp ?



On Tue, Apr 29, 2008 at 10:34:40PM +0000, Steven M. Bellovin wrote:
> On Tue, 29 Apr 2008 13:08:48 -0500
> David Young <dyoung%pobox.com@localhost> wrote:
> 
> > Does anyone know why 'sin' in arplookup1() is static?  If I had to
> > guess, it is a throwback to small-memory machines where it was
> > desirable to save 16 bytes on the stack.
> > 
> Does it need to be explicitly bzero'd first?

Yes.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24


Home | Main Index | Thread Index | Old Index