From owner-freebsd-current Thu Oct 15 08:34:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08653 for freebsd-current-outgoing; Thu, 15 Oct 1998 08:34:47 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08632 for ; Thu, 15 Oct 1998 08:34:38 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id LAA16665; Thu, 15 Oct 1998 11:34:04 -0400 (EDT) (envelope-from wollman) Date: Thu, 15 Oct 1998 11:34:04 -0400 (EDT) From: Garrett Wollman Message-Id: <199810151534.LAA16665@khavrinen.lcs.mit.edu> To: Andrzej Bialecki Cc: bryan collins , freebsd-current@FreeBSD.ORG Subject: Re: /usr/sbin/arp: actual retrieval of routing table In-Reply-To: References: <199810150116.SAA03564@hub.freebsd.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < 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