summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-24 15:23:05 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-24 15:23:05 +0000
commit8fd465a2b9ec1b2e9041eb7166818e79ccb81af3 (patch)
treec629f3becd7ee5e37e86a7e6bcd536c63da977ff /share/man/man4
parent585c6f149abcf71dad738b4d53f39bb35f74ed07 (diff)
add ip6(4) into reference. add AF_INET6 samples.
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/tcp.47
-rw-r--r--share/man/man4/udp.47
2 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index a862e824c61..7d49d16a70f 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -44,6 +44,8 @@
.Fd #include <netinet/in.h>
.Ft int
.Fn socket AF_INET SOCK_STREAM 0
+.Ft int
+.Fn socket AF_INET6 SOCK_STREAM 0
.Sh DESCRIPTION
The
.Tn TCP
@@ -146,7 +148,9 @@ Options at the
transport level may be used with
.Tn TCP ;
see
-.Xr ip 4 .
+.Xr ip 4
+or
+.Xr ip6 4 .
Incoming connection requests that are source-routed are noted,
and the reverse source route is used in responding.
.Sh DIAGNOSTICS
@@ -183,6 +187,7 @@ exists.
.Xr inet 4 ,
.Xr inet6 4 ,
.Xr ip 4 ,
+.Xr ip6 4 ,
.Xr netintro 4
.Sh HISTORY
The
diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4
index 32970163053..259dac4197c 100644
--- a/share/man/man4/udp.4
+++ b/share/man/man4/udp.4
@@ -44,6 +44,8 @@
.Fd #include <netinet/in.h>
.Ft int
.Fn socket AF_INET SOCK_DGRAM 0
+.Ft int
+.Fn socket AF_INET6 SOCK_DGRAM 0
.Sh DESCRIPTION
.Tn UDP
is a simple, unreliable datagram protocol which is used
@@ -100,7 +102,9 @@ Options at the
transport level may be used with
.Tn UDP ;
see
-.Xr ip 4 .
+.Xr ip 4
+or
+.Xr ip6 4 .
.Sh DIAGNOSTICS
A socket operation may fail with one of the following errors returned:
.Bl -tag -width [EADDRNOTAVAIL]
@@ -132,6 +136,7 @@ exists.
.Xr inet 4 ,
.Xr inet6 4 ,
.Xr ip 4 ,
+.Xr ip6 4 ,
.Xr netintro 4
.Sh HISTORY
The