Date: Fri, 7 Sep 2001 10:07:43 -0700 From: Bill Fenner <fenner@research.att.com> To: arch@freebsd.org Subject: Causing <netinet/in.h> to depend on <sys/socket.h> Message-ID: <200109071707.KAA21161@windsor.research.att.com>
next in thread | raw e-mail | index | archive | help
Hi, I'd like to import these IGMPv3 patches from KPN/ICSI ( http://home.hetnet.nl/~wilbertdg/igmpv3.html ), but I'm wary of one problem: the IGMPv3 API requires that <netinet/in.h> depends on <sys/socket.h>, due to the use of struct sockaddr_storage in structs that are past to setsockopt(). The easy solution is to #include <sys/socket.h> in <netinet/in.h> (perhaps protected with #ifndef _SYS_SOCKET_H_), but I've got the feeling that'll get some pushback. The API is still being specified (although it's also been implemented a couple of places, so changes will have to be well-justified); the current draft is available at http://www.ietf.org/internet-drafts/draft-ietf-idmr-msf-api-02.txt I'm open to any comments. Thanks, Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109071707.KAA21161>