- 18 Sep, 2008 7 commits
-
-
Li Yewang authored
When load the tcp_diag module, and use "ss -f inet" command to show the socket information of inet domain. But this command also shows the information of inet6 domain, but not only inet domain. and "ss -f inet6", "ss -4", "ss -6" have the same problem. Signed-off-by: Li Yewang <lyw@cn.fujitsu.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Li Yewang authored
when using the "ss -f inet -t" command to show the tcp socket information of inet domain, we get the error message: "ss: no socket tables to show with such filter." This patch can fix this bug. Signed-off-by: Li Yewang <lyw@cn.fujitsu.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Andreas Henriksson authored
Hello Rafael Almeida. I noticed your patch adding DESTDIR support in the latest iproute2 release. Much appreciated! Soon the debian packages might be able to move to actually using "make install" rather then it's own installation procedure when building packages. I've noticed something that will break though.... Debian packages usually sets DESTDIR=debian/tmp/ and packages the contents of that directory as if it where the root file system. This will break the /usr/lib/{tc,ip}/ module loading, because they DESTDIR (/usr) will be /whatever-the-build-path-was/debian/tmp/lib/{tc,ip}/. I beleive others usually call this the LIBDIR to make the separation between DISTDIR being the (possibly temporary) place things are put when build is done, and LIBDIR (and others) are used for actual runtime paths. I'm attaching a patch that I think fixes this, but would be really happy if you could have a look at to verify I'm not screwing something up. -- Regards, Andreas Henriksson Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Jussi Kivilinna authored
Patch adds generic size table that is similiar to rate table, with difference that size table stores link layer packet size. Based on patch by Patrick McHardy http://marc.info/?l=linux-netdev&m=115201979221729&w=2Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Patrick McHardy authored
This is the patch for iproute for configuring GVRP. commit 32143eed8b706e5c6554ab42903533b3bccdc060 Author: Patrick McHardy <kaber@trash.net> Date: Thu Jul 3 19:05:09 2008 +0200 [IPROUTE]: iflink_vlan: support GVRP flag Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Patrick McHardy authored
commit 337628b9aca63fda7622701191d6304c83438909 Author: Patrick McHardy <kaber@trash.net> Date: Fri Jul 4 04:54:56 2008 +0200 cls_flow: add perturbation support Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Fix up conflict with earlier attempt at resolving build issues with MQ
-
- 15 Sep, 2008 4 commits
-
-
Andreas Henriksson authored
On tis, 2008-07-22 at 20:21 +0200, martin f krafft wrote: > piper:~|master|% sudo ip a flush dev eth0 >/dev/null > Nothing to flush. > > It should just shut up, shouldn't it? :) The patch below makes the "Nothing to flush" only visible when show statistics flag is given, and then only to stdout rather then stderr. $ sudo ./ip/ip -s addr flush dev skif Nothing to flush. $ sudo ./ip/ip addr flush dev skif $ (See http://bugs.debian.org/492196 )
-
Andreas Henriksson authored
Commit 516ffb6b says: Stephen Hemminger [Thu, 22 May 2008 20:41:40 +0000 (13:41 -0700)] > Use the standard POSIX inet_pton to convert from string to IPV4 > address. This avoids problems where ip parses "127.2" wrong. Apparently inet_pton doesn't support abbreviated/shortened/classful ipv4 addresses at all, but inet_aton does. Since the function only deals with AF_INET anyway maybe using inet_aton "to increse backwards compatability" (please those who still want to use the format) could be considered? (This will still not restore the 10/8 format which apparently used to work in iproute, so people would have to settle for 10.0/8) (See http://bugs.debian.org/497011)
-
Stephen Hemminger authored
The one issue was the old multiqueue API, so that is handled by tc_util.h
-
- 12 Sep, 2008 1 commit
-
-
Stephen Hemminger authored
-
- 05 Sep, 2008 1 commit
-
-
Stephen Hemminger authored
Most newer documentation refers to these values already.
-
- 31 Jul, 2008 2 commits
-
-
Andreas Henriksson authored
Fix syntax errors in ip(8) manpage. lintian said: W: iproute: manpage-has-errors-from-man usr/share/man/man8/ip.8.gz 2167: warning: `RP' not defined Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Denys Fedoryshchenko authored
This patch fixes bug in Metadata ematch attributes parser strtoul on error return ULONG_MAX, not LONG_MAX Patch attached as file
-
- 26 Jul, 2008 1 commit
-
- 25 Jul, 2008 3 commits
-
-
Stephen Hemminger authored
-
Rafael Almeida authored
After changing the DESTDIR the installated binaries have some issues due to hard coded paths. For example, using distributions on NetEm would segfault. I've changed iplink.c and tc_util.c so they are now aware of DESTDIR. Along with that change I needed to change the main Makefile so it defines the DESTDIR macro when calling gcc. I also changed the paths so that during the installation sbin, etc, share and lib directories are created directly inside of the DESTDIR, instead of creating a usr directory inside that. That's the behaviour of most packages out there, so I think most users will be expecting that to happen.
-
Varun Chandramohan authored
The command "ip addrlabel add/del" displays incorrect error message when provided with insufficient inputs. This patch fixes it in par with "ip addr add/del". Currently: # ./ip addrlabel add RTNETLINK answers: Numerical result out of range # ./ip addr add Not enough information: "dev" argument is required. After patch: # ./ip addrlabel add Not enough information: "prefix" argument is required. Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 15 Jul, 2008 1 commit
-
-
Stephen Hemminger authored
Copy santized version of headers from 2.6.26 final version.
-
- 08 Jul, 2008 1 commit
-
- 30 Jun, 2008 2 commits
-
-
Stephen Hemminger authored
Don't just silently drop.
-
Stephen Hemminger authored
The current kernel generates 71 possible header fields, but MAX_FIELDS in lnstat is only 64. This leads to referencing outside of the array. To fix, increase size of array and chop off parsing at MAX_FIELDS - 1.
-
- 23 Jun, 2008 4 commits
-
-
Yu Zhiguo authored
Fix a bug of generic_proc_open(), so environment variables (e.g. PROC_NET_SNMP, PROC_NET_RTACCT) can be used to specify procfile. Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
-
Bertrand Jacquin authored
The programs in netem are compiled and run on the build machine, but they use the CFLAGS that are meant for the target system and often times, these are incompatible. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Benjamin Thery authored
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. Regards, Benjamin Description: ------------ 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 <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Patrick McHardy authored
> # tc filter show dev eth1 | grep 4:29:d1 > filter parent 1: protocol ip pref 5 u32 fh 4:29:d1 order 209 key ht 4 > bkt 29 flowid 1:b7aa > > # tc filter del dev eth1 parent 1: pref 5 handle 4:29:d1 u32 > RTNETLINK answers: Invalid argument > We have an error talking to the kernel > > after rollback to package"sys-apps/iproute2-2.6.24.20080108" all > deleted normal... The current iproute version uses "protocol all" by default if its not specified. This is actually only useful for creating new filters, on deletion an unset protocol is treated as wildcard.
-
- 20 Jun, 2008 4 commits
-
-
Stephen Hemminger authored
The kernel timers are exposed in user hz not kernel hz
-
Stephen Hemminger authored
All timer values from kernel are supposed to be in constant units or user hz value.
-
Stephen Hemminger authored
The function get_hz() returns the psched hz value which is wrong for anything other than tc usage. Should be user hz instead, but kernel is broken (patch sent) and this code doesn't get hit on current systems (netlink is used first).
-
Stephen Hemminger authored
Copy sanitized headers from 2.6.26-rc6
-
- 29 May, 2008 1 commit
-
-
Stephen Hemminger authored
Bugfix: use strtoul rather than strtol for bstrtol to handle large key/mask. Deinline larger functions to save space.
-
- 22 May, 2008 1 commit
-
-
Stephen Hemminger authored
Use the standard POSIX inet_pton to convert from string to IPV4 address. This avoids problems where ip parses "127.2" wrong.
-
- 10 May, 2008 1 commit
-
-
Andreas Henriksson authored
-
- 09 May, 2008 4 commits
-
-
Herbert Xu authored
Hi Stephen: [IP] xfrm: Allow replay setting For certain applications there is a requirement to start the sequence number from a point other than the default. As it is the kernel provides an interface to do that but it isn't available through the ip(8) command. Since we're encouraging people to migrate over to ip(8) for manual keying, it is useful to have this ability there. This patch adds support for setting replay sequence numbers through ip(8). Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
-
jamal authored
And last for now .. cheers, jamal [PATCH 3/3] [TC/U32] Infrastructure for pretty printing This patch makes it easy to add pretty printers of different protocols. For starters it makes use of ipv4 and raw printers. Add more later ... Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
jamal authored
makes protocol accessible .. cheers, jamal [PATCH 2/3] [TC/FILTERS] Expose the filter protocol Expose the filter protocol so it can be used by underlying classifiers when they need it. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
Stephen Hemminger authored
Don't break scripts that depend on previous offset/value format. Introduce a new -pretty flag for decoding, and (*gasp*) document the formatting arguments.
-
- 08 May, 2008 1 commit
-
-
Stephen Hemminger authored
The addr[] was being used signed, but this causes hash calcultion to overflow. Originally reported as Debian bug 480173.
-
- 28 Apr, 2008 1 commit
-