iproute2: two manpage/help patches
Subsystems (2)
PATCH 1/1 iproute2: two manpage/help patches
In reply to a message not in the archiveHi,
please review these to patches and include them or good parts of them into iproute2. I hope attachments are not too inconvenient.
Cheers,
Pavel
From c6fd60de48a0e6978373a19a98f6a924b7295175 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <[email protected]>
Date: Thu, 2 Apr 2015 15:53:11 +0200
Subject: [PATCH 1/2] docs: improve manual pages and help
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Commit 43d29f7 substantially improves generated ip-address.8 instead of ip-address.8.in and commit e419f2d removes the generated one losing the improvements entirely. This commit recovers the lost changes, adapts them to the current manual page and adds more man page and help improvements.
Based on previous work by:
* Kenyon Ralph <[email protected]>
Changes (ip link):
* Add VLAN documentation.
* Fix srcport/dstport in VXLAN documentation.
Changes (ip address):
* Improve manual page synopsis and built-it help.
* Use full subcommand names (e.g. 'address' and 'maddress').
* Specify when IPv4, IPv6 or both are affected.
* Add lifetimes, home and nodad.
Changes (ip route):
* Prefer 'show' over 'list' for consistency.
Changes (ip tunnel):
* Improve manual page synopsis and built-it help.
Changes (bridge fdb):
* Fix fdb synopsis.
Fedora tickets:
* https://bugzilla.redhat.com/show_bug.cgi?id=1072441
* https://bugzilla.redhat.com/show_bug.cgi?id=1075692
* https://bugzilla.redhat.com/show_bug.cgi?id=1077191
* https://bugzilla.redhat.com/show_bug.cgi?id=1105438
* https://bugzilla.redhat.com/show_bug.cgi?id=1121261
--- bridge/fdb.c | 8 ++-- ip/ip.c | 4 +- ip/ipaddress.c | 16 +++---- man/man8/bridge.8 | 6 +-- man/man8/ip-address.8.in | 114 +++++++++++++++++++++++++++++++++++++---------- man/man8/ip-link.8.in | 25 ++++++++++- man/man8/ip-route.8.in | 2 +- man/man8/ip-tunnel.8 | 6 +-- man/man8/ip.8 | 6 +-- 9 files changed, 137 insertions(+), 50 deletions(-)
bridge/fdb.c +4 -4
@@ -31,10 +31,10 @@ static unsigned int filter_index;static void usage (void ) { -fprintf (stderr,"Usage: bridge fdb { add | append | del | replace } ADDR dev DEV {self|master} [ temp ]\n" -" [router] [ dst IPADDR] [ vlan VID ]\n" -" [ port PORT] [ vni VNI ] [via DEV]\n" ); -fprintf (stderr," bridge fdb {show} [ br BRDEV ] [ brport DEV ]\n" ); +fprintf (stderr,"Usage: bridge fdb { add | append | del } LLADDR dev DEV { local | temp }\n" +" [ self ] [ embedded ] [ router ] [ dst IPADDR ]\n" +" [ vni VNI ] [ port PORT ] [ via DEVICE ]\n" ); +fprintf (stderr," bridge fdb show [ br BRDEV ] [ brport DEV ]\n" );exit (-1 ); }
ip/ip.c +2 -2
@@ -47,8 +47,8 @@ static void usage(void)fprintf (stderr,"Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n" " ip [ -force ] -batch filename\n" -"where OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable |\n" -" tunnel | tuntap | maddr | mroute | mrule | monitor | xfrm |\n" +"where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |\n" +" tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |\n" " netns | l2tp | fou | tcp_metrics | token | netconf }\n" " OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n" " -h[uman-readable] | -iec |\n"
ip/ipaddress.c +8 -8
@@ -70,15 +70,15 @@ static void usage(void)if (do_link) {iplink_usage (); } -fprintf (stderr,"Usage: ip addr {add|change|replace} IFADDR dev STRING [ LIFETIME ]\n" ); +fprintf (stderr,"Usage: ip address {add|change|replace} IFADDR dev IFNAME [ LIFETIME ]\n" );fprintf (stderr," [ CONFFLAG-LIST ]\n" ); -fprintf (stderr," ip addr del IFADDR dev STRING [mngtmpaddr]\n" ); -fprintf (stderr," ip addr {show|save|flush} [ dev STRING ] [ scope SCOPE-ID ]\n" ); -fprintf (stderr," [ to PREFIX ] [ FLAG-LIST ] [ label PATTERN ] [up]\n" ); -fprintf (stderr," ip addr {showdump|restore}\n" ); +fprintf (stderr," ip address del IFADDR dev IFNAME [mngtmpaddr]\n" ); +fprintf (stderr," ip address {show|save|flush} [ dev IFNAME ] [ scope SCOPE-ID ]\n" ); +fprintf (stderr," [ to PREFIX ] [ FLAG-LIST ] [ label LABEL ] [up]\n" ); +fprintf (stderr," ip address {showdump|restore}\n" );fprintf (stderr,"IFADDR := PREFIX | ADDR peer PREFIX\n" );fprintf (stderr," [ broadcast ADDR ] [ anycast ADDR ]\n" ); -fprintf (stderr," [ label STRING ] [ scope SCOPE-ID ]\n" ); +fprintf (stderr," [ label IFNAME ] [ scope SCOPE-ID ]\n" );fprintf (stderr,"SCOPE-ID := [ host | link | global | NUMBER ]\n" );fprintf (stderr,"FLAG-LIST := [ FLAG-LIST ] FLAG\n" );fprintf (stderr,"FLAG := [ permanent | dynamic | secondary | primary |\n" );
@@ -1059,7 +1059,7 @@ static int ipadd_dump_check_magic(void)__u32 magic =0 ;if (isatty (STDIN_FILENO )) { -fprintf (stderr,"Can't restore addr dump from a terminal\n" ); +fprintf (stderr,"Can't restore address dump from a terminal\n" );return -1 ; }
@@ -1787,6 +1787,6 @@ int do_ipaddr(int argc, char **argv)return ipaddr_restore ();if (matches (*argv,"help" ) ==0 )usage (); -fprintf (stderr,"Command \"%s\" is unknown, try \"ip addr help\".\n" , *argv); +fprintf (stderr,"Command \"%s\" is unknown, try \"ip address help\".\n" , *argv);exit (-1 ); }
man/man8/bridge.8 +3 -3
@@ -53,8 +53,8 @@ bridge \- show / manipulate bridge addresses and devices .I LLADDR .B dev .IR DEV " { " -.BR local " | " temp " } { " -.BR self " } { " router " } [ " +.BR local " | " temp " } [ " +.BR self " ] [ " router " ] [ " .B dst .IR IPADDR " ] [ " .B vni
@@ -65,7 +65,7 @@ bridge \- show / manipulate bridge addresses and devices .IR DEVICE " ]" .ti -8 -.BR "bridge fdb" " [ " show " ] [ " +.BR "bridge fdb show" " [ " .B dev .IR DEV " ]"
man/man8/ip-address.8.in +90 -24
199 lines not on this page · raw message
man/man8/ip-link.8.in +23 -2
@@ -243,6 +243,21 @@ specifies the number of receive queues for new device. specifies the desired index of the new virtual device. The link creation fails, if the index is busy. .TP +VLAN Type Support +For a link of type +.I VLAN +the following additional arguments are supported: + +.BI "ip link add " DEVICE +.BI type " vlan " id " ID +.BI link " DEVICE + +.in +8 +.sp +.BI id " VNI " +- specifies the VLAN Identifer to use. Note that numbers with a leading " 0 " or " 0x " are interpreted as octal or hexadeimal, respectively. + +.TP VXLAN Type Support For a link of type .I VXLAN
@@ -261,7 +276,9 @@ the following additional arguments are supported: .R " ] [ " .BI tos " TOS " .R " ] [ " -.BI port " MIN MAX " +.BI dstport " PORT " +.R " ] [ " +.BI srcport " MIN MAX " .R " ] [ " .I "[no]learning " .R " ] [ "
@@ -317,7 +334,11 @@ parameter. - specifies the TOS value to use in outgoing packets. .sp -.BI port " MIN MAX" +.BI dstport " PORT" +- specifies the UDP destination port to communicate to the remote VXLAN tunnel endpoint. + +.sp +.BI srcport " MIN MAX" - specifies the range of port numbers to use as UDP source ports to communicate to the remote VXLAN tunnel endpoint.
man/man8/ip-route.8.in +1 -1
@@ -16,7 +16,7 @@ ip-route \- routing table management .ti -8 .BR "ip route" " { " -.BR list " | " flush " } " +.BR show " | " flush " } " .I SELECTOR .ti -8
man/man8/ip-tunnel.8 +3 -3
@@ -50,7 +50,7 @@ ip-tunnel - tunnel configuration .ti -8 .IR MODE " := " -.RB " { " ipip " | " gre " | " sit " | " isatap " | " ip6ip6 " | " ipip6 " | " ip6gre " | " any " }" +.RB " { " ipip " | " gre " | " sit " | " isatap " | " vti " | " ip6ip6 " | " ipip6 " | " ip6gre " | " vti6 " | " any " }" .ti -8 .IR ADDR " := { " IP_ADDRESS " |"
@@ -107,10 +107,10 @@ select the tunnel device name. set the tunnel mode. Available modes depend on the encapsulating address family. .br Modes for IPv4 encapsulation available: -.BR ipip ", " sit ", " isatap " and " gre "." +.BR ipip ", " gre ", " sit ", " isatap " and " vti "." .br Modes for IPv6 encapsulation available: -.BR ip6ip6 ", " ipip6 ", " ip6gre ", and " any "." +.BR ip6ip6 ", " ipip6 ", " ip6gre " and " vti6 " .TP .BI remote " ADDRESS"
man/man8/ip.8 +3 -3
@@ -19,8 +19,8 @@ ip \- show / manipulate routing, devices, policy routing and tunnels .ti -8 .IR OBJECT " := { " -.BR link " | " addr " | " addrlabel " | " route " | " rule " | " neigh " | "\ - ntable " | " tunnel " | " tuntap " | " maddr " | " mroute " | " mrule " | "\ +.BR link " | " address " | " addrlabel " | " route " | " rule " | " neigh " | "\ + ntable " | " tunnel " | " tuntap " | " maddress " | " mroute " | " mrule " | "\ monitor " | " xfrm " | " netns " | " l2tp " | " tcp_metrics " }" .sp
@@ -66,7 +66,7 @@ Output more detailed information. .TP .BR "\-l" , " \-loops " <COUNT> -Specify maximum number of loops the 'ip addr flush' logic +Specify maximum number of loops the 'ip address flush' logic will attempt before giving up. The default is 10. Zero (0) means loop until all addresses are removed.
Signature · 1 line
2.0.5
From 4dd2f6779473b55d3c02056411a765816a99551a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <[email protected]>
Date: Thu, 2 Apr 2015 22:40:51 +0200
Subject: [PATCH 2/2] docs: make spacing consistent
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Result of the following command:
sed -ri 's/\. /. /g' man/*/*
--- man/man8/arpd.8 | 2 +- man/man8/bridge.8 | 60 ++++++++++++++++++------------------ man/man8/ip-address.8.in | 16 +++++----- man/man8/ip-addrlabel.8 | 2 +- man/man8/ip-link.8.in | 12 ++++---- man/man8/ip-maddress.8 | 2 +- man/man8/ip-monitor.8 | 4 +-- man/man8/ip-mroute.8 | 2 +- man/man8/ip-neighbour.8 | 6 ++-- man/man8/ip-netns.8 | 10 +++--- man/man8/ip-route.8.in | 78 +++++++++++++++++++++++------------------------ man/man8/ip-rule.8 | 26 ++++++++-------- man/man8/ip-tunnel.8 | 8 ++--- man/man8/ip.8 | 10 +++--- man/man8/rtmon.8 | 2 +- man/man8/tc-cbq-details.8 | 4 +-- man/man8/tc-cbq.8 | 4 +-- man/man8/tc-choke.8 | 6 ++-- man/man8/tc-codel.8 | 4 +-- man/man8/tc-drr.8 | 10 +++--- man/man8/tc-fq_codel.8 | 6 ++-- man/man8/tc-hfsc.8 | 2 +- man/man8/tc-netem.8 | 2 +- man/man8/tc-pie.8 | 2 +- man/man8/tc-red.8 | 4 +-- man/man8/tc-sfb.8 | 26 ++++++++-------- man/man8/tc-sfq.8 | 2 +- man/man8/tc-tbf.8 | 2 +- 28 files changed, 157 insertions(+), 157 deletions(-)
man/man8/arpd.8 +1 -1
@@ -35,7 +35,7 @@ Suppress sending broadcast queries by the kernel. This option only makes sense t Specifies the timeout of the negative cache. When resolution fails, arpd suppresses further attempts to resolve for this period. This option only makes sense together with option '-k'. This timeout should not be too much longer than the boot time of a typical host not supporting gratuitous ARP. Default value is 60 seconds. .TP -p <TIME> -The time to wait in seconds between polling attempts to the kernel ARP table. TIME may be a floating point number. The default value is 30. +The time to wait in seconds between polling attempts to the kernel ARP table. TIME may be a floating point number. The default value is 30. .TP -R <RATE> Maximal steady rate of broadcasts sent by arpd in packets per second. Default value is 1.
man/man8/bridge.8 +30 -30
163 lines not on this page · raw message
man/man8/ip-address.8.in +8 -8
@@ -83,9 +83,9 @@ tentative " | " deprecated " | " dadfailed " | " temporary " | " CONFFLAG-LIST " The .B address is a protocol (IPv4 or IPv6) address attached -to a network device. Each device must have at least one address -to use the corresponding protocol. It is possible to have several -different addresses attached to one device. These addresses are not +to a network device. Each device must have at least one address +to use the corresponding protocol. It is possible to have several +different addresses attached to one device. These addresses are not discriminated, so that the term .B alias is not quite appropriate for them and we do not use it in this document.
@@ -105,7 +105,7 @@ the name of the device to add the address to. .BI local " ADDRESS " (default) the address of the interface. The format of the address depends on the protocol. It is a dotted quad for IP and a sequence of -hexadecimal halfwords separated by colons for IPv6. The +hexadecimal halfwords separated by colons for IPv6. The .I ADDRESS may be followed by a slash and a decimal number which encodes the network prefix length.
@@ -116,8 +116,8 @@ the address of the remote endpoint for pointopoint interfaces. Again, the .I ADDRESS may be followed by a slash and a decimal number, encoding the network -prefix length. If a peer address is specified, the local address -cannot have a prefix length. The network prefix is associated +prefix length. If a peer address is specified, the local address +cannot have a prefix length. The network prefix is associated with the peer rather than with the local address. .TP
@@ -128,7 +128,7 @@ It is possible to use the special symbols .B '+' and .B '-' -instead of the broadcast address. In this case, the broadcast address +instead of the broadcast address. In this case, the broadcast address is derived by setting/resetting the host bits of the interface prefix. .TP
@@ -188,7 +188,7 @@ adding this address. .B Arguments: coincide with the arguments of .B ip addr add. -The device name is a required argument. The rest are optional. +The device name is a required argument. The rest are optional. If no arguments are given, the first address is deleted. .SS ip address show - look at protocol addresses
man/man8/ip-addrlabel.8 +1 -1
@@ -35,7 +35,7 @@ ip-addrlabel \- protocol address label management .SH "DESCRIPTION" IPv6 address labels are used for address selection; -they are described in RFC 3484. Precedence is managed by userspace, +they are described in RFC 3484. Precedence is managed by userspace, and only the label itself is stored in the kernel. .SS ip addrlabel add - add an address label
man/man8/ip-link.8.in +6 -6
@@ -317,7 +317,7 @@ parameter. .BI remote " IPADDR" - specifies the unicast destination IP address to use in outgoing packets when the destination link layer address is not known in the VXLAN device -forwarding database. This parameter cannot be specified with the +forwarding database. This parameter cannot be specified with the .B group parameter.
@@ -542,7 +542,7 @@ flag calculates checksums for outgoing packets. The .B icsum flag requires that all input packets have the correct -checksum. The +checksum. The .B csum flag is equivalent to the combination .BR "icsum ocsum" .
@@ -553,7 +553,7 @@ flag is equivalent to the combination .sp .BI encaplimit " ELIM" -- specifies a fixed encapsulation limit. Default is 4. +- specifies a fixed encapsulation limit. Default is 4. .sp .BI flowlabel " FLOWLABEL"
@@ -620,7 +620,7 @@ device. .BI group " GROUP " .I GROUP has a dual role: If both group and dev are present, then move the device to the -specified group. If only a group is specified, then the command operates on +specified group. If only a group is specified, then the command operates on all devices in that group. .TP
@@ -652,7 +652,7 @@ used by the Linux). .TP .BI name " NAME" -change the name of the device. This operation is not +change the name of the device. This operation is not recommended if the device is running or has some addresses already configured.
@@ -803,7 +803,7 @@ If multiple parameter changes are requested, aborts immediately after any of the changes have failed. This is the only case when .B ip -can move the system to an unpredictable state. The solution +can move the system to an unpredictable state. The solution is to avoid changing several parameters with one .B ip link set call.
man/man8/ip-maddress.8 +1 -1
@@ -39,7 +39,7 @@ the device name. These commands attach/detach a static link-layer multicast address to listen on the interface. Note that it is impossible to join protocol multicast groups -statically. This command only manages link-layer addresses. +statically. This command only manages link-layer addresses. .RS .TP
man/man8/ip-monitor.8 +2 -2
@@ -33,7 +33,7 @@ Prints short timestamp before the event message on the same line in format: The .B ip utility can monitor the state of devices, addresses -and routes continuously. This option has a slightly different format. +and routes continuously. This option has a slightly different format. Namely, the .B monitor command is the first in the command line and then the object list follows:
@@ -65,7 +65,7 @@ but opens the given file, and dumps its contents. The file should contain RTNETLINK messages saved in binary format. Such a file can be generated with the .B rtmon -utility. This utility has a command line syntax similar to +utility. This utility has a command line syntax similar to .BR "ip monitor" . Ideally, .B rtmon
man/man8/ip-mroute.8 +1 -1
@@ -28,7 +28,7 @@ or Due to the limitations of the current interface to the multicast routing engine, it is impossible to change .B mroute -objects administratively, so we can only display them. This limitation +objects administratively, so we can only display them. This limitation will be removed in the future. .SS ip mroute show - list mroute cache entries
man/man8/ip-neighbour.8 +3 -3
@@ -152,7 +152,7 @@ only list neighbour entries in this state. .I NUD_STATE takes values listed below or the special value .B all -which means all states. This option may occur more than once. +which means all states. This option may occur more than once. If this option is absent, .B ip lists all entries except for
@@ -176,9 +176,9 @@ and .PP With the .B -statistics -option, the command becomes verbose. It prints out the number of +option, the command becomes verbose. It prints out the number of deleted neighbours and the number of rounds made to flush the -neighbour table. If the option is given +neighbour table. If the option is given twice, .B ip neigh flush also dumps all the deleted neighbours.
man/man8/ip-netns.8 +5 -5
@@ -51,10 +51,10 @@ the processes share the same default network namespace from the init process. By convention a named network namespace is an object at .BR "/var/run/netns/" NAME -that can be opened. The file descriptor resulting from opening +that can be opened. The file descriptor resulting from opening .BR "/var/run/netns/" NAME -refers to the specified network namespace. Holding that file -descriptor open keeps the network namespace alive. The file +refers to the specified network namespace. Holding that file +descriptor open keeps the network namespace alive. The file descriptor can be used with the .B setns(2) system call to change the network namespace associated with a task.
@@ -90,7 +90,7 @@ network namespace and assigns NAME. .B ip [-all] netns delete [ NAME ] - delete the name of a network namespace(s) .sp If NAME is present in /var/run/netns it is umounted and the mount -point is removed. If this is the last user of the network namespace the +point is removed. If this is the last user of the network namespace the network namespace will be freed and all physical devices will be moved to the default one, otherwise the network namespace persists until it has no more users. ip netns delete may fail if the mount point is in use in another mount
@@ -152,7 +152,7 @@ the named network namespace as their primary network namespace. This command allows applications that are network namespace unaware to be run in something other than the default network namespace with all of the configuration for the specified network namespace appearing -in the customary global locations. A network namespace and bind mounts +in the customary global locations. A network namespace and bind mounts are used to move files from their network namespace specific location to their default locations without affecting other processes.
man/man8/ip-route.8.in +39 -39
249 lines not on this page · raw message
man/man8/ip-rule.8 +13 -13
@@ -86,7 +86,7 @@ and an The RPDB is scanned in order of decreasing priority. The selector of each rule is applied to {source address, destination address, incoming interface, tos, fwmark} and, if the selector matches the packet, -the action is performed. The action predicate may return with success. +the action is performed. The action predicate may return with success. In this case, it will either give a route or failure indication and the RPDB lookup is terminated. Otherwise, the RPDB program continues with the next rule.
@@ -131,18 +131,18 @@ table (ID 253). The .B default -table is empty. It is reserved for some post-processing if no previous +table is empty. It is reserved for some post-processing if no previous default rules selected the packet. This rule may also be deleted. .P Each RPDB entry has additional -attributes. F.e. each rule has a pointer to some routing -table. NAT and masquerading rules have an attribute to select new IP -address to translate/masquerade. Besides that, rules have some +attributes. F.e. each rule has a pointer to some routing +table. NAT and masquerading rules have an attribute to select new IP +address to translate/masquerade. Besides that, rules have some optional attributes, which routes have, namely .BR "realms" . -These values do not override those contained in the routing tables. They +These values do not override those contained in the routing tables. They are only used if the route did not select any attributes. .sp
@@ -175,7 +175,7 @@ of the IP packet into some other value. .RS .TP .BI type " TYPE " (default) -the type of this rule. The list of valid types was given in the previous +the type of this rule. The list of valid types was given in the previous subsection. .TP
@@ -188,14 +188,14 @@ select the destination prefix to match. .TP .BI iif " NAME" -select the incoming device to match. If the interface is loopback, -the rule only matches packets originating from this host. This means +select the incoming device to match. If the interface is loopback, +the rule only matches packets originating from this host. This means that you may create separate routing tables for forwarded and local packets and, hence, completely segregate them. .TP .BI oif " NAME" -select the outgoing device to match. The outgoing interface is only +select the outgoing device to match. The outgoing interface is only available for packets originating from local sockets that are bound to a device.
@@ -213,7 +213,7 @@ value to match. .TP .BI priority " PREFERENCE" -the priority of this rule. Each rule should have an explicitly +the priority of this rule. Each rule should have an explicitly set .I unique priority value.
@@ -236,7 +236,7 @@ group GROUP. .TP .BI realms " FROM/TO" Realms to select if the rule matched and the routing table lookup -succeeded. Realm +succeeded. Realm .I TO is only used if the route did not select any realm.
@@ -253,7 +253,7 @@ Using map-to instead of nat means the same thing. .B Warning: Changes to the RPDB made with these commands do not become active -immediately. It is assumed that after a script finishes a batch of +immediately. It is assumed that after a script finishes a batch of updates, it flushes the routing cache with .BR "ip route flush cache" . .RE
man/man8/ip-tunnel.8 +4 -4
@@ -86,7 +86,7 @@ objects are tunnels, encapsulating packets in IP packets and then sending them over the IP infrastructure. The encapsulating (or outer) address family is specified by the .B -f -option. The default is IPv4. +option. The default is IPv4. .TP .B ip tunnel add
@@ -168,7 +168,7 @@ changes. .TP .B nopmtudisc disable Path MTU Discovery on this tunnel. -It is enabled by default. Note that a fixed ttl is incompatible +It is enabled by default. Note that a fixed ttl is incompatible with this option: tunneling with a fixed ttl always makes pmtu discovery.
@@ -199,7 +199,7 @@ flag calculates checksums for outgoing packets. The .B icsum flag requires that all input packets have the correct -checksum. The +checksum. The .B csum flag is equivalent to the combination .BR "icsum ocsum" .
@@ -223,7 +223,7 @@ flag is equivalent to the combination .TP .BI encaplim " ELIM" .RB ( " only IPv6 tunnels " ) -set a fixed encapsulation limit. Default is 4. +set a fixed encapsulation limit. Default is 4. .TP .BI flowlabel " FLOWLABEL"
man/man8/ip.8 +5 -5
@@ -56,7 +56,7 @@ If there were any errors during execution of the commands, the application retur .TP .BR "\-s" , " \-stats" , " \-statistics" -Output more information. If the option +Output more information. If the option appears twice or more, the amount of information increases. As a rule, the information is statistics or some time values.
@@ -67,7 +67,7 @@ Output more detailed information. .TP .BR "\-l" , " \-loops " <COUNT> Specify maximum number of loops the 'ip address flush' logic -will attempt before giving up. The default is 10. +will attempt before giving up. The default is 10. Zero (0) means loop until all addresses are removed. .TP
@@ -77,7 +77,7 @@ Specifies the protocol family to use. The protocol family identifier can be one or .BR link . If this option is not present, -the protocol family is guessed from other arguments. If the rest +the protocol family is guessed from other arguments. If the rest of the command line does not give enough information to guess the family, .B ip
@@ -254,9 +254,9 @@ and (or .B list ) objects, but some objects do not allow all of these operations -or have some additional commands. The +or have some additional commands. The .B help -command is available for all objects. It prints +command is available for all objects. It prints out a list of available commands and argument syntax conventions. .sp If no command is given, some default command is assumed.
man/man8/rtmon.8 +1 -1
@@ -34,7 +34,7 @@ Show summary of options. .TP .B file FILE [ all | LISTofOBJECTS ] Log output to FILE. LISTofOBJECTS is the list of object types that we -want to monitor. It may contain 'link', 'address', 'route' +want to monitor. It may contain 'link', 'address', 'route' and 'all'. 'link' specifies the network device, 'address' the protocol (IP or IPv6) address on a device, 'route' the routing table entry and 'all' does what the name says.
man/man8/tc-cbq-details.8 +2 -2
@@ -58,8 +58,8 @@ interval timeconstant .SH DESCRIPTION Class Based Queueing is a classful qdisc that implements a rich -linksharing hierarchy of classes. It contains shaping elements as -well as prioritizing capabilities. Shaping is performed using link +linksharing hierarchy of classes. It contains shaping elements as +well as prioritizing capabilities. Shaping is performed using link idle time calculations based on the timing of dequeue events and underlying link bandwidth.
man/man8/tc-cbq.8 +2 -2
@@ -60,8 +60,8 @@ interval timeconstant .SH DESCRIPTION Class Based Queueing is a classful qdisc that implements a rich -linksharing hierarchy of classes. It contains shaping elements as -well as prioritizing capabilities. Shaping is performed using link +linksharing hierarchy of classes. It contains shaping elements as +well as prioritizing capabilities. Shaping is performed using link idle time calculations based on the timing of dequeue events and underlying link bandwidth.
man/man8/tc-choke.8 +3 -3
@@ -22,12 +22,12 @@ chance CHOKe (CHOose and Keep for responsive flows, CHOose and Kill for unresponsive flows) is a classless qdisc designed to both identify and penalize flows that monopolize the -queue. CHOKe is a variation of RED, and the configuration is similar to RED. +queue. CHOKe is a variation of RED, and the configuration is similar to RED. .SH ALGORITHM Once the queue hits a certain average length, a random packet is drawn from the -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, +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, the new packet has a configurable chance of being marked (which may mean dropped). If the queue length exceeds .BR max ,
man/man8/tc-codel.8 +2 -2
@@ -69,10 +69,10 @@ is used to ensure that the measured minimum delay does not become too stale. The minimum delay must be experienced in the last epoch of length .B interval. It should be set on the order of the worst-case RTT through the bottleneck to -give endpoints sufficient time to react. Default value is 100ms. +give endpoints sufficient time to react. Default value is 100ms. .SS ecn | noecn -can be used to mark packets instead of dropping them. If +can be used to mark packets instead of dropping them. If .B ecn has been enabled, .B noecn
man/man8/tc-drr.8 +5 -5
@@ -23,9 +23,9 @@ Each class is assigned a deficit counter, initialized to .B quantum. DRR maintains an (internal) ''active'' list of classes whose qdiscs are -non-empty. This list is used for dequeuing. A packet is dequeued from +non-empty. This list is used for dequeuing. A packet is dequeued from the class at the head of the list if the packet size is smaller or equal -to the deficit counter. If the counter is too small, it is increased by +to the deficit counter. If the counter is too small, it is increased by .B quantum and the scheduler moves on to the next class in the active list.
@@ -34,7 +34,7 @@ and the scheduler moves on to the next class in the active list. .TP quantum Amount of bytes a flow is allowed to dequeue before the scheduler moves to -the next class. Defaults to the MTU of the interface. The minimum value is 1. +the next class. Defaults to the MTU of the interface. The minimum value is 1. .SH EXAMPLE & USAGE
@@ -54,9 +54,9 @@ You also need to add at least one filter to classify packets. .P Like SFQ, DRR is only useful when it owns the queue \-\- it is a pure scheduler and does -not delay packets. Attaching non-work-conserving qdiscs like tbf to it does not make +not delay packets. Attaching non-work-conserving qdiscs like tbf to it does not make sense \-\- other qdiscs in the active list will also become inactive until the dequeue -operation succeeds. Embed DRR within another qdisc like HTB or HFSC to ensure it owns the queue. +operation succeeds. Embed DRR within another qdisc like HTB or HFSC to ensure it owns the queue. .P You can mimic SFQ behavior by assigning packets to the attached classes using the flow filter:
man/man8/tc-fq_codel.8 +3 -3
@@ -47,7 +47,7 @@ has the same semantics as .B codel and is the acceptable minimum standing/persistent queue delay. This minimum delay is identified by tracking -the local minimum queue delay that packets experience. Default value is 5ms. +the local minimum queue delay that packets experience. Default value is 5ms. .SS interval has the same semantics as
@@ -55,7 +55,7 @@ has the same semantics as and is used to ensure that the measured minimum delay does not become too stale. The minimum delay must be experienced in the last epoch of length .B interval. It should be set on the order of the worst-case RTT through the bottleneck to -give endpoints sufficient time to react. Default value is 100ms. +give endpoints sufficient time to react. Default value is 100ms. .SS quantum is the number of bytes used as 'deficit' in the fair queuing algorithm. Default
@@ -65,7 +65,7 @@ header length of 14 bytes. .SS ecn | noecn has the same semantics as .B codel -and can be used to mark packets instead of dropping them. If +and can be used to mark packets instead of dropping them. If .B ecn has been enabled, .B noecn
man/man8/tc-hfsc.8 +1 -1
@@ -32,7 +32,7 @@ For description of BYTE, BPS and SEC \- please see \fBUNITS\fR section of \fBtc\fR(8). . .SH DESCRIPTION (qdisc) -HFSC qdisc has only one optional parameter \- \fBdefault\fR. CLASSID specifies +HFSC qdisc has only one optional parameter \- \fBdefault\fR. CLASSID specifies the minor part of the default classid, where packets not classified by other means (e.g. u32 filter, CLASSIFY target of iptables) will be enqueued. If \fBdefault\fR is not specified, unclassified packets will be dropped.
man/man8/tc-netem.8 +1 -1
@@ -151,7 +151,7 @@ header compression scheme. The third parameter - an unsigned value - specify the cellsize. Cellsize can be used to simulate link layer schemes. ATM for example has an payload cellsize of 48 bytes and 5 byte per cell header. If a packet is 50 byte then ATM must use two cells: 2 * 48 bytes payload including 2 -* 5 byte header, thus consume 106 byte on the wire. The last optional value +* 5 byte header, thus consume 106 byte on the wire. The last optional value .I CELLOVERHEAD can be used to specify per cell overhead - for our ATM example 5. .I CELLOVERHEAD
man/man8/tc-pie.8 +1 -1
@@ -49,7 +49,7 @@ the deviation between the current and target latency changes probability. beta e additional adjustments depending on the latency trend. The drop probabilty is used to mark packets in ecn mode. However, as in RED, -beyond 10% packets are dropped based on this probability. The bytemode is used +beyond 10% packets are dropped based on this probability. The bytemode is used to drop packets proportional to the packet size. Additional details can be found in the paper cited below.
man/man8/tc-red.8 +2 -2
@@ -112,7 +112,7 @@ ecn As mentioned before, RED can either 'mark' or 'drop'. Explicit Congestion Notification allows RED to notify remote hosts that their rate exceeds the amount of bandwidth available. Non-ECN capable hosts can only be notified by -dropping a packet. If this parameter is specified, packets which indicate +dropping a packet. If this parameter is specified, packets which indicate that their hosts honor ECN will only be marked and not dropped, unless the queue size hits .B limit
@@ -156,7 +156,7 @@ Adaptive RED : http://icir.org/floyd/papers/adaptiveRed.pdf .SH AUTHORS Alexey N. Kuznetsov, <[email protected]>, Alexey Makarenko <[email protected]>, J Hadi Salim <[email protected]>, -Eric Dumazet <[email protected]>. +Eric Dumazet <[email protected]>. This manpage maintained by bert hubert <[email protected]>
man/man8/tc-sfb.8 +13 -13
@@ -35,7 +35,7 @@ tries to determine the ideal marking probability automatically. The .B BLUE algorithm maintains a probability which is used to mark or drop packets -that are to be queued. If the queue overflows, the mark/drop probability +that are to be queued. If the queue overflows, the mark/drop probability is increased. If the queue becomes empty, the probability is decreased. The .B Stochastic Fair Blue (SFB) algorithm is designed to protect TCP flows against non-responsive flows.
@@ -44,8 +44,8 @@ This SFB implementation maintains 8 levels of 16 bins each for accounting. Each flow is mapped into a bin of each level using a per-level hash value. Every bin maintains a marking probability, which gets increased or decreased -based on bin occupancy. If the number of packets exceeds the size of that -bin, the marking probability is increased. If the number drops to zero, it +based on bin occupancy. If the number of packets exceeds the size of that +bin, the marking probability is increased. If the number drops to zero, it is decreased. The marking probability is based on the minimum value of all bins a flow is
@@ -63,7 +63,7 @@ with a non-responsive flow, causing the responsive flow to be misidentified as being non-responsive. The probability of a responsive flow to be misidentified is dependent on -the number of non-responsive flows, M. It is (1 - (1 - (1 / 16.0)) ** M) **8, +the number of non-responsive flows, M. It is (1 - (1 - (1 / 16.0)) ** M) **8, so for example with 10 non-responsive flows approximately 0.2% of responsive flows will be misidentified.
@@ -89,7 +89,7 @@ implementation maintains a second set of levels/bins as described in section 4.4 of the SFB reference. While one set is used to manage the queue, a second set is warmed up: Whenever a flow is then determined to be non-responsive, the marking -probabilities in the second set are updated. When the rehashing +probabilities in the second set are updated. When the rehashing happens, these bins will be used to manage the queue and all non-responsive flows can be rate-limited immediately. This value determines how much time has to pass before the 2nd set
@@ -100,19 +100,19 @@ rehash. .TP limit Hard limit on the real (not average) total queue size in packets. -Further packets are dropped. Defaults to the transmit queue length of the +Further packets are dropped. Defaults to the transmit queue length of the device the qdisc is attached to. .TP max Maximum length of a buckets queue, in packets, before packets start being -dropped. Should be sightly larger than +dropped. Should be sightly larger than .B target , but should not be set to values exceeding 1.5 times that of .B target . Defaults to 25. .TP target -The desired average bin length. If the bin queue length reaches this value, +The desired average bin length. If the bin queue length reaches this value, the marking probability is increased by .B increment. The default value depends on the
@@ -123,11 +123,11 @@ will default to 20. .TP increment A value used to increase the marking probability when the queue appears -to be over-used. Must be between 0 and 1.0. Defaults to 0.00050. +to be over-used. Must be between 0 and 1.0. Defaults to 0.00050. .TP decrement Value used to decrease the marking probability when the queue is found -to be empty. Must be between 0 and 1.0. +to be empty. Must be between 0 and 1.0. Defaults to 0.00005. .TP penalty_rate
@@ -153,7 +153,7 @@ The number of packets dropped before a per-flow queue was full. ratedrop The number of packets dropped because of rate-limiting. If this value is high, there are many non-reactive flows being -sent through sfb. In such cases, it might be better to +sent through sfb. In such cases, it might be better to embed sfb within a classful qdisc to better control such flows using a different, shaping qdisc. .TP
@@ -163,7 +163,7 @@ High bucketdrop may point to a high number of aggressive, short-lived flows. .TP queuedrop -The number of packets dropped due to reaching limit. This should normally be 0. +The number of packets dropped due to reaching limit. This should normally be 0. .TP marked The number of packets marked with ECN.
@@ -172,7 +172,7 @@ maxqlen The length of the current longest per-flow (virtual) queue. .TP maxprob -The maximum per-flow drop probability. 1 means that some +The maximum per-flow drop probability. 1 means that some flows have been detected as non-reactive. .SH NOTES
man/man8/tc-sfq.8 +1 -1
@@ -150,7 +150,7 @@ ecn RED can either 'mark' or 'drop'. Explicit Congestion Notification allows RED to notify remote hosts that their rate exceeds the amount of bandwidth available. Non-ECN capable hosts can only be notified by -dropping a packet. If this parameter is specified, packets which indicate +dropping a packet. If this parameter is specified, packets which indicate that their hosts honor ECN will only be marked and not dropped, unless the queue size hits .B depth
man/man8/tc-tbf.8 +1 -1
@@ -102,7 +102,7 @@ Furthermore, if a peakrate is desired, the following parameters are available: .TP peakrate -Maximum depletion rate of the bucket. The peakrate does not +Maximum depletion rate of the bucket. The peakrate does not need to be set, it is only necessary if perfect millisecond timescale shaping is required.
Signature · 1 line
2.0.5