- 18 May, 2010 1 commit
-
-
Chris Wright authored
The kernel interface changed just before 2.6.34 was released. This brings iproute2 in line with the current changes. The VF portion of setlink is comprised of a set of nested attributes. IFLA_VFINFO_LIST (NESTED) IFLA_VF_INFO (NESTED) IFLA_VF_MAC IFLA_VF_VLAN IFLA_VF_TX_RATE Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-
- 17 May, 2010 2 commits
-
-
Stephen Hemminger authored
Add some missing pieces. Still need to add doucmentation for rest of vlan arguments.
-
Stephen Hemminger authored
Last minute IOV format change.
-
- 13 May, 2010 1 commit
-
-
Florian Westphal authored
ip addrlabel outputs if%d names due to missing init call: $ ip addrlabel s prefix a::42/128 dev if4 label 1000 Also, ip did not accept "if%d" interfaces on input. Signed-off-by: Florian Westphal <fw@strlen.de>
-
- 22 Apr, 2010 2 commits
-
-
Bart Trojanowski authored
When building on an old environment, the flex generated tc/emp_ematch.lex.c file would not compile. The error given was: emp_ematch.lex.c:1686: error: expected â;â, â,â or â)â before numeric constant The emp_ematch.l uses 'str' as a start symbol name, and flex would create a '#define str 1' statement. This particular version of flex, unfortunately, used 'str' as names of string variables in the generated parser functions. This is line 1686 in the generated file: YY_BUFFER_STATE ematch__scan_string (yyconst char * str ) This patch just substitutes 'str' for 'lexstr' in emp_ematch.l to avoid the collision.
-
Stephen Hemminger authored
2.6 kernel allows 2^32 route tables, but documentation stated only 255 values were possible.
-
- 12 Apr, 2010 2 commits
-
-
Alexandre Cassen authored
This patch fix two issues: * If kernel is not supporting 6rd then ioctl() call will return EINVAL, if so just skip perror call. * 6rd scope is ipv6/ip tunnels. Dont try to fetch 6rd tunnel parms if tunnel protocol != IPPROTO_IPV6. Signed-off-by: Alexandre Cassen <acassen@freebox.fr>
-
Andreas Henriksson authored
This will build the xt module (action ipt) of tc as a shared object that is linked at runtime by tc if used, rather then built into tc. This is similar to how the atm qdisc support is handled (q_atm.so). Signed-off-by: Andreas Henriksson <andreas@xxxxxxxx>
-
- 30 Mar, 2010 2 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Other commands are quiet if successful. mirred action had leftover debug message.
-
- 29 Mar, 2010 6 commits
-
-
Stephen Hemminger authored
XT_ALIGN() calls ALIGN macro but ALIGN is in kernel source not userspace.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Andreas Henriksson authored
Try to automatically detect iptables modules directory. Make the configure script look for iptables modules. This also makes it possible to specify it on the command line while building via "make IPT_LIB_DIR=/foo/bar". Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Jan Engelhardt authored
Up until now, "tun" tunnels were displayed as link/[65534]. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-
YOSHIFUJI Hideaki / 吉藤英明 authored
This tool reads /etc/gai.conf, configuration for getaddrinfo(3), and set up kernel parameter. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
-
- 09 Mar, 2010 1 commit
-
-
Michele Petrazzo - Unipex authored
Allow ip to process all the file passed with the -batch argument when is passed also the -force switch Signed-off-by: Michele Petrazzo <michele.petrazzo@unipex.it>
-
- 04 Mar, 2010 13 commits
-
-
Wolfgang Grandegger authored
This patch uses the new features of the kernel's netlink CAN interface making the bus-error reporting configurable and allowing to retrieve the CAN TX and RX bus error counters via netlink interface. Here is the output of my test session showing how to use them: # ip link set can0 up type can bitrate 500000 berr-reporting on # ip -d -s link show can0 2: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN qlen 10 link/can can <BERR-REPORTING> state ERROR-PASSIVE (berr-counter tx 128 rx 0) restart-ms 0 CAN bus error counter values ^^^^^^^^^^^ bitrate 500000 sample-point 0.875 tq 125 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1 sja1000: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp-inc 1 clock 8000000 re-started bus-errors arbit-lost error-warn error-pass bus-off 0 54101 0 1 1 0 RX: bytes packets errors dropped overrun mcast 432808 54101 54101 0 0 0 TX: bytes packets errors dropped carrier collsns 0 0 0 0 0 0 # ifconfig can0 down # ip link set can0 up type can berr-reporting off # candump -t d any,0:0,#FFFFFFFF (0.000000) can0 20000004 [8] 00 08 00 00 00 00 60 00 ERRORFRAME (0.000474) can0 20000004 [8] 00 20 00 00 00 00 80 00 ERRORFRAME ^^ ^^ \ \___ rxerr \_____ txerr Furthermore, the missing support for one-shot mode has been added. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
-
Jamal Hadi Salim authored
Add support for SA manipulation by mark Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
Jamal Hadi Salim authored
This patch carries basic infrastructure. You need to make sure that the proper include/linux/xfrm.h is included for it to compile. Example:
-
Jamal Hadi Salim authored
Add support for SP manipulation by mark Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
jamal authored
parsing a mark as a classid allows for acceptance of strange informal input. cheers, jamal commit aad0da6507ff8a95a63ed8e529c05f52be5b0e75 Author: Jamal Hadi Salim <hadi@cyberus.ca> Date: Mon Feb 15 06:45:29 2010 -0500 skbedit: use get_u32 for parsing mark get_u32 is the more appropriate parser for a mark. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
-
Williams, Mitch A authored
Modify the parser to keep track of the first of any duplicated attributes, instead of the last. This is required for VF configuration reporting, where multiple attributes of the same type are added sequentially. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
Williams, Mitch A authored
Add support to 'ip' for setting and showing SR-IOV virtual function link parameters. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
Williams, Mitch A authored
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
Stephen Hemminger authored
ip command should not keep track of lineno, that is done in getcmdline().
-
Stephen Hemminger authored
Use santized headers from net-next tree.
-
laurent chavey authored
Add initrwnd option parsing to iproute. This option uses the new rtnetlink init_rcvwnd to set the TCP initial receive window size advertised by passive and active TCP connections. Signed-off-by: Laurent Chavey <chavey@google.com>
-
Hagen Paul Pfeifer authored
This adds the required changes to gain access to the head drop classfull queuing discipline named pfifo_head_drop. In difference to pfifo or pfifo_fast this queuing discipline will drop the first packet in the case of queue congestion. As a result the queue contain always the freshest packets. To replace the current a root queueing discipline for eth0: $ tc qdisc replace dev eth0 root pfifo_head_drop And show statistics: $ tc -s qdisc show dev eth0 Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
- 25 Feb, 2010 1 commit
-
-
Stephen Hemminger authored
Final 2.6.33 version
-
- 09 Feb, 2010 3 commits
-
-
Alexandre Cassen authored
This patch provides iproute2 facilities to configure 6rd tunnel. To configure a 6rd tunnel, you need to configure a sit tunnel and set 6rd prefix as following : ip tunnel add sit1 mode sit local a.b.c.d ttl 64 ip tunnel 6rd dev sit1 6rd-prefix xxxx:yyyy::/z Optionally you can provide a relay prefix : ip tunnel 6rd dev sit1 6rd-relay_prefix e.f.g.h/i Finally you can reset previous tunnel settings : ip tunnel 6rd dev sit1 6rd-reset Signed-off-by: Alexandre Cassen <acassen@freebox.fr>
-
Brian Haley authored
IPv6 addresses that have IFA_F_SECONDARY set are actually temporary addresses, hence the IFA_F_TEMPORARY equivalent. Change the output in this case and allow filtering on the word "temporary". Signed-off-by: Brian Haley <brian.haley@hp.com>
-
Andreas Henriksson authored
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
-
- 05 Feb, 2010 1 commit
-
-
Stephen Hemminger authored
-
- 21 Jan, 2010 5 commits
-
-
Florian Westphal authored
With help from Patrick McHardy. Signed-off-by: Florian Westphal <fw@strlen.de>
-
Florian Westphal authored
remove unused #define and "ok" statements. Signed-off-by: Florian Westphal <fwestphal@astaro.com>
-
Florian Westphal authored
$ tc qdisc add dev eth1 root tbf RTNETLINK answers: Invalid argument $ tc qdisc add dev eth1 root red RTNETLINK answers: Invalid argument with patch: $ tc qdisc add dev eth1 root red Required parameter (min, max, burst, limit, avpkt) is missing $ tc qdisc add dev eth1 root tbf Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS ... Signed-off-by: Florian Westphal <fw@strlen.de>
-
Florian Westphal authored
fix up reference: there is no tc(7) man page. Signed-off-by: Florian Westphal <fw@strlen.de>
-
Florian Westphal authored
Signed-off-by: Florian Westphal <fw@strlen.de>
-