1. 13 Nov, 2009 1 commit
  2. 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
  3. 11 Sep, 2009 2 commits
  4. 10 Sep, 2009 1 commit
  5. 26 Aug, 2009 1 commit
  6. 06 Aug, 2009 4 commits
  7. 13 Jul, 2009 1 commit
  8. 26 May, 2009 8 commits
  9. 15 Apr, 2009 1 commit
  10. 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
  11. 13 Apr, 2009 2 commits
  12. 03 Apr, 2009 1 commit
  13. 27 Mar, 2009 10 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
    • Varun Chandramohan's avatar
      Enable Type Labels For "ip monitor all" · 4b6e07d8
      Varun Chandramohan authored
      This patch adds prefix lables for "ip monitor all" command to simplfy
      understanding of the output.
      Signed-off-by: default avatarVarun Chandramohan <varunc@linux.vnet.ibm.com>
      4b6e07d8
    • Varun Chandramohan's avatar
      Add Monitor Support For Neigh Table · fb063322
      Varun Chandramohan authored
      This patch adds exclusive support to enable monitoring
      neighbour table entries in ip command.
      Signed-off-by: default avatarVarun Chandramohan <varunc@linux.vnet.ibm.com>
      fb063322
    • Stephen Hemminger's avatar
      remove duplicate limits.h · 52d6a850
      Stephen Hemminger authored
      52d6a850
    • Petr Jediný's avatar
      10494d27
    • jamal's avatar
      ip: Allow for easier debug of buggy devices that dont send their names · 4cd23bdd
      jamal authored
      patch attached this time..
      
      On Fri, 2008-08-08 at 10:01 -0400, jamal wrote:
      > wireless drivers using wext is a prime example if you need a test case.
      >
      > cheers,
      > jamal
      
      ip: Allow for easier debug of buggy devices that dont send their names
      
      With the old message couldnt tell which device had the bug.
      This patch provides at least an ifindex to narrow it down.
      Theres also no point in bailing out because of one bug; we
      allow it to go on so we could dump as much info as we can
      Signed-off-by: default avatarJamal Hadi Salim <hadi@cyberus.ca>
      4cd23bdd