ip: added support for setting netns on devices
function old new delta set_netns - 130 +130 do_iplink 1252 1315 +63 .rodata 104173 104179 +6 packed_usage 34020 33993 -27 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/1 up/down: 199/-27) Total: 172 bytes Signed-off-by: Nicholas Niro <blowfist@xroutine.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
eb048a450c
commit
c28313bb17
@ -152,7 +152,7 @@
|
||||
//usage:#define iplink_trivial_usage
|
||||
//usage: /*Usage:iplink*/"set IFACE [up|down] [arp on|off] [multicast on|off]\n"
|
||||
//usage: " [promisc on|off] [mtu NUM] [name NAME] [qlen NUM] [address MAC]\n"
|
||||
//usage: " [master IFACE | nomaster]"
|
||||
//usage: " [master IFACE | nomaster] [netns PID]"
|
||||
// * short help shows only "set" command, long help continues (with just one "\n")
|
||||
// * and shows all other commands:
|
||||
//usage:#define iplink_full_usage "\n"
|
||||
|
Reference in New Issue
Block a user