- 03 May, 2013 4 commits
-
-
Daniel Borkmann authored
This patch adds support for tokenized IIDs, that enable administrators to assign well-known host-part addresses to nodes whilst still obtaining global network prefix from Router Advertisements. This is the iproute2 part for the kernel patch f53adae4eae5 (``net: ipv6: add tokenized interface identifier support''). Example commands with iproute2: Setting a device token: # ip token set ::1a:2b:3c:4d/64 dev eth1 Getting a device token: # ip token get dev eth1 token ::1a:2b:3c:4d dev eth1 Listing all tokens: # ip token list (or: ip token) token :: dev eth0 token ::1a:2b:3c:4d dev eth1 Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
-
Stephen Hemminger authored
Merge in kernel sanitized headers from upstream
-
Nicolas Dichtel authored
There is three possibilities: only IPv6, only IPv4 or both. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Kamil Rytarowski authored
Hello! I'm attaching a patch [1] "Feed GCC 4.8.0 against new warning that is shipped with -Wall: -Wsizeof-pointer-memaccess.". More details: http://gcc.gnu.org/gcc-4.8/porting_to.html Regards, [1] 0001-Feed-GCC-4.8.0-against-new-warning-that-is-shipped-w.patch >From 1f3ea01fe2ff61cbbca6474f7d9903a0756a4f44 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski <n54@gmx.com> Date: Fri, 3 May 2013 18:43:38 +0200 Subject: [PATCH] Feed GCC 4.8.0 against new warning that is shipped with -Wall: -Wsizeof-pointer-memaccess.
-
- 01 May, 2013 1 commit
-
-
Alexander Duyck authored
In trying to build on a RHEL6.3 I ran into several build issues that are addressed in this patch. The first is that xtables_merge_options only has 3 parameters. It appears this is how this code was originally. As such for the case where the version is less than 6 I am assuming it would be correct to maintain the original setup that only had 3 parameters being passed instead of 4. I also ran into an issue with the define for __ALIGN_KERNEL not being present. I believe this may be due to the fact that __ALIGN_KERNEL was moved into a separate header from ALIGN after the UAPI changes. In order to just cover all of the bases I have moved the main definition for the macros into __ALIGN_KERNEL_MASK and __ALIGN_KERNEL and if ALIGN is also needed then it is just a direct redefine to __ALIGN_KERNEL. Cc: Hasan Chowdhury <shemonc@gmail.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
- 30 Apr, 2013 1 commit
-
-
Stephen Hemminger authored
-
- 26 Apr, 2013 1 commit
-
-
Alexander Duyck authored
This change corrects a kernel incompatibility that was resulting in the ext_filter_mask not being correctly discovered by the kernel as it is buried somewhere in the ifinfomsg. Reported-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: David S. Miller <davem@davemloft.net>
-
- 17 Apr, 2013 3 commits
-
-
Stephen Hemminger authored
Debian Squeeze has out of date <sys/mount.h> without the required flags.
-
Stephen Hemminger authored
This reverts commit 5abe4685.
-
Stephen Hemminger authored
The ipnetns nees MS_SLAVE, MS_SHARED etc definitions which are in include/linux/fs.h.
-
- 12 Apr, 2013 2 commits
-
-
Stephen Hemminger authored
Be more careful about overflow in strtoXX routines. Checks are based on documented interface on man pages. Based on suggestion from "Mr Dash Four". Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
Hubert Kario authored
The tc command is missing documentation of -batch and -force switches that are returned by "tc -help". Add short description on their syntax and usage.
-
- 05 Apr, 2013 1 commit
-
-
Petr Sabata authored
This patch fixes some of the typos found in iproute2 documentation. Signed-off-by: Petr Šabata <contyk@redhat.com>
-
- 01 Apr, 2013 1 commit
-
-
Stephen Hemminger authored
-
- 28 Mar, 2013 10 commits
-
-
Stephen Hemminger authored
Don't call ll_init_map on modify operations Saves significant overhead with 1000's of devices.
-
Stephen Hemminger authored
Make ll_ functions faster by having a name hash, and allow for deletion. Also, allow them to work without calling ll_init_map.
-
Nicolas Dichtel authored
When this flag is set, it means that dump was interrupted and result may be inconsistent. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
David Ward authored
Quotation marks are now used only to indicate literal text on the command line. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Change ALGO-KEY to ALGO-KEYMAT to make it more obvious that the keying material might need to contain more than just the key (such as a salt or nonce value). List the algorithm names that currently exist in the kernel. Indicate that for IPComp, the Compression Parameter Index (CPI) is used as the SPI. Group the list of mode values by transform protocol. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Compression algorithms do not use a key. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Ensure that only algorithms and modes supported by the transform protocol are specified (so that errors are more obvious). Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
AEAD algorithms perform both encryption and authentication; they are not combined with separate encryption or authentication algorithms. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
A Security Policy Index (SPI) is not used with Mobile IPv6. IPComp uses a smaller 16-bit Compression Parameter Index (CPI) which is passed as the SPI value. Perform checks whenever specifying an ID. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
- 27 Mar, 2013 4 commits
-
-
James Chapman authored
Add documentation about the new l2spec_type parameter for "ip l2tp add session". Signed-off-by: James Chapman <jchapman@katalix.com>
-
James Chapman authored
When unmanaged L2TP sessions are created using "ip l2tp add session", there is no option to allow the session's Layer2SpecificHeader type to be selected - the kernel's default setting is always used. For interopability with some vendor equipment, it might be necessary to use a different setting. So add a new l2spec_type parameter to the "ip l2tp add session" parameter list, allowing operators to set a specific Layer2SpecificHeader type. The kernel already exposes the setting as a netlink attribute so it is straightforward to add support for it in iproute2. This change allows unmanaged L2TP sessions to be configured between Linux and some Cisco equipment by specifying "l2spec_type none" in "ip l2tp add session" command parameters. Signed-off-by: James Chapman <jchapman@katalix.com>
-
Stephen Hemminger authored
Better to get prototype from system headers
-
Stephen Hemminger authored
The address was being stored but not used by current code.
-
- 22 Mar, 2013 1 commit
-
-
Stephen Hemminger authored
In older versions of traffic shaping the Alpha kernel was special and had higher HZ. This no longer matters, TC is based on high resoulution timers in kernel.
-
- 20 Mar, 2013 1 commit
-
-
Thomas Egerer authored
My previous commit introduced a patch to allow for states with different ip address families for selector and id. The must have somehow been a mixup of the patch I tested and the one I send, so the patch sent breaks the iproute2 build. This patch fixes this. My apologies. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
-
- 18 Mar, 2013 1 commit
-
-
Thomas Egerer authored
Do not enforce the selector of a state to have the same address family as the id. This makes it possible to configure inter family states. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
-
- 16 Mar, 2013 4 commits
-
-
Stephen Hemminger authored
Split output of 'bridge link' across multiple lines, only show the flags if -d is set, and add --oneline option like ip command.
-
Vlad Yasevich authored
Bridge tool now supports setting and retrieving bridge port specific link attributes. Document what attributes are supported and what they mean. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Vlad Yasevich authored
Output new nested bridge port attributes. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
Vlad Yasevich authored
Add netlink support bridge port attributes such as cost, priority, state and flags. This also adds support for HW mode such as VEPA or VEB. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
-
- 14 Mar, 2013 3 commits
-
-
Stephen Hemminger authored
Convert leading spaces to tabs, and put alias in one printf
-
Stephen Hemminger authored
fix warning from parser
-
Petr Šabata authored
Both ip-link and ip-address support the 'up' argument, however this isn't documented in neither their help outputs or ip-address' manpage. This patch fixes that. Signed-off-by: Petr Šabata <contyk@redhat.com> Reported-by: Jiří Popelka <jpopelka@redhat.com>
-
- 13 Mar, 2013 1 commit
-
-
Stephen Hemminger authored
On some platforms, shared libraries are not used. The stub code need some updating to not generate errors.
-
- 12 Mar, 2013 1 commit
-
-
roopa authored
This patch removes '\n' in -oneline output when alias present on interface Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
-