From owner-freebsd-arch Mon Sep 10 2:56:16 2001 Delivered-To: freebsd-arch@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 4B25A37B403 for ; Mon, 10 Sep 2001 02:56:09 -0700 (PDT) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f8A9u2P48370; Mon, 10 Sep 2001 11:56:03 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f8A9uK005061; Mon, 10 Sep 2001 11:56:20 +0200 (CEST) Date: Mon, 10 Sep 2001 11:56:20 +0200 From: Bernd Walter To: Bill Fenner Cc: karels@bsdi.com, arch@FreeBSD.ORG Subject: Re: Causing to depend on Message-ID: <20010910115619.A4979@cicely20.cicely.de> References: <200109072125.OAA25298@windsor.research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109072125.OAA25298@windsor.research.att.com>; from fenner@research.att.com on Fri, Sep 07, 2001 at 02:25:02PM -0700 X-Operating-System: NetBSD cicely20.cicely.de 1.5 sparc Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 07, 2001 at 02:25:02PM -0700, Bill Fenner wrote: > > Sorry for making people guess what I was talking about. > > Concretely, http://www.ietf.org/internet-drafts/draft-ietf-idmr-msf-api-02.txt > requires that #including results in definitions like > the following: > > > struct group_req { > uint32_t gr_interface; /* interface index */ > struct sockaddr_storage gr_group; /* group address */ > }; > > struct group_source_req { > uint32_t gsr_interface; /* interface index */ > struct sockaddr_storage gsr_group; /* group address */ > struct sockaddr_storage gsr_source; /* source address */ > }; > > struct group_filter { > uint32_t gf_interface; /* interface index */ > struct sockaddr_storage gf_group; /* multicast address */ > uint32_t gf_fmode; /* filter mode */ > uint32_t gf_numsrc; /* number of sources */ > struct sockaddr_storage gf_slist[1]; /* source address */ > }; If it is defined as protocol independend it doesn't belong into a protocol dependend header. E.g. I don't want to include netinet/in.h in an IPv6 only application. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message