mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
include/net and include/sys: align the constant values with values in the linux kernel which makes targeting the usrsock server to Linux kernel easier.
This commit is contained in:
@@ -222,6 +222,7 @@ struct sockaddr_in
|
||||
sa_family_t sin_family; /* Address family: AF_INET */
|
||||
in_port_t sin_port; /* Port in network byte order */
|
||||
struct in_addr sin_addr; /* Internet address */
|
||||
uint8_t __pad[8];
|
||||
};
|
||||
|
||||
/* Used with certain IPv4 socket options */
|
||||
|
||||
Reference in New Issue
Block a user