NetBSD Problem Report #23422

Received: (qmail 19246 invoked by uid 605); 13 Nov 2003 05:02:46 -0000
Message-Id: <20031113050245.3E9A311153@narn.netbsd.org>
Date: Thu, 13 Nov 2003 05:02:45 +0000 (UTC)
From: flash@pobox.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: flash@pobox.com
To: gnats-bugs@gnats.NetBSD.org
Subject: ip_mroute.h uses u_int32_t without including a header defining it
X-Send-Pr-Version: www-1.0

>Number:         23422
>Category:       lib
>Synopsis:       ip_mroute.h uses u_int32_t without including a header defining it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 13 05:03:00 +0000 2003
>Closed-Date:    
>Last-Modified:  Thu Nov 13 21:21:23 +0000 2003
>Originator:     Flash Sheridan
>Release:        n/a
>Organization:
>Environment:
n/a
>Description:
ip_mroute.h (1.19.16.1 2003/06/30 02:21:21) uses u_int32_t in the following line:

typedef u_int32_t vifbitmap_t;

but does not include a header defining it.  Similarly u_int16_t in the next line.
I believe there are similar problems in icmp6.h, igmp.h, ip.h, ip6.h, ip_icmp.h, tcp.h, and udp.h, though I haven't verified that they're not fixed in a later version than the one I have.
This seems unlikely to present a serious problem to anyone else, since the relevant header is presumably already being included whenever these files are used.
>How-To-Repeat:
n/a
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: standards-manager->lib-bug-people 
Responsible-Changed-By: kleink 
Responsible-Changed-When: Thu Nov 13 21:16:25 UTC 2003 
Responsible-Changed-Why:  
I'm reassigning this to lib because this issue as such isn't a standards 
issue; neither of the aforementioned headers are standardized interfaces, 
where "standardized" means "defined in an industry standard specification 
we attempt to conform to". 

Whether (all of) the installed headers visible to userland should be 
able to be included without any pre-requisites is also a policy decision 
to be made and thus also out of the domain of standards. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.