Update ip manpage

Fix synopsis and other references to match current code.
This commit is contained in:
nick black 2012-01-20 12:32:44 -08:00 committed by Stephen Hemminger
parent 14a1c164d1
commit db4a7f198b
1 changed files with 44 additions and 14 deletions

View File

@ -14,7 +14,8 @@ ip \- show / manipulate routing, devices, policy routing and tunnels
.ti -8 .ti -8
.IR OBJECT " := { " .IR OBJECT " := { "
.BR link " | " addr " | " addrlabel " | " route " | " rule " | " neigh " | "\ .BR link " | " addr " | " addrlabel " | " route " | " rule " | " neigh " | "\
tunnel " | " maddr " | " mroute " }" ntable " | " tunnel " | " tuntap " | " maddr " | " mroute " | " mrule " | "\
monitor " | " xfrm " | " netns " | " l2tp " }"
.sp .sp
.ti -8 .ti -8
@ -102,10 +103,6 @@ host addresses.
.SS .SS
.I OBJECT .I OBJECT
.TP
.B link
- network device.
.TP .TP
.B address .B address
- protocol (IP or IPv6) address on a device. - protocol (IP or IPv6) address on a device.
@ -114,9 +111,41 @@ host addresses.
.B addrlabel .B addrlabel
- label configuration for protocol address selection. - label configuration for protocol address selection.
.TP
.B l2tp
- tunnel PPP over IP (L2TP).
.TP
.B link
- network device.
.TP
.B maddress
- multicast address.
.TP
.B monitor
- watch for netlink messages.
.TP
.B mroute
- multicast routing cache entry.
.TP
.B mrule
- rule in multicast routing policy database.
.TP .TP
.B neighbour .B neighbour
- ARP or NDISC cache entry. - manage ARP or NDISC cache entries.
.TP
.B netns
- manage network namespaces.
.TP
.B ntable
- manage the neighbor cache's operation.
.TP .TP
.B route .B route
@ -126,18 +155,18 @@ host addresses.
.B rule .B rule
- rule in routing policy database. - rule in routing policy database.
.TP
.B maddress
- multicast address.
.TP
.B mroute
- multicast routing cache entry.
.TP .TP
.B tunnel .B tunnel
- tunnel over IP. - tunnel over IP.
.TP
.B tuntap
- manage TUN/TAP devices.
.TP
.B xfrm
- manage IPSec policies.
.PP .PP
The names of all objects may be written in full or The names of all objects may be written in full or
abbreviated form, f.e. abbreviated form, f.e.
@ -181,6 +210,7 @@ was written by Alexey N. Kuznetsov and added in Linux 2.2.
.BR ip-monitor (8), .BR ip-monitor (8),
.BR ip-mroute (8), .BR ip-mroute (8),
.BR ip-neighbour (8), .BR ip-neighbour (8),
.BR ip-netns (8),
.BR ip-ntable (8), .BR ip-ntable (8),
.BR ip-route (8), .BR ip-route (8),
.BR ip-rule (8), .BR ip-rule (8),