summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authorguenther <>2010-07-03 04:44:51 +0000
committerguenther <>2010-07-03 04:44:51 +0000
commit20222bb70ec0922a2c5c86ccf6e1e905366afc66 (patch)
tree940c053dfe4d4af830aa7eb97db4e14e914eb4d5 /src/usr.bin/nc/nc.1
parentb179d7e13dbf37510aaac7c33b6fa9cc4ac756aa (diff)
downloadopenbsd-20222bb70ec0922a2c5c86ccf6e1e905366afc66.tar.gz
openbsd-20222bb70ec0922a2c5c86ccf6e1e905366afc66.tar.bz2
openbsd-20222bb70ec0922a2c5c86ccf6e1e905366afc66.zip
Fix the naming of interfaces and variables for rdomains and rtables
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.110
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 94a2d43cdb..fa0f76b954 100644
--- a/src/usr.bin/nc/nc.1
+++ b/src/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: nc.1,v 1.53 2010/02/23 23:00:52 schwarze Exp $ 1.\" $OpenBSD: nc.1,v 1.54 2010/07/03 04:44:51 guenther Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -25,7 +25,7 @@
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\" 27.\"
28.Dd $Mdocdate: February 23 2010 $ 28.Dd $Mdocdate: July 3 2010 $
29.Dt NC 1 29.Dt NC 1
30.Os 30.Os
31.Sh NAME 31.Sh NAME
@@ -42,7 +42,7 @@
42.Op Fl p Ar source_port 42.Op Fl p Ar source_port
43.Op Fl s Ar source_ip_address 43.Op Fl s Ar source_ip_address
44.Op Fl T Ar ToS 44.Op Fl T Ar ToS
45.Op Fl V Ar rdomain 45.Op Fl V Ar rtable
46.Op Fl w Ar timeout 46.Op Fl w Ar timeout
47.Op Fl X Ar proxy_protocol 47.Op Fl X Ar proxy_protocol
48.Oo Xo 48.Oo Xo
@@ -179,8 +179,8 @@ Specifies to use
179sockets. 179sockets.
180.It Fl u 180.It Fl u
181Use UDP instead of the default option of TCP. 181Use UDP instead of the default option of TCP.
182.It Fl V Ar rdomain 182.It Fl V Ar rtable
183Set the routing domain. 183Set the routing table to be used.
184The default is 0. 184The default is 0.
185.It Fl v 185.It Fl v
186Have 186Have