summaryrefslogtreecommitdiff
path: root/share/man/man4/inet.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/inet.4')
-rw-r--r--share/man/man4/inet.49
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man4/inet.4 b/share/man/man4/inet.4
index 7264a852cfe..2f9a5f00a56 100644
--- a/share/man/man4/inet.4
+++ b/share/man/man4/inet.4
@@ -71,10 +71,11 @@ Sockets bound to the Internet protocol family utilize
the following addressing structure,
.Bd -literal -offset indent
struct sockaddr_in {
- short sin_family;
- u_short sin_port;
- struct in_addr sin_addr;
- char sin_zero[8];
+ u_int8_t sin_len;
+ sa_family_t sin_family;
+ in_port_t sin_port;
+ struct in_addr sin_addr;
+ int8_t sin_zero[8];
};
.Ed
.Pp