RFC3678: header incompatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	not sure if it is for ietf@xxxxxxxxx  please redirect it to appropriate
	group if needed.

	http://www.ietf.org/rfc/rfc3678.txt
	http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html

	RFC3678 defines a C structure with "struct sockaddr_storage"
	inside (for instance, struct group_req in section 5.1), in
	<netinet/in.h>.  however, from POSIX standard, sockaddr_storage is
	defined in <sys/socket.h>.  there is no guarantee that
	<sys/socket.h> is included prior to <netinet/in.h>, and it is not
	possible for <netinet/in.h> to blindly include <sys/socket.h>.

	note: types like sa_family_t are defined in <sys/types.h>, and they
	need not be/shall not be from <sys/socket.h>.

	please update RFC3678 so that it will fit better with POSIX standard.

itojun

_______________________________________________

Ietf@xxxxxxxx
https://www1.ietf.org/mailman/listinfo/ietf

[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]