diff options
author | 2000-05-24 15:23:03 +0000 | |
---|---|---|
committer | 2000-05-24 15:23:03 +0000 | |
commit | cbb0564868abc571572890021b0b52f6bc6236f0 (patch) | |
tree | 404c87fac0da822228f7811e0f18e7e7bb0bd518 | |
parent | add AF_INET6. (diff) | |
download | wireguard-openbsd-cbb0564868abc571572890021b0b52f6bc6236f0.tar.xz wireguard-openbsd-cbb0564868abc571572890021b0b52f6bc6236f0.zip |
add ip6(4) into reference. add AF_INET6 samples.
-rw-r--r-- | share/man/man4/tcp.4 | 7 | ||||
-rw-r--r-- | share/man/man4/udp.4 | 7 |
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 |