Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 1, 2010
  1. @kk7ds

    Add ip route save/restore

    kk7ds authored Stephen Hemminger committed
    This patch adds save and restore commands to "ip route". Save dumps
    the RTNL stream to stdout which can then be passed to restore later.
    This may be helpful in some normal situations, and will allow C/R to
    migrate the routing information in userspace.  Tweaking of the stream
    can be done by userspace helpers to convert between versions and adjust
    things like device indexes when restoring routes in a different
    By factoring out some of the common bits of print_route() into
    filter_nlmsg(), the "save" command can use the same selection logic
    as "list," allowing the caller to save only specific routes as
    The only change since the RFC is the addition of manpage and doc
    Signed-off-by: Dan Smith <>
Commits on Mar 4, 2010
  1. Add initrwnd to iproute2

    laurent chavey authored Stephen Hemminger committed
    Add initrwnd option parsing to iproute. This option uses the new
    rtnetlink init_rcvwnd to set the TCP initial receive window size
    advertised by passive and active TCP connections.
    Signed-off-by: Laurent Chavey <>
Commits on Feb 9, 2010
  1. @andhe

    iproute2: drop equalize support

    andhe authored Stephen Hemminger committed
    Currently you can configure "equalize" and it looks all fine and dandy.
    The kernel has the interface defined, but apparently there's never actually
    been any implementation for it (only a never merged patch in the 2.4 era).
    I'm suggesting to drop the code to give any potential users of this feature
    the benefit of receiving a proper error message. I see it unlikely that
    this will be implemented in the near future, but if it ever happens
    reviving the iproute2 side should be as easy as git revert this patch.
    For more details see
Commits on Dec 1, 2009
  1. iproute2 add hoplimit parsing and update usage and documentation

    Gilad Ben-Yossef authored Stephen Hemminger committed
    - Parse and handle the hoplimit ip route option and add it to the usage
      line and documentation.
    - Add the missing reordering ip route option to the usage line.
    - Add documentation for initcwnd ip route option.
    Tested by setting hoplimit and retreiving it via "show".
    Signed-off-by: Gilad Ben-Yossef <>
    [ported to HEAD, fixed a bug with hoplimit lock handling, added documentation]
    Signed-off-by: Ori Finkelman <>
    Signed-off-by: Yony Amit <>
Commits on Jun 23, 2008
  1. @bthery

    iproute2: add support for IFLA_NET_NS_PID in ip link

    bthery authored Stephen Hemminger committed
    Hi Stephen,
    I resend you this patch once more. This time I updated the documentation
    too (may be that was the reason why you didn't take it before?).
    Please tell me if there are other things missing in this patch
    It applies on iproute2 git tree.
    This patch adds support for the IFLA_NET_NS_PID type. It is used to
    move network devices between network namespaces.
    The syntax is:
    ip link set DEVICE netns PID
    PID is the pid of a process in the target network namespace.
    (Daniel Lezcano is the original author).
    Signed-off-by: Daniel Lezcano <>
    Signed-off-by: Benjamin Thery <>
    Signed-off-by: Stephen Hemminger <>
Commits on Apr 23, 2008
  1. @andhe

    document promote_secondaries

    andhe authored Stephen Hemminger committed
    Write something about the tweak to enable promoting secondary addresses
    instead of deleting them together with the primary address as discussed
    in this thread on the netdev mailing list:
    The claim that this is supported since 2.6.15 is based on looking at
    changes to net/ipv4/devinet.c in the linux-2.6 git tree:
    Commit to add support:
    2005-05-30      Harald Welte
    Commit to fix bug:
    2005-11-22      Jamal Hadi Salim
    Version 2.6.15 was released 2006-01-03 and seems to include the code from
    both the above commits.
Commits on Feb 13, 2008
  1. Update various classifiers' help output for expected CLASSID syntax

    PJ Waskiewicz authored Stephen Hemminger committed
    update: Fix the spelling of "hexidecimal"
    This updates the help output to specify that CLASSID should be hexidecimal.
    This makes sure that a user entering "flowid 1:10" gets his flow put into
    band 15 (0x10) and knows why.
    Signed-off-by: Peter P Waskiewicz Jr <>
    Signed-off-by: Stephen Hemminger <>
Commits on Dec 11, 2007
  1. Correct documentation regarding PROMISC and ALLMULTI.

    Tomas Janousek authored Stephen Hemminger committed
    The ip util would happily change these flags, it's just not recommended.
    Reflect that in the doc.
    The behaviour of ifconfig is exactly the same as of ip, delete the note about
    Signed-off-by: Tomas Janousek <>
    Signed-off-by: Stephen Hemminger <>
Commits on Dec 6, 2006
  1. clarify "ok" and "pass"

    jamal authored Stephen Hemminger committed
    a small one.
    I have a few more but just run out of cycles for now;
    if you dont mind holding before releasing for a short while so i can
    get them out I will appreciate it.
    [DOC]: clarify "ok" and "pass"
    A small fixup to elucidate the mysteries of accepting ..
    Signed-off-by: Stephen Hemminger <>
Commits on Aug 4, 2006
  1. documentation bug fix on mirred

    Jamal Hadi Salim authored Stephen Hemminger committed
    Heres another on top of the others i sent. If you get the time, can
    update your git tree with these patches?
    If you are planning to make a release soon, please ping me - I have at
    least one more patch that i need to work on.
    Update mirred usage to fix a bug noticed by
    Andy Furniss <>
    Also make it a little more readable.
  2. update documentation on mirred and IFB

    jamal authored Stephen Hemminger committed
    About two more or so to complete these..
    Clean up some documentation on mirred and IFB
Commits on Apr 17, 2006
  1. ifb needed to be added to repo.

    shemminger authored
Commits on Jan 10, 2006
  1. Add missing files.

    shemminger authored
Commits on Jan 3, 2006
  1. New ifb from jamal

    shemminger authored
Commits on Mar 10, 2005
  1. Don't run doc files N-up (from fedora core 3)!shemminger authored
    (Logical change 1.149)
Commits on Dec 8, 2004
  1. Import patch mirred.patch

    net[shemminger]!shemminger authored
    (Logical change 1.111)
  2. Initial revision

    net[shemminger]!shemminger authored
Commits on Aug 31, 2004
  1. Import patch patch-2.6.9-iproute2

    net[shemminger]!shemminger authored
    (Logical change 1.77)
  2. Initial revision

    net[shemminger]!shemminger authored
Commits on Apr 15, 2004
  1. (Logical change 1.3)!shemminger authored
  2. Initial revision!shemminger authored
Something went wrong with that request. Please try again.