Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
1b3c149b
Commit
1b3c149b
authored
Sep 06, 2012
by
Andreas Schwab
Committed by
Stephen Hemminger
Sep 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iproute2: Fix various manpage formatting nits
Signed-off-by:
Andreas Schwab
<
schwab@linux-m68k.org
>
parent
c2f7d6c7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
26 deletions
+24
-26
man/man8/ip-route.8.in
man/man8/ip-route.8.in
+5
-5
man/man8/ip.8
man/man8/ip.8
+2
-2
man/man8/ss.8
man/man8/ss.8
+1
-1
man/man8/tc-choke.8
man/man8/tc-choke.8
+4
-4
man/man8/tc-drr.8
man/man8/tc-drr.8
+1
-0
man/man8/tc-ematch.8
man/man8/tc-ematch.8
+11
-14
No files found.
man/man8/ip-route.8.in
View file @
1b3c149b
...
@@ -202,11 +202,10 @@ error.
...
@@ -202,11 +202,10 @@ error.
are considered to be dummy (or external) addresses which require translation
are considered to be dummy (or external) addresses which require translation
to real (or internal) ones before forwarding. The addresses to translate to
to real (or internal) ones before forwarding. The addresses to translate to
are selected with the attribute
are selected with the attribute
.BR "via" .
.B Warning:
.B Warning:
Route NAT is no longer supported in Linux 2.6.
Route NAT is no longer supported in Linux 2.6.
.BR "via" .
.sp
.sp
.B anycast
.B anycast
.RI "- " "not implemented"
.RI "- " "not implemented"
...
@@ -306,7 +305,7 @@ If this parameter is omitted,
...
@@ -306,7 +305,7 @@ If this parameter is omitted,
assumes the
assumes the
.B main
.B main
table, with the exception of
table, with the exception of
.BR local "
, " broadcast " and " nat
.BR local ", " broadcast " and " nat
routes, which are put into the
routes, which are put into the
.B local
.B local
table by default.
table by default.
...
@@ -560,13 +559,14 @@ i.e. it lists the entire table.
...
@@ -560,13 +559,14 @@ i.e. it lists the entire table.
.TP
.TP
.BI tos " TOS"
.BI tos " TOS"
.TP
.BI dsfield " TOS"
.BI dsfield " TOS"
only select routes with the given TOS.
only select routes with the given TOS.
.TP
.TP
.BI table " TABLEID"
.BI table " TABLEID"
show the routes from this table(s). The default setting is to show
show the routes from this table(s). The default setting is to show
table
.BR
table
main "."
.BR main "."
.I TABLEID
.I TABLEID
may either be the ID of a real table or one of the special values:
may either be the ID of a real table or one of the special values:
.sp
.sp
...
...
man/man8/ip.8
View file @
1b3c149b
...
@@ -85,11 +85,11 @@ shortcut for
...
@@ -85,11 +85,11 @@ shortcut for
.BR "\-o" , " \-oneline"
.BR "\-o" , " \-oneline"
output each record on a single line, replacing line feeds
output each record on a single line, replacing line feeds
with the
with the
.B '\e
\
'
.B '\e'
character. This is convenient when you want to count records
character. This is convenient when you want to count records
with
with
.BR wc (1)
.BR wc (1)
or to
or to
.BR grep (1)
.BR grep (1)
the output.
the output.
...
...
man/man8/ss.8
View file @
1b3c149b
...
@@ -14,7 +14,7 @@ It can display more TCP and state informations than other tools.
...
@@ -14,7 +14,7 @@ It can display more TCP and state informations than other tools.
.SH OPTIONS
.SH OPTIONS
When no option is used ss displays a list of
When no option is used ss displays a list of
open non-listening TCP sockets that have established connection.
open non-listening TCP sockets that have established connection.
.
T
P
.P
These programs follow the usual GNU command line syntax, with long
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
options starting with two dashes (`-').
A summary of options is included below.
A summary of options is included below.
...
...
man/man8/tc-choke.8
View file @
1b3c149b
...
@@ -30,11 +30,11 @@ queue. If both the to-be-queued and the drawn packet belong to the same flow,
...
@@ -30,11 +30,11 @@ queue. If both the to-be-queued and the drawn packet belong to the same flow,
both packets are dropped. Otherwise, if the queue length is still below the maximum length,
both packets are dropped. Otherwise, if the queue length is still below the maximum length,
the new packet has a configurable chance of being marked (which may mean dropped).
the new packet has a configurable chance of being marked (which may mean dropped).
If the queue length exceeds
If the queue length exceeds
.B
max
.B
R max ,
,
the new packet will always be marked (or dropped).
the new packet will always be marked (or dropped).
If the queue length exceeds
If the queue length exceeds
.B
limit
.B
R limit ,
,
the new packet is always dropped.
the new packet is always dropped.
The marking probability computation is the same as used by the RED qdisc.
The marking probability computation is the same as used by the RED qdisc.
...
...
man/man8/tc-drr.8
View file @
1b3c149b
...
@@ -45,6 +45,7 @@ To attach to device eth0, using the interface MTU as its quantum:
...
@@ -45,6 +45,7 @@ To attach to device eth0, using the interface MTU as its quantum:
Adding two classes:
Adding two classes:
.P
.P
# tc class add dev eth0 parent 1: classid 1:1 drr
# tc class add dev eth0 parent 1: classid 1:1 drr
.br
# tc class add dev eth0 parent 1: classid 1:2 drr
# tc class add dev eth0 parent 1: classid 1:2 drr
.P
.P
You also need to add at least one filter to classify packets.
You also need to add at least one filter to classify packets.
...
...
man/man8/tc-ematch.8
View file @
1b3c149b
...
@@ -21,7 +21,7 @@ ematch \- extended matches for use with "basic" or "flow" filters
...
@@ -21,7 +21,7 @@ ematch \- extended matches for use with "basic" or "flow" filters
]
]
.ti -8
.ti -8
.IR TERM " := [ " not " ] { " MATCH " | '(' " EXPR " ')' } "
.IR TERM " := [ "
\fB
not " ] { " MATCH " | '(' " EXPR " ')' } "
.ti -8
.ti -8
.IR MATCH " := " module " '(' " ARGS " ')' "
.IR MATCH " := " module " '(' " ARGS " ')' "
...
@@ -34,30 +34,27 @@ ematch \- extended matches for use with "basic" or "flow" filters
...
@@ -34,30 +34,27 @@ ematch \- extended matches for use with "basic" or "flow" filters
.SS cmp
.SS cmp
Simple comparison ematch: arithmetic compare of packet data to a given value.
Simple comparison ematch: arithmetic compare of packet data to a given value.
.ti
.ti
.IR cmp "( " ALIGN " at " OFFSET " [ " ATTRS " ]
{ " eq " | " lt " | " gt "
} " VALUE " )
.IR cmp "( " ALIGN " at " OFFSET " [ " ATTRS " ]
{ " eq " | " lt " | " gt "
} " VALUE " )
.ti
.ti
.IR ALIGN " := { " u8 " | " u16 " | " u32 " } "
.IR ALIGN " := { " u8 " | " u16 " | " u32 " } "
.ti
.ti
.IR ATTRS " := [
layer " LAYER " ] [ mask " MASK " ] [ " trans " ] "
.IR ATTRS " := [
layer " LAYER " ] [ mask " MASK " ] [ trans ]
.ti
.ti
.IR ALIGN " := { " u8 " | " u16 " | " u32 } "
.IR LAYER " := { " link " | " network " | " transport " | " 0..2 " }
.ti
.IR LAYER " := { " link " | " network " | " transport " | " 0..%d " }
.SS meta
.SS meta
Metadata ematch
Metadata ematch
.ti
.ti
.IR meta "( " OBJECT " { " eq " | " lt "
|" gt " } " OBJECT " )
.IR meta "( " OBJECT " { " eq " | " lt " |" gt " } " OBJECT " )
.ti
.ti
.IR OBJECT " := { " META_ID " | " VALUE " }
.IR OBJECT " := { " META_ID " | " VALUE " }
.ti
.ti
.IR META_ID " := id " [ shift " SHIFT " ] [ mask " MASK " ]
.IR META_ID " :=
"
id " [ shift " SHIFT " ] [ mask " MASK " ]
.TP
.TP
meta attributes:
meta attributes:
...
@@ -91,26 +88,26 @@ match packet data byte sequence
...
@@ -91,26 +88,26 @@ match packet data byte sequence
.IR OFFSET " := " int
.IR OFFSET " := " int
.ti
.ti
.IR LAYER " := { " link " | " network " | " transport " | " 0..
%d
" }
.IR LAYER " := { " link " | " network " | " transport " | " 0..
2
" }
.SS u32
.SS u32
u32 ematch
u32 ematch
.ti
.ti
.IR u32 "( " ALIGN
VALUE MASK " at "
[ nexthdr+ ] " OFFSET " )
.IR u32 "( " ALIGN
" " VALUE " " MASK " at
[ nexthdr+ ] " OFFSET " )
.ti
.ti
.IR ALIGN " :=
"
{ " u8 " | " u16 " | " u32 " }
.IR ALIGN " := { " u8 " | " u16 " | " u32 " }
.SS ipset
.SS ipset
test packet agains ipset membership
test packet agains ipset membership
.ti
.ti
.IR ipset "( " SETNAME
FLAGS
)
.IR ipset "( " SETNAME
" " FLAGS "
)
.ti
.ti
.IR SETNAME " := " string
.IR SETNAME " := " string
.ti
.ti
.IR FLAGS " :=
"
{ " FLAG " [, " FLAGS "] }
.IR FLAGS " := { " FLAG " [, " FLAGS "] }
The flag options are the same as those used by the iptables "set" match.
The flag options are the same as those used by the iptables "set" match.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment