NetBSD Problem Report #56821

From www@netbsd.org  Sat May  7 13:13:34 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 250C61A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  7 May 2022 13:13:34 +0000 (UTC)
Message-Id: <20220507131332.CB59D1A923C@mollari.NetBSD.org>
Date: Sat,  7 May 2022 13:13:32 +0000 (UTC)
From: andrew.cagney@gmail.com
Reply-To: andrew.cagney@gmail.com
To: gnats-bugs@NetBSD.org
Subject: RT_ADVANCE() vs RT_ROUNDUP()
X-Send-Pr-Version: www-1.0

>Number:         56821
>Category:       lib
>Synopsis:       RT_ADVANCE() vs RT_ROUNDUP()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 07 13:15:00 +0000 2022
>Originator:     Andrew
>Release:        NetBSD 9
>Organization:
>Environment:
NetBSD arm64 9.2_STABLE NetBSD 9.2_STABLE (GENERIC64) #0: Sun Jun 13 09:44:30 EDT 2021
>Description:
route(8) uses the macros RT_ADVANCE() and RT_ROUNDUP() but they (and the need to align) aren't documented in route(4).

Oh, and:

FreeBSD defines the undocumented SO_SIZE().
OpenBSD hides ADVANCE() and ROUNDUP() in route.c

Sigh
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.