]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: Allow to easy change network namespace
authorVadim Kochan <vadim4j@gmail.com>
Wed, 24 Dec 2014 21:04:11 +0000 (23:04 +0200)
committerStephen Hemminger <shemming@brocade.com>
Sat, 27 Dec 2014 18:22:34 +0000 (10:22 -0800)
commit67e1d73be1b8e92f2daa403164b841ace820ff54
treeb38791a1af0cfc9b75d8da97da3fffa5317bde38
parent527910c8015dc5f6d4c81cbc1266bcf1220e05ab
tc: Allow to easy change network namespace

Added new '-netns' option to simplify executing following cmd:

    ip netns exec NETNS tc OPTIONS COMMAND OBJECT

    to

    tc -n[etns] NETNS OPTIONS COMMAND OBJECT

e.g.:

    tc -net vnet0 qdisc

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
man/man8/tc.8
tc/Makefile
tc/tc.c