Anonymous | Login | 2024-05-02 21:06 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000952 | [1003.1(2013)/Issue7+TC1] Base Definitions and Headers | Comment | Clarification Requested | 2015-06-02 03:58 | 2019-06-10 08:54 | ||
Reporter | dannyniu | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | DannyNiu/NJF | ||||||
Organization | |||||||
User Reference | |||||||
Section | netinet/in.h - Internet address family | ||||||
Page Number | 307 | ||||||
Line Number | 10269 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | Note: 0002751 | ||||||
Summary | 0000952: Byte order for INADDR_* | ||||||
Description |
The standard defines the INADDR_ANY and INADDR_BROADCAST symbolic constants for IPv4 local host and broadcast address, but it did not specify their byte order. While according to the official RFCs, both of these two addresses are byte-order-neutrual, it would cause trouble for system developers when defining implementation-specific INADDR_* macros, because they don't know what byte order they should be in, and for app developers because they don't know if they should htonl() the constants. LSB did us a favor by defining INADDR_LOOPBACK as exactly 0x7f000001. And I feel it's important for us to clarify this. |
||||||
Desired Action |
On page 307 line 10269-10270 Change: The <netinet/in.h> header shall define the following symbolic constants for use as destination addresses for connect( ), sendmsg( ), and sendto( ) To: The <netinet/in.h> header shall define the following symbolic constants in host byte order, for use as destination addresses for connect( ), sendmsg( ), and sendto( ) |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2015-06-02 03:58 | dannyniu | New Issue | |
2015-06-02 03:58 | dannyniu | Name | => DannyNiu/NJF |
2015-06-02 03:58 | dannyniu | Section | => netinet/in.h - Internet address family |
2015-06-02 03:58 | dannyniu | Page Number | => 307 |
2015-06-02 03:58 | dannyniu | Line Number | => 10269 |
2015-06-13 23:04 | shware_systems | Note Added: 0002711 | |
2015-06-13 23:05 | shware_systems | Note Edited: 0002711 | |
2015-06-14 07:04 | dannyniu | Note Added: 0002712 | |
2015-06-14 07:07 | dannyniu | Note Edited: 0002712 | |
2015-06-15 09:03 | geoffclare | Note Added: 0002713 | |
2015-06-15 14:26 | shware_systems | Note Added: 0002714 | |
2015-07-09 16:31 | geoffclare | Note Added: 0002751 | |
2015-07-09 16:32 | geoffclare | Interp Status | => --- |
2015-07-09 16:32 | geoffclare | Final Accepted Text | => Note: 0002751 |
2015-07-09 16:32 | geoffclare | Status | New => Resolved |
2015-07-09 16:32 | geoffclare | Resolution | Open => Accepted As Marked |
2015-07-12 08:51 | geoffclare | Tag Attached: tc2-2008 | |
2019-06-10 08:54 | agadmin | Status | Resolved => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |