- 15 Sep, 2008 1 commit
-
- 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
-
- 23 Apr, 2008 3 commits
-
-
Daniel Silverstone authored
Fix "ip addr flush" the same way "ip neigh flush" was previously fixed, by bailing out if the flush hasn't completed after MAX_ROUNDS (10) tries.
-
Andreas Henriksson authored
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: http://www.spinics.net/lists/netdev/msg52294.html 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 8f937c6099858eee15fae14009dcbd05177fa91d Commit to fix bug: 2005-11-22 Jamal Hadi Salim 0ff60a45678e67b2547256a636fd00c1667ce4fa Version 2.6.15 was released 2006-01-03 and seems to include the code from both the above commits.
-
Andreas Henriksson authored
This one also caught by lintian (debian package checker tool).
-
- 17 Apr, 2008 4 commits
-
-
Stephen Hemminger authored
Release new snapshot for 2.6.25
-
Patrick McHardy authored
commit c504ffd627ac211eebf5ed34ef0fbfd7f1dbb347 Author: Patrick McHardy <kaber@trash.net> Date: Wed Mar 26 07:38:43 2008 +0100 [IPROUTE]: Fix classifier help The new check whether the user has specified a protocol makes "ip filter <type> help" fails with "protocol is required". This could be fixed by moving it further down, but a more user-friendly way it to simply use ETH_P_ALL as default if nothing is specified. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Jesper Dangaard Brouer authored
Introducing the function that does the ATM cell alignment, and modifying tc_calc_rtable() to use this based upon a linklayer parameter. Modified from original to use constants from atm.h and fix all the usages of rtable in same patch. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
-
Stephen Hemminger authored
Bug introduced by myself in an earlier patch series. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
-
- 08 Apr, 2008 1 commit
-
- 04 Apr, 2008 1 commit
-
-
Marcela Maslanova authored
I was asked to at least mention the xfrm option in ip manual. I added all usage into ip.8 and try to write some basic information about xfrm. If someone want complete it, I'll be happy. Marcela Maslanova a16304c0cdbdbc8926b112743b4bd49069a50cd7 man/man8/ip.8 | 474 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 474 insertions(+), 0 deletions(-) Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 03 Apr, 2008 1 commit
-
-
Björn Steinbrink authored
In ss.c, generic_proc_open(), for which the net_*_open functions are just convenient wrappers, uses fopen, so errors are signalled by a NULL return value. Some checks were expecting negative values instead, fix them. Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 01 Apr, 2008 1 commit
-
-
Stephen Hemminger authored
Copy sanitized kernel headers from 2.6.25-rc7 to ensure proper compatiability.
-