From d1a47f5f2c94d4f56445934cf40ed06f276a11f2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 19 Feb 2000 14:41:12 +0000 Subject: documentation updates; paik@webnexus.com --- share/man/man4/inet.4 | 9 +++++---- share/man/man4/netintro.4 | 8 ++++---- share/man/man4/ns.4 | 5 +++-- 3 files changed, 12 insertions(+), 10 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 diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4 index aac58f3d305..ecf235fc76e 100644 --- a/share/man/man4/netintro.4 +++ b/share/man/man4/netintro.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netintro.4,v 1.15 1999/07/09 13:35:47 aaron Exp $ +.\" $OpenBSD: netintro.4,v 1.16 2000/02/19 14:41:11 deraadt Exp $ .\" $NetBSD: netintro.4,v 1.4 1995/10/19 08:03:40 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -130,9 +130,9 @@ the variant, which is discussed in the protocol family manual page alluded to above. .Bd -literal -offset indent struct sockaddr { - u_char sa_len; - u_char sa_family; - char sa_data[14]; + u_int8_t sa_len; + sa_family_t sa_family; + char sa_data[14]; }; .Ed .Pp diff --git a/share/man/man4/ns.4 b/share/man/man4/ns.4 index ca3c59a2420..6845eafd70f 100644 --- a/share/man/man4/ns.4 +++ b/share/man/man4/ns.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ns.4,v 1.6 1999/07/09 13:35:47 aaron Exp $ +.\" $OpenBSD: ns.4,v 1.7 2000/02/19 14:41:11 deraadt Exp $ .\" $NetBSD: ns.4,v 1.3 1994/11/30 16:22:26 jtc Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 @@ -86,7 +86,8 @@ Sockets in the Internet protocol family use the following addressing structure: .Bd -literal -offset indent struct sockaddr_ns { - short sns_family; + u_char sns_len; + u_char sns_family; struct ns_addr sns_addr; char sns_zero[2]; }; -- cgit v1.2.3