- 19 Oct, 2006 4 commits
-
-
Stephen Hemminger authored
The current genl Makefile sticks -lm and -ldl into LDFLAGS ... however, this does not create the proper link order as the implicit Makefile rules will place LDFLAGS before object files attached patch uses LDLIBS for -lm and -ldl and make's implicit rule will place them in the proper location also, i removed the -s argument to `install` as install does stripping improperly in many scenarios (such as cross-compiling) ... and in general, it's nice if the decision to strip is handled by the sysadmin -mike
-
Stephen Hemminger authored
If user asks for large usec value it could overflow 32 bits. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
- 02 Oct, 2006 2 commits
-
-
Stephen Hemminger authored
v2.6.18-061002
-
Stephen Hemminger authored
Add .o,.a,.so to .gitignore
-
- 26 Sep, 2006 4 commits
-
-
Stephen Hemminger authored
Prevent accidental damage from rtnl library if fd is uninitialized. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
The change to hold open the netlink socket (for ip batch mode), broke XFRM monitoring. Bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383133Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
- 25 Sep, 2006 1 commit
-
-
Stephen Hemminger authored
Update .gitignore
-
- 11 Aug, 2006 1 commit
-
-
Andy Gay authored
[IPROUTE]: Fix struct alignment with cris architecture gcc for the cris arch does not pad structures to the next multiple of 4 bytes, as the i386 gcc does. This causes errors like this when displaying xfrm policies: # ip x p !!!Deficit 3, rta_len=300 src 192.168.251.32/29 dst 192.168.251.32/29 dir in priority 0 !!!Deficit 3, rta_len=180 src 0.0.0.0/0 dst 192.168.251.32/29 dir in priority 2208 .... Similar errors are seen from ip x s. This patch fixes the errors when printing. I'm not sure whether we should worry about other uses of the affected structs, I've not seen any other bad effects from this though, so hopefully this is enough. (Thanks to Herbert Xu for pointing out that NLMSG_SPACE is the correct macro to use here.) Tested against 2.6.17.6 kernel on i386, and 2.6.16.1 kernel on cris. Signed-off-by: Andy Gay <andy@andynet.net> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
- 10 Aug, 2006 4 commits
-
-
Patrick McHardy authored
[IPROUTE]: Add support for larger number of routing tables Support support for 2^32 routing tables by using the new RTA_TABLE attribute for specifying tables > 255 and intepreting it if it is sent by the kernel. When tables > 255 are used on a kernel not supporting it an error will occur because of the unknown netlink attribute. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Patrick McHardy authored
[IPROUTE]: Use hash for routing table name cache Use a hash for routing table name cache instead of the fixed size array. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Patrick McHardy authored
[IPROUTE]: Preparation for 32 bit table IDs The route table filter uses an integer for the table number and the value -1 to represent cloned routes. For 32 bit table IDs it needs to become an unsigned, so this won't work anymore. Introduce a new filter flag "cloned" and use instead of filter.tb = -1. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Patrick McHardy authored
table from the route type. This doesn't really work anymore now that IPv6 supports multiple tables. Add detection for IPv6 multiple table support (relying on the fact that the first routes dumped belong to the local table and have rtm_table == RT_TABLE_LOCAL with multiple tables) and handle it like other protocols. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
- 08 Aug, 2006 7 commits
-
-
Stephen Hemminger authored
on byteorder. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Jamal Hadi Salim authored
The controller is the only module using this at the moment. Thomas has a sample user of genetlink that would fit here; bug him for it. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Jamal Hadi Salim authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
Jamal Hadi Salim authored
User runs "tc monitor" (without quotes) and watches events of addition, deletion and updates from qdiscs, classes, filters and actions as they happen. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
-
- 04 Aug, 2006 8 commits
-
-
Jesper Dangaard Brouer authored
- Remove the parameter "get" as it is not implemented. - Add the parameter "replace".
-
jamal authored
-
Jamal Hadi Salim authored
Stephen, Heres another on top of the others i sent. If you get the time, can update your git tree with these patches? If you are planning to make a release soon, please ping me - I have at least one more patch that i need to work on. cheers, jamal Update mirred usage to fix a bug noticed by Andy Furniss <lists@andyfurniss.entadsl.com> Also make it a little more readable.
-
Patrick McHardy authored
-
Stephen Hemminger authored
use C99 initialization to match rtnetlink.h
-
jamal authored
About two more or so to complete these.. cheers, jamal Clean up some documentation on mirred and IFB
-
Stephen Hemminger authored
-
Vince Worthington authored
Vince Worthington wrote: > Hello, > > We've been working with a customer of ours who was experiencing some > latency issues, and in the process of helping them solve their problem > we found that adding the ability to adjust the Initial Max Congestion > Window size on a route, they were able to tune their routes to perform > more favorably in their mixed Linux and Solaris environment. There > were a couple of other tuning steps necessary as well but we did find > that the ability to set a larger initial max congestion window size > was helpful in making Linux behave more like Solaris in low-latency > situations. > > The kernel already supports this route attribute, this patch simply > adds the option to iproute.c to provide a means to set it from userspace. > > I've attached the patch we used in test builds of the iproute packages > we distribute in RHEL3 and RHEL4 for your consideration for possible > acceptance and inclusion in iproute. Please let us know if there is > any further information you would need or if there is a more > appropriate venue to submit this patch. > > Thanks, > Vince Worthington > Red Hat, Inc. Stephen, I apologize for the last patch I sent not applying cleanly to the latest iproute2 sources. I realized that this might impede any review/acceptance of the patch and created a separate patch against the 20060323 build of iproute2, which seems to be the latest (by looking at the website). The previous patch wouldn't apply cleanly due to the label of the ssthresh argument being corrected from REALMS to NUMBER. Please let us know if there is any other information or assistance we can be with this patch submission. Thanks Vince
-
- 15 Jun, 2006 1 commit
-
-
Stephen Hemminger authored
-
- 09 May, 2006 2 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
/sbin/ifcfg: line 25: [: too many arguments /sbin/ifcfg: line 26: [: -ge: unary operator expected /sbin/ifcfg: line 27: [: -ge: unary operator expected /sbin/ifcfg: line 28: [: -ge: unary operator expected might i suggest the attached patch -mike
-
- 17 Apr, 2006 1 commit
-
-
shemminger authored
-
- 23 Mar, 2006 2 commits
-
-
shemminger authored
-
shemminger authored
-
- 22 Mar, 2006 1 commit
-
-
shemminger authored
-
- 21 Mar, 2006 1 commit
-
-
shemminger authored
addresses. Specifically it does not correctly handle the addition of new entries in the neighbor/arp table. For example, this command will fail: ip neigh add 192.168.0.138 lladdr 00:00:04:04:fe:80:00:00:00:00:00:00:00:01:73:00:00:00:8a:91 nud permanent dev ib0 An IPoIB link layer address is 20-bytes (see http://www.ietf.org/internet-drafts/draft-ietf-ipoib-ip-over-infiniband-09.txt, section 9.1.1). The command line parsing code expects link layer addresses to be a maximum of 16-bytes. Addresses over 16-bytes are truncated.
-
- 14 Mar, 2006 1 commit
-
-
shemminger authored
-