- 29 Mar, 2010 5 commits
-
-
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 9 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>
-
Alex Badea authored
Allow tmpl IP addresses to have a different family than selector addresses. This is useful in conjunction with XFRM_STATE_AF_UNSPEC. Signed-off-by: Alex Badea <abadea@ixiacom.com>
-
Alex Badea authored
Convert to/from XFRM_STATE_ICMP and XFRM_STATE_AF_UNSPEC state flags. Signed-off-by: Alex Badea <abadea@ixiacom.com>
-
Andreas Henriksson authored
"function foo" should be "foo()" to work when sh is not bash. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Mike Frysinger authored
Since there aren't any targets that currently use this pattern rule, this is more of a proactive fix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 26 Dec, 2009 7 commits
-
-
Arnd Bergmann authored
Macvlan can now optionally support forwarding between its ports, if they are in "bridge" mode. This adds support for this option to "ip link add", "ip link set" and "ip -d link show". The default mode in the kernel is now "vepa" mode, meaning "virtual ethernet port aggregator". This mode is used together with the "hairpin" mode of an ethernet bridge that the parent of the macvlan device is connected to. All frames still get sent out to the external interface, but the adjacent bridge is able to send them back on the same wire in hairpin mode, so the macvlan ports are able to see each other, which the bridge can be configured to monitor and control traffic between all macvlan instances. Multicast traffic coming in from the external interface is checked for the source MAC address and only delivered to ports that have not yet seen it. In bridge mode, macvlan will send all multicast traffic to other interfaces that are also in bridge mode but not to those in vepa mode, which get them on the way back from the hairpin. The third supported mode is "private", which prevents communication between macvlans even if the adjacent bridge is in hairpin mode. This behavior is closer to the original implementation of macvlan but stricly maintains isolation. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-
Brian Haley authored
Fix support for IFA_F_DADFAILED and update ip.8 man page. Signed-off-by: Brian Haley <brian.haley@hp.com>
-
Patrick McHardy authored
David Miller wrote: > From: Patrick McHardy <kaber@trash.net> > Date: Mon, 30 Nov 2009 19:00:14 +0100 > >> This patch contains iproute support for iprule oif classification >> for the send-to-self RFC I just sent out. > > Patrick, you need to submit a new version of this patch with > the FIB_RULE_* macro fixed, just like the kernel version got > fixed. Thanks for reminind me of this. New patch attached. commit 0fe5164cbaa1d65dda341075710be71bf1f32d10 Author: Patrick McHardy <kaber@trash.net> Date: Fri Dec 4 07:06:18 2009 +0100 iprule: add oif classification support Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Jamal Hadi Salim authored
This adds support for setting the skb mark. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
-
Patrick McHardy authored
This patch adds support for the VLAN loose binding flag that is supported in net-next to iplink_vlan. commit 870970deb6cbea7a5d4881bdd717304d5284d315 Author: Patrick McHardy <kaber@trash.net> Date: Tue Dec 1 12:21:15 2009 +0100 iplink_vlan: add support for VLAN loose binding flag Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Stephen Hemminger authored
These corespond with 2.6.33-rc2
-
Stephen Hemminger authored
-