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:
Xiang Xiao
2018-11-09 11:50:00 -06:00
committed by Gregory Nutt
parent 25f24c2743
commit e0e18fcc74
2 changed files with 14 additions and 13 deletions
+1
View File
@@ -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 */