~ubuntu-branches/ubuntu/oneiric/iptables/oneiric

« back to all changes in this revision

Viewing changes to extensions/libxt_TOS.man

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge, Lorenzo De Liso, Jamie Strandboge
  • Date: 2010-11-12 15:58:40 UTC
  • mfrom: (5.1.8 upstream) (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20101112155840-jm07l9o9722h0bvm
Tags: 1.4.10-1ubuntu1
[ Lorenzo De Liso ]
* Merge from debian unstable (LP: #671652), remaining changes:
  - Don't fail to run iptables-save if iptables module isn't loaded.
  - Revert changes between 1.4.1.1-3 and 1.4.1.1-4, thus bringing back
    the howtos.
  - Added linuxdoc-tools to Build-Depends
  - Modified debian/iptables{,-dev}.install to match DM syntax
    (removed debian/tmp)
  - Added -fno-strict-aliasing -Werror switches to regular_CFLAGS
    for catching errors early
  - Removed unused TC_NUM_RULES() and TC_GET_RULE()
* debian/patches/03-compilation-error.patch: updated
* debian/patches/0600-makefile_jedi_handwaving.patch: updated
* Dropped changes:
  - debian/patches/0902-docs-version-reference.diff: modifies files inside
    the debian/ directory and hence is not needed

[ Jamie Strandboge ]
* debian/patches/9000-howtos.patch:
  - combine 0102-howtos.patch and 0103-sgml_errors.patch into this patch
    and apply after the Debian patches for easier maintenance
  - add DEP-3 comments
* debian/patches/9001-build-libipq_pic.la.patch:
  - Build libipq_pic.la with -fPIC
  - add DEP-3 comments
* debian/iptables-dev.install: install lib/*.la in usr/lib
* merge debian/patches/9002-xt_recent-reap.patch:
  - support for the xt_recent filter --reap switch (refreshed and updated)
  - add DEP-3 comments
* debian/patches/9003-compilation-error.patch:
  - renamed 03-compilation-error.patch as 9003-compilation-error.patch
  - apply after Debian patches for easier maintenance
  - add DEP-3 comments
* debian/iptables.doc-base.{nat|packet-filter}: update for 2.6
* Dropped changes:
  - Replaced ipt_DSCP.h by xpt_DSCP.h in ipt_ECN.h and ipt_echn.h (applied
    upstream)
  - 9001-build-libipq_pic.a.patch (using la instead)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This module sets the Type of Service field in the IPv4 header (including the
2
 
'precedence' bits) or the Priority field in the IPv6 header. Note that TOS
 
2
"precedence" bits) or the Priority field in the IPv6 header. Note that TOS
3
3
shares the same bits as DSCP and ECN. The TOS target is only valid in the
4
 
\fBmangle\fR table.
 
4
\fBmangle\fP table.
5
5
.TP
6
6
\fB\-\-set\-tos\fP \fIvalue\fP[\fB/\fP\fImask\fP]
7
 
Zeroes out the bits given by \fImask\fR and XORs \fIvalue\fR into the
8
 
TOS/Priority field. If \fImask\fR is omitted, 0xFF is assumed.
 
7
Zeroes out the bits given by \fImask\fP and XORs \fIvalue\fP into the
 
8
TOS/Priority field. If \fImask\fP is omitted, 0xFF is assumed.
9
9
.TP
10
10
\fB\-\-set\-tos\fP \fIsymbol\fP
11
11
You can specify a symbolic name when using the TOS target for IPv4. It implies
15
15
The following mnemonics are available:
16
16
.TP
17
17
\fB\-\-and\-tos\fP \fIbits\fP
18
 
Binary AND the TOS value with \fIbits\fR. (Mnemonic for \fB\-\-set\-tos
19
 
0/\fR\fIinvbits\fR, where \fIinvbits\fR is the binary negation of \fIbits\fR.)
 
18
Binary AND the TOS value with \fIbits\fP. (Mnemonic for \fB\-\-set\-tos
 
19
0/\fP\fIinvbits\fP, where \fIinvbits\fP is the binary negation of \fIbits\fP.)
20
20
.TP
21
21
\fB\-\-or\-tos\fP \fIbits\fP
22
 
Binary OR the TOS value with \fIbits\fR. (Mnemonic for \fB\-\-set\-tos\fP
23
 
\fIbits\fR\fB/\fR\fIbits\fR.)
 
22
Binary OR the TOS value with \fIbits\fP. (Mnemonic for \fB\-\-set\-tos\fP
 
23
\fIbits\fP\fB/\fP\fIbits\fP.)
24
24
.TP
25
25
\fB\-\-xor\-tos\fP \fIbits\fP
26
 
Binary XOR the TOS value with \fIbits\fR. (Mnemonic for \fB\-\-set\-tos\fP
27
 
\fIbits\fR\fB/0\fR.)
 
26
Binary XOR the TOS value with \fIbits\fP. (Mnemonic for \fB\-\-set\-tos\fP
 
27
\fIbits\fP\fB/0\fP.)