diff options
| author | haesbaert <> | 2011-09-17 14:10:05 +0000 |
|---|---|---|
| committer | haesbaert <> | 2011-09-17 14:10:05 +0000 |
| commit | 055b0d39ba2e00cb1bd97a03d4337bde26434ae5 (patch) | |
| tree | 9bef3d73231dd68443d5a20e51b0c62a238e62e5 /src/usr.bin/nc/nc.1 | |
| parent | 38b6e8874b008af5ff4f45ca415a60c22a30aeed (diff) | |
| download | openbsd-055b0d39ba2e00cb1bd97a03d4337bde26434ae5.tar.gz openbsd-055b0d39ba2e00cb1bd97a03d4337bde26434ae5.tar.bz2 openbsd-055b0d39ba2e00cb1bd97a03d4337bde26434ae5.zip | |
Standarize the ToS option across nc/ping/traceroute so that they'll
accept the same values as pf.conf. It accepts decimal, hexadecimal and
the dscp/tos keywords. The ping option was ripped of in SMALL.
ok mcbride@ sthen@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
| -rw-r--r-- | src/usr.bin/nc/nc.1 | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index f9bd5b153e..6a1538cb45 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.57 2011/01/09 22:16:46 jeremy Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.58 2011/09/17 14:10:05 haesbaert 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: January 9 2011 $ | 28 | .Dd $Mdocdate: September 17 2011 $ |
| 29 | .Dt NC 1 | 29 | .Dt NC 1 |
| 30 | .Os | 30 | .Os |
| 31 | .Sh NAME | 31 | .Sh NAME |
| @@ -41,7 +41,7 @@ | |||
| 41 | .Op Fl P Ar proxy_username | 41 | .Op Fl P Ar proxy_username |
| 42 | .Op Fl p Ar source_port | 42 | .Op Fl p Ar source_port |
| 43 | .Op Fl s Ar source | 43 | .Op Fl s Ar source |
| 44 | .Op Fl T Ar ToS | 44 | .Op Fl T Ar toskeyword |
| 45 | .Op Fl V Ar rtable | 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 |
| @@ -164,14 +164,21 @@ to create and use so that datagrams can be received. | |||
| 164 | It is an error to use this option in conjunction with the | 164 | It is an error to use this option in conjunction with the |
| 165 | .Fl l | 165 | .Fl l |
| 166 | option. | 166 | option. |
| 167 | .It Fl T Ar ToS | 167 | .It Fl T Ar toskeyword |
| 168 | Specifies IP Type of Service (ToS) for the connection. | 168 | Change IPv4 TOS value. |
| 169 | Valid values are the tokens | 169 | .Ar toskeyword |
| 170 | .Dq lowdelay , | 170 | may be one of |
| 171 | .Dq throughput , | 171 | .Ar critical , |
| 172 | .Dq reliability , | 172 | .Ar inetcontrol , |
| 173 | or an 8-bit hexadecimal value preceded by | 173 | .Ar lowdelay , |
| 174 | .Dq 0x . | 174 | .Ar netcontrol , |
| 175 | .Ar throughput , | ||
| 176 | .Ar reliability , | ||
| 177 | or one of the DiffServ Code Points: | ||
| 178 | .Ar ef , | ||
| 179 | .Ar af11 ... af43 , | ||
| 180 | .Ar cs0 ... cs7 ; | ||
| 181 | or a number in either hex or decimal. | ||
| 175 | .It Fl t | 182 | .It Fl t |
| 176 | Causes | 183 | Causes |
| 177 | .Nm | 184 | .Nm |
