summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authordtucker <>2005-10-25 03:51:06 +0000
committerdtucker <>2005-10-25 03:51:06 +0000
commit217071930a238940c034c11686f3195c117a4404 (patch)
tree9197b3fe9c348ece06fcd2f323e84a8fd42e78a2 /src/usr.bin/nc/nc.1
parent2f8369815e35a8eedb488c0052bcff027fe7391c (diff)
downloadopenbsd-217071930a238940c034c11686f3195c117a4404.tar.gz
openbsd-217071930a238940c034c11686f3195c117a4404.tar.bz2
openbsd-217071930a238940c034c11686f3195c117a4404.zip
Add a -T option to nc to allow setting of IP type-of-service bits on
connections. Man page corrections jmc@, code corrections and ok djm@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.111
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 773de16135..85e18a53f7 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.40 2005/07/17 19:18:47 jmc Exp $ 1.\" $OpenBSD: nc.1,v 1.41 2005/10/25 03:51:06 dtucker Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -38,6 +38,7 @@
38.Op Fl i Ar interval 38.Op Fl i Ar interval
39.Op Fl p Ar source_port 39.Op Fl p Ar source_port
40.Op Fl s Ar source_ip_address 40.Op Fl s Ar source_ip_address
41.Op Fl T Ar ToS
41.Op Fl w Ar timeout 42.Op Fl w Ar timeout
42.Op Fl X Ar proxy_protocol 43.Op Fl X Ar proxy_protocol
43.Oo Xo 44.Oo Xo
@@ -145,6 +146,14 @@ Specifies the IP of the interface which is used to send the packets.
145It is an error to use this option in conjunction with the 146It is an error to use this option in conjunction with the
146.Fl l 147.Fl l
147option. 148option.
149.It Fl T Ar ToS
150Specifies IP Type of Service (ToS) for the connection.
151Valid values are the tokens
152.Dq lowdelay ,
153.Dq throughput ,
154.Dq reliability ,
155or an 8-bit hexadecimal value preceded by
156.Dq 0x .
148.It Fl t 157.It Fl t
149Causes 158Causes
150.Nm 159.Nm