1. 01 Dec, 2009 2 commits
  2. 17 Nov, 2009 1 commit
  3. 13 Nov, 2009 3 commits
  4. 10 Nov, 2009 7 commits
    • Stephen Hemminger's avatar
      Add static-syms.h to ignore · a6992a9c
      Stephen Hemminger authored
      a6992a9c
    • Mike Frysinger's avatar
      support static-only systems · f2e27cfb
      Mike Frysinger authored
      The iptables code supports a "no shared libs" mode where it can be used
      without requiring dlfcn related functionality.  This adds similar support
      to iproute2 so that it can easily be used on systems like nommu Linux (but
      obviously with a few limitations -- no dynamic plugins).
      
      Rather than modify every location that uses dlfcn.h, I hooked the dlfcn.h
      header with stub functions when shared library support is disabled.  Then
      symbol lookup is done via a local static lookup table (which is generated
      automatically at build time) so that internal symbols can be found.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      f2e27cfb
    • Mike Frysinger's avatar
      arpd/ifstat/nstat/rtacct: use daemon() · a7a9ddbb
      Mike Frysinger authored
      A bunch of misc utils basically reimplement the daemon() function (the
      whole fork/close/chdir/etc...).  Rather than do that, use daemon() as
      that will work under nommu Linux systems that lack fork().
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      a7a9ddbb
    • Patrick McHardy's avatar
      iproute uses too small of a receive buffer · 7f03191f
      Patrick McHardy authored
      It uses 1MB as receive buf limit by default (without
      increasing /proc/sys/net/core/rmem_max it will be limited by less
      however) and allows to specify the size manually using "-rcvbuf X"
      (-r is already used, so you need to specify at least -rc).
      
      Additionally rtnl_listen() continues on ENOBUFS after printing the
      error message.
      7f03191f
    • Sven Anders's avatar
      Fix flushing code - rtnl_send_check · 24f38182
      Sven Anders authored
      I experienced an error, if I try to perform a
      
        ip route flush proto 4
      
      with many routes in a complex environment, it
      gave me the following error:
      
        Failed to send flush request: Success
        Flush terminated
      24f38182
    • Stephen Hemminger's avatar
      Consolidate fprintf statements · 8a1c7fcb
      Stephen Hemminger authored
      Doing one item per call is like old MODULA2 code.
      8a1c7fcb
    • Stephen Hemminger's avatar
      Update to 2.6.32 kernel headers · 8007bfb5
      Stephen Hemminger authored
      8007bfb5
  5. 11 Sep, 2009 2 commits
  6. 10 Sep, 2009 1 commit
  7. 26 Aug, 2009 1 commit
  8. 06 Aug, 2009 4 commits
  9. 13 Jul, 2009 1 commit
  10. 26 May, 2009 8 commits
  11. 15 Apr, 2009 1 commit
  12. 14 Apr, 2009 1 commit
    • Thomas Egerer's avatar
      Fix display of xfrm · b9ab720e
      Thomas Egerer authored
      When using iproute2 to display information on policies installed in kernel
      (ip x p s) output is incorrect: IPv6 addresses printed as IPv4 addresses.
      In case I am dealing with inter protocol policies where the template's address
      family differs from those of the policy itself.
      The patch attached solves this problem.
      b9ab720e
  13. 13 Apr, 2009 2 commits
  14. 03 Apr, 2009 1 commit
  15. 27 Mar, 2009 5 commits
    • Olaf Rempel's avatar
      iproute2-2.6.14-051107: missing arpd directory · e48f73d6
      Olaf Rempel authored
      arpd requires a directory (/var/lib/arpd/) to run.
      see attached patch, which lets iproute create this directroy during install.
      e48f73d6
    • Oliver Hartkopp's avatar
      Add support Controller Area Network · 98f9a1d2
      Oliver Hartkopp authored
      t's not a big problem, but it makes a better show in 'ip link show' on
      CAN interfaces :-)
      
      I also moved __PF(CAN,can) in ll_proto.c to the same position where it
      can be found in if_ether.h .
      
      The only thing i did not know if the __PF(CAN,can) in ll_types.c needs
      to be put in #ifdef ARPHDR_CAN like __PF(HWX25,hwx25) is or not. You
      definitely know that better than me.
      98f9a1d2
    • Srivats P's avatar
      ip6tunnel: Fix no default display of ip4ip6 tunnels · c3651bf4
      Srivats P authored
      "ip -6 tunnel show" displays only ip6ip6 tunnels not ip4ip6 tunnels
       - it should display all irrespective of proto.
      
      This is because the default tunnel proto is initialized to IPPROTO_IPV6 in ip6_tnl_parm_init() which is fine for a 'add' command but not for 'show'. This patch overrides proto with 0 signifying 'mode any' as the default in case of a 'show'.
      c3651bf4
    • Sascha Hlusiak's avatar
      iptunnel: allow ISATAP with stateless autoconf · eeef12c5
      Sascha Hlusiak authored
      please commit my patch below to the iproutes package. It just an incorrect
      check so that adding an isatap tunnel with remote works, since it's needed if
      one wants to use stateless autoconf. The current check makes tunnel mode
      isatap unusable for all client users.
      eeef12c5
    • Andreas Henriksson's avatar
      iproute2: drop equalize support. · 6cdbf370
      Andreas Henriksson authored
      Hello Stephen and netdev people!
      
      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 http://bugs.debian.org/149897
      
      Regards,
      Andreas Henriksson
      6cdbf370