Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 11:34:04 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Andrzej Bialecki <abial@nask.pl>
Cc:        bryan collins <bryan@coombs.anu.edu.au>, freebsd-current@FreeBSD.ORG
Subject:   Re: /usr/sbin/arp: actual retrieval of routing table
Message-ID:  <199810151534.LAA16665@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.BSF.4.02A.9810150930550.11086-100000@korin.warman.org.pl>
References:  <199810150116.SAA03564@hub.freebsd.org> <Pine.BSF.4.02A.9810150930550.11086-100000@korin.warman.org.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 15 Oct 1998 09:37:33 +0200 (CEST), Andrzej Bialecki <abial@nask.pl> said:

> Perhaps the programs which use this double sysctl(3) calls should allocate
> somewhat bigger buffer than that calculated on basis of previous call,
> anticipating for unexpected change in data size...

Actually, the size-estimate routines often intentionally overestimate
for precisely this reason.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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