A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1289 ====================================================================== Reported By: joelsherrill Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1289 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Joel Sherrill Organization: RTEMS.org User Reference: Section: netdb.h Page Number: First paragraph Line Number: NA - used web Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2019-09-27 19:17 UTC Last Modified: 2019-09-27 19:58 UTC ====================================================================== Summary: netdb.h - in_port_t and in_addr_t do not appear to be needed ======================================================================
---------------------------------------------------------------------- (0004572) shware_systems (reporter) - 2019-09-27 19:58 http://austingroupbugs.net/view.php?id=1289#c4572 ---------------------------------------------------------------------- While not directly referenced, the addrinfo structure and getnameinfo() interface use the incomplete sockaddr type, which in practice will be completed with members of those types for IP4 and IP6 sockets. The current wording is, I strongly suspect, from known implementations all doing a #include of another header that declared these types and completed sockaddr before any of the new declarations and prototypes, to leave open some implementaton may choose not to do it this way. The types are required, however, as sockaddr is required to support IP4, at least. Issue History Date Modified Username Field Change ====================================================================== 2019-09-27 19:17 joelsherrill New Issue 2019-09-27 19:17 joelsherrill Name => Joel Sherrill 2019-09-27 19:17 joelsherrill Organization => RTEMS.org 2019-09-27 19:17 joelsherrill Section => netdb.h 2019-09-27 19:17 joelsherrill Page Number => First paragraph 2019-09-27 19:17 joelsherrill Line Number => NA - used web 2019-09-27 19:58 shware_systems Note Added: 0004572 ======================================================================