- 13 Nov, 2009 1 commit
-
-
Mike Frysinger authored
A bunch of source files look like they're copy & pasted from other files, and some include header files that they don't actually need. Since dlfcn has very specific usage (and is a pain on a static-only system), drop it where it isn't really needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 10 Nov, 2009 7 commits
-
-
Stephen Hemminger authored
-
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: Mike Frysinger <vapier@gentoo.org>
-
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: Mike Frysinger <vapier@gentoo.org>
-
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.
-
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
-
Stephen Hemminger authored
Doing one item per call is like old MODULA2 code.
-
Stephen Hemminger authored
-
- 11 Sep, 2009 2 commits
-
-
Eric Dumazet authored
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
On 64bit arches, sk pointer was 32/32 reversed. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
- 10 Sep, 2009 1 commit
-
-
Stephen Hemminger authored
Final 2.6.31 released, so update sanitized headers.
-
- 26 Aug, 2009 1 commit
-
-
Stephen Hemminger authored
-
- 06 Aug, 2009 4 commits
-
-
Mike Frysinger authored
The q_atm.so target defines its own link target, but it doesn't respect the $(LDFLAGS) variable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Andreas Henriksson authored
Fix spelling (s/commoand/command/) in ip(8) manpage. Spotted by dann frazier <dannf@hp.com> - http://bugs.debian.org/539830
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
- 13 Jul, 2009 1 commit
-
-
Stephen Hemminger authored
Checking for errors would cause some responses to be lost.
-
- 26 May, 2009 8 commits
-
-
Stephen Hemminger authored
-
Wolfgang Grandegger authored
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
-
Wolfgang Grandegger authored
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
-
Sascha Hlusiak authored
--Boundary-01=_wxi/JRaNdLkbr7g Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Stephen, please review attached patch to add support for in-kernel potential router= =20 lists for ISATAP tunnels. Usage: ip tunnel add name isatap0 mode isatap local 192.168.1.100 ip tunnel prl dev isatap0 prl-default 192.168.1.1 ip tunnel prl dev isatap0 prl-nodefault 192.168.1.2 ip tunnel prl dev isatap0 prl-delete 192.168.1.1 ip tunnel show # pr and pdr will be listed as well Patch based on http://osprey67.com/seal/iproute2_diff.v0_3.txt by Fred L.=20 Templin. Thanks, Sascha
-
Denys Fedoryshchenko authored
Sometimes while dividing bandwidth by classes it is useful to see how some specific class doing things live. Which my simple patch it is possible to do watch -n1 "tc -s -d class show dev eth0.2022 classid 1:1520" and to get live statistics, how packets queued or dropped, and how much bandwidth used (if estimator defined) for specific class. Signed-off-by: Denys Fedoryshchenko <denys@visp.net.lb>
-
Andreas Henriksson authored
On tor, 2009-04-30 at 14:32 +0100, Timothy Baldwin wrote: > Package: iproute > Version: 20090324-1 > Severity: minor > > > $ ip link set eth0 address help > "help" is invalid lladdr. > Segmentation fault > > Desipte the invalid command line arguments it shouldn't crash. > Callers need to check return value from ll_addr_a2n(). Patch below. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Stephen Hemminger authored
To emulate WRED behaviour, allow default DP of zero.
-
Stephen Hemminger authored
-
- 15 Apr, 2009 1 commit
-
-
Stephen Hemminger authored
Use existing u32 mechanism to match based on Ethernet header. No need for protocol that already exists.
-
- 14 Apr, 2009 1 commit
-
-
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.
-
- 13 Apr, 2009 2 commits
-
-
Thomas Graf authored
Stephen, iproute2 part of the cgroup classifier that has been included upstream for a while. Please apply.
-
Oliver Hartkopp authored
Hello Stephen, thanks für the commit of my last CAN patch. Today i got a hint, that the help text of 'ip link' can be improved also. Many thanks! Oliver Signed-Off-By: Oliver Hartkopp <oliver@hartkopp.net>
-
- 03 Apr, 2009 1 commit
-
-
Stephen Hemminger authored
The selector logic is clearer with if / else if
-
- 27 Mar, 2009 10 commits
-
-
Olaf Rempel authored
arpd requires a directory (/var/lib/arpd/) to run. see attached patch, which lets iproute create this directroy during install.
-
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.
-
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'.
-
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.
-
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
-
Varun Chandramohan authored
This patch adds prefix lables for "ip monitor all" command to simplfy understanding of the output. Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com>
-
Varun Chandramohan authored
This patch adds exclusive support to enable monitoring neighbour table entries in ip command. Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com>
-
Stephen Hemminger authored
-
Petr Jediný authored
-
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: Jamal Hadi Salim <hadi@cyberus.ca>
-