- 22 May, 2012 1 commit
-
-
Stephen Hemminger authored
Use sanitized version of kernel headers from 3.5 pre-rc1 merge
-
- 21 May, 2012 3 commits
-
-
Andreas Henriksson authored
Reported by Robert Henney: > the 'ip' man page does not mention the command "del" at all but does > claim, "As a rule, it is possible to add, delete and show (or list ) objects". > however, 'ip' does not always recognize "delete" as a commend. > > robh@debian:~$ ip tunnel delete > Command "delete" is unknown, try "ip tunnel help". Lets use "delete" in all calls to matches() for consistency. This will make both "del" and "delete" work everywhere. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Stephen Hemminger authored
-
Andreas Henriksson authored
Reported by Ivan Vilata i Balaguer <ivan@selidor.net> found that the description of the `ip link add` command in the manpage is outdated regarding the compulsory `link DEVICE` option. For instance, `ip link help` says: Usage: ip link add [link DEV] [ name ] NAME ... But the manpage still says: ip link add link DEVICE [ name ] NAME (Trying to provide a `link` option e.g. under an LXC container can frustrate the creation of dummy devices which don't need an actual device.) The syntax of the "ip link help" output was fixed in commit "iproute2: Fix usage and man page for 'ip link'" (a22e9295). This updates the manpage to mark "link DEVICE" as an optional argument there as well. http://bugs.debian.org/673171Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 03 May, 2012 3 commits
-
-
Vijay Subramanian authored
Commit (761a1e60 iproute2 - Split up manual page installation ) introduced man/man8/Makefile but did not add all the man pages. This patch adds the missing man pages for installation. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
James Chapman authored
Add a man page to cover the "ip l2tp" commands. Add a reference to it in the main ip page. This version removes the unnecessary setting of promiscuous mode in the examples. Signed-off-by: James Chapman <jchapman@katalix.com>
-
Shan Wei authored
INET_DIAG_SKMEMINFO is used to monitor socket memory information which contains more information than INET_DIAG_MEMINFO. -m option is retained for old kernel that don't surpport INET_DIAG_SKMEMINFO. Signed-off-by: Shan Wei <davidshan@tencent.com>
-
- 26 Apr, 2012 1 commit
-
-
Stephen Hemminger authored
This reverts commit 16eba344. Hold off until next release.
-
- 25 Apr, 2012 1 commit
-
-
Chris Elston authored
Adds support for parsing IPv6 addresses to the parameters local and remote in the l2tp commands. Requires netlink attributes L2TP_ATTR_IP6_SADDR and L2TP_ATTR_IP6_DADDR, added in a required kernel patch already submitted to netdev. Also enables printing of IPv6 addresses returned by the L2TP_CMD_TUNNEL_GET request. Signed-off-by: Chris Elston <celston@katalix.com> Signed-off-by: James Chapman <jchapman@katalix.com>
-
- 12 Apr, 2012 5 commits
-
-
Christoph J. Thompson authored
Define where is the are located the iproute2 config files. Get rid of trailing slashes for paths in several file. Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Christoph J. Thompson authored
Generate manual pages based on where the config files are installed. Add missing manual pages for utilities which are links to other binaries. Make tc-pfifo.8 a real file that points to tc-bfifo.8 instead of symlink which causes problems with compressing manual pages. Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Christoph J. Thompson authored
Allows setting optimisation flags at compile time without patching the Makefile. modified: Makefile Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Christoph J. Thompson authored
Allows using an alternate path for config files. Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Rose, Gregory V authored
Add a new netlink attribute type to the dump request to allow filtering of the information returned for the respective matching interfaces. At this time the only filter defined is to request virtual function (VF) device info for interfaces that attached VFs. It will also be possible to extend the request with other yet to be defined netlink attributes in the future. Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
-
- 10 Apr, 2012 5 commits
-
-
Stephen Hemminger authored
-
Florian Westphal authored
-
Eric Dumazet authored
If kernel doesn't have INET_DIAG and using newish version of iproute nothing would be displayed.
-
Stephen Hemminger authored
User new functions (inspired by libmnl) to do type safe access of routeing attributes
-
Jorge Boncompte [DTI2] authored
Avoids showing negative metrics. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
-
- 05 Apr, 2012 2 commits
-
-
Stephen Hemminger authored
The link mode is printed in upper case, and following the general rule that ip command output should work on input, allow either case.
-
Stephen Hemminger authored
Exposes existing netlink operations to modify link state of devices.
-
- 03 Apr, 2012 1 commit
-
-
João Valverde authored
Hi, I've attached a trivial patch for iproute2 to allow naming interfaces created with "ip l2tp add session". I believe patches should go through the netdev mailing list but this patch is so small I figured that would just add noise. Hope that's OK. Originally I thought I would need a bigger patch and was going to take a stab at implementing something like ip l2tp add tunnel L2TP_TUNNEL_ARGS ip link add name NAME [ LINK_OPTS ] type l2tp L2TP_SESSION_ARGS (a better interface IMHO) but all the code was there already, all that I needed to add was option parsing. Thanks, João Valverde From fd8c3b712527d2e959aeabc6f6b71a9910e7be7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= <joao.valverde@ist.utl.pt> Date: Mon, 26 Mar 2012 18:30:56 +0100 Subject: [PATCH] ipl2tp: allow setting session interface name
-
- 20 Mar, 2012 3 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
The kernel supports a link mode attribute (which can be dormant or default). This attribute is used to control how the link watch engine handles operstate transistion. This adds a new parameter to ip link command to allow setting and displaying the value. ---
-
Stephen Hemminger authored
There is nothing in the standard that says 0 can't be used as a key. It makes sense to allow it. Also fix typo where ikey was printed for when printing okey.
-
- 16 Mar, 2012 1 commit
-
-
Stephen Hemminger authored
-
- 15 Mar, 2012 4 commits
-
-
Florian Westphal authored
Signed-off-by: Florian Westphal <fw@strlen.de>
-
Stephen Hemminger authored
-
Kenyon Ralph authored
* update synopsis to match "ip address help" output * specify IPv4, since "IP" is ambiguous * remove deprecated site scope * document lifetimes, home, and nodad * update wording to make sense since page was split from the ip(8) page * git rid of extra spaces
-
Anton Danilov authored
-
- 14 Mar, 2012 3 commits
-
-
Stephen Hemminger authored
Debian warning that NAME wasn't parsible
-
Stephen Hemminger authored
Change the order of evaluation of ip link type arguements to allow changing parameters of gre tunnels. The following wouldn't work: # ip li add mytunnel type gretap remote 1.1.1.1 key 3 # ip li set mytunnel type gretap key 9
-
Stephen Hemminger authored
Follow convention of kernel and keep cscope file around after make clean.
-
- 10 Mar, 2012 1 commit
-
-
Andreas Henriksson authored
As reported by Thomas Mühlgrabner <muehltom@cable.vol.at> in http://bugs.debian.org/662979 : When showing htb class configuration with "tc -iec class show", the output for Mibit is actually the value for bit. Example: configure a class with a ceil of 1000Mibit. Output states 1048576000 Mibit. The cause is missing parenteses in the display code of tc.... (Please also note that a lower value of 100Mibit will be displayed as 102400 Kibit, which I think is kind of ugly.) Reported-by: Thomas Mühlgrabner <muehltom@cable.vol.at> Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 27 Feb, 2012 1 commit
-
-
Yegor Yefremov authored
LIBNETLINK will be defined in the main Makefile, so both ../lib/libnetlink.a ../lib/libutil.a will be automatically appended during linking. Otherwise ../lib/libnetlink.a ../lib/libutil.a will appear twice during linking. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
-
- 22 Feb, 2012 2 commits
-
-
Petr Sabata authored
Just a minor correction of mqprio printf()'s. Reported-by: Petr Písař <ppisar@redhat.com> Signed-off-by: Petr Šabata <contyk@redhat.com>
-
Stephen Hemminger authored
On 64 bit platform, casting to unsigned long long is unnecessary. Use inttypes.h and stdtypes.h to resolve it.
-
- 17 Feb, 2012 3 commits
-
-
Stephen Hemminger authored
A new option -p is added to the arpd command that accepts a time indicating the number of seconds to wait between kernel arp table polling attempts. The minimum value is .1 (100ms). If not specified, polling defaults to 30 seconds. Patch by Erik Hugne <erik.hugne@ericsson.com> with modifications
-
Stephen Hemminger authored
Rather than copy-pasting code using sendmsg/recvmsg, use the simpler send() and recv() system calls.
-
Matt Tierney authored
ss: Close file descriptors in tcp_show_netlink. Signed-off-by: Matt Tierney <tierney@cs.nyu.edu>
-