1. 14 Jan, 2015 1 commit
  2. 07 Jan, 2015 4 commits
  3. 03 Jan, 2015 1 commit
  4. 01 Jan, 2015 4 commits
  5. 27 Dec, 2014 8 commits
    • Vadim Kochan's avatar
      tc: Allow to easy change network namespace · 67e1d73b
      Vadim Kochan authored
      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: default avatarVadim Kochan <vadim4j@gmail.com>
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      67e1d73b
    • Vadim Kochan's avatar
      bridge: Allow to easy change network namespace · 527910c8
      Vadim Kochan authored
      Added new '-netns' option to simplify executing following cmd:
      
          ip netns exec NETNS bridge OPTIONS COMMAND OBJECT
      
          to
      
          bridge -n[etns] NETNS OPTIONS COMMAND OBJECT
      
      e.g.:
      
          bridge -net vnet0 fdb
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      527910c8
    • Vadim Kochan's avatar
      ip: Allow to easy change network namespace · 52700d40
      Vadim Kochan authored
      Added new '-netns' option to simplify executing following cmd:
      
          ip netns exec NETNS ip OPTIONS COMMAND OBJECT
      
          to
      
          ip -n[etns] NETNS OPTIONS COMMAND OBJECT
      
      e.g.:
      
          ip -net vnet0 link add br0 type bridge
          ip -n vnet0 link
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      52700d40
    • Vadim Kochan's avatar
      lib: Add netns_switch func for change network namespace · eb67e449
      Vadim Kochan authored
      New netns_switch func moved to the lib/namespace.c from ip/ipnetns.c
      so it can be used from the other tools for fast switching
      network namespace.
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      eb67e449
    • Vadim Kochan's avatar
      ss: Use rtnl_dump_filter for inet_show_netlink · 486ccd99
      Vadim Kochan authored
      Just another refactoring for ss to use rtnl API from lib
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      486ccd99
    • Vadim Kochan's avatar
      417b2180
    • Vadim Kochan's avatar
      tc class: Show classes as ASCII graph · d954b34a
      Vadim Kochan authored
      Added new '-g[raph]' option which shows classes in the graph view.
      
      Meanwhile only generic stats info output is supported.
      
      e.g.:
      
      $ tc/tc -g class show dev tap0
      +---(1:2) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
      |    +---(1:40) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
      |    +---(1:50) htb rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
      |    |    +---(1:51) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
      |    |
      |    +---(1:60) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
      |
      +---(1:1) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
           +---(1:10) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
           +---(1:20) htb prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
           +---(1:30) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
      
      $ tc/tc -g -s class show dev tap0
      +---(1:2) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
      |    |    Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
      |    |    rate 0bit 0pps backlog 0b 0p requeues 0
      |    |
      |    +---(1:40) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
      |    |          Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
      |    |          rate 0bit 0pps backlog 0b 0p requeues 0
      |    |
      |    +---(1:50) htb rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
      |    |    |     Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
      |    |    |     rate 0bit 0pps backlog 0b 0p requeues 0
      |    |    |
      |    |    +---(1:51) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
      |    |               Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
      |    |               rate 0bit 0pps backlog 0b 0p requeues 0
      |    |
      |    +---(1:60) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
      |               Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
      |               rate 0bit 0pps backlog 0b 0p requeues 0
      |
      +---(1:1) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b
           |    Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
           |    rate 0bit 0pps backlog 0b 0p requeues 0
           |
           +---(1:10) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b
           |          Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
           |          rate 0bit 0pps backlog 0b 0p requeues 0
           |
           +---(1:20) htb prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b
           |          Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
           |          rate 0bit 0pps backlog 0b 0p requeues 0
           |
           +---(1:30) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b
                      Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
                      rate 0bit 0pps backlog 0b 0p requeues 0
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      d954b34a
    • Heiner Kallweit's avatar
      ip: extend "ip-address" man page to reflect the recent flag extensions · 18c8bbe3
      Heiner Kallweit authored
      Extend "ip-address" man page to reflect the recent extension of
      allowing to list addresses with flags tentative, deprecated, dadfailed
      not being set.
      Signed-off-by: default avatarHeiner Kallweit <heiner.kallweit@web.de>
      18c8bbe3
  6. 24 Dec, 2014 7 commits
  7. 20 Dec, 2014 7 commits
  8. 10 Dec, 2014 8 commits