- 25 Oct, 2012 1 commit
-
-
Or Gerlitz authored
Added support to ipoib rtnl ops through which one can create, configure, query and delete IPoIB devices, for example $ ip link add link ib0.8001 name ib0.8001 type ipoib pkey 0x8001 $ ip link add link ib0.1 name ib0.1 type ipoib mode connected $ ip --details link show dev ib0.1 Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
-
- 19 Oct, 2012 2 commits
-
-
Stephen Hemminger authored
Get new sanitized headers
-
Stephen Hemminger authored
Don't send 0 as group address.
-
- 10 Oct, 2012 1 commit
-
-
Stephen Hemminger authored
-
- 08 Oct, 2012 2 commits
-
-
Julian Anastasov authored
ip tcp_metrics/tcpmetrics We support get/del for single entry and dump for show/flush. v3: - fix rtt/rttvar shifts as suggested by Eric Dumazet - show rtt/rttvar usecs as suggested by David Laight Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
Nicolas Dichtel authored
When running 'ip monitor neigh', there is no hint to tell if a neighbor is updated or deleted. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
- 03 Oct, 2012 5 commits
-
-
Stephen Hemminger authored
Conflicts: include/linux/if_link.h
-
Matt Burgess authored
Hi, When compiling iproute2-3.6.0 on a host that doesn't have iptables available, I get the following error: gcc -Wall -Wstrict-prototypes -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -DCONFIG_GACT -DCONFIG_GACT_PROB -DYY_NO_INPUT -c -o em_ipset.o em_ipset.c em_ipset.c:26:21: fatal error: xtables.h: No such file or directory Fixed by the following patch, which guards the building of em_ipset.o on the presence of suitable headers. Thanks, Matt.
-
Stephen Hemminger authored
Get latest headers from merge
-
Petr Písař authored
This fixes regression in iproute2-3.5.1 when `ip addr show' skipped interfaces without network layer address. Wrong output: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0 inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic valid_lft 2591919sec preferred_lft 604719sec inet6 fe80::250:54ff:fe00:f03/64 scope link valid_lft forever preferred_lft forever Expected output: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:50:54:00:0f:03 brd ff:ff:ff:ff:ff:ff inet 10.34.25.198/23 brd 10.34.25.255 scope global eth0 inet6 2620:52:0:2219:250:54ff:fe00:f03/64 scope global dynamic valid_lft 2591896sec preferred_lft 604696sec inet6 fe80::250:54ff:fe00:f03/64 scope link valid_lft forever preferred_lft forever 5: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 8a:ec:35:34:1f:a8 brd ff:ff:ff:ff:ff:ff 6: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 2e:97:ef:77:40:82 brd ff:ff:ff:ff:ff:ff Signed-off-by: Petr Písař <ppisar@redhat.com>
-
Stephen Hemminger authored
Can no manage interfaces with ip no need to invoke old brctl
-
- 01 Oct, 2012 5 commits
-
-
Stephen Hemminger authored
Allow extending bridge forwarding table to handle VXLAN as well. Change format of output to be close to 'ip neighbour'
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
- 24 Sep, 2012 1 commit
-
-
Werner Fink authored
Currently the pdf docs are done with sgml -> sgmltool -> tex -> latex -> dvi -> dvips -> ps -> ps2pdf -> pdf or tex -> latex -> dvi -> dvips -> ps -> ps2pdf -> pdf with this patch we do sgml -> sgmltool -> tex -> pdflatex -> pdf or tex -> pdflatex -> pdf
-
- 17 Sep, 2012 3 commits
-
-
Stephen Hemminger authored
This can be useful when displaying neighbour table
-
Julian Anastasov authored
Both macros are used together, so better to have single define. Update all requests in ipl2tp.c to use the new macro. Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
Stephen Hemminger authored
-
- 14 Sep, 2012 1 commit
-
-
John Fastabend authored
This patch finishes removing the replace option from the bridge man page which I missed in this commit commit 57b9785d Author: John Fastabend <john.r.fastabend@intel.com> Date: Mon Aug 27 10:52:31 2012 -0700 iproute2: bridge: remove replace and change options Also add documentation for "{ self | embedded }" already shown on the cmd line help msg. Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
- 11 Sep, 2012 3 commits
-
-
Pavel Emelyanov authored
This functionality is required by checkpoint-restore project. Since the dump and restore for routes is already done in ip tool it's naturally to dump and restore addresses in the ip tool as well. The implementation logic is the same as for the respective one for routes. The magic number digits are taken from the Seattle coordinates. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Julian Anastasov authored
Use the common code from libgenl.c to parse family, and initialize structures. Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
Julian Anastasov authored
Create libgenl.h and libgenl.c. They will contain common code for GENL users such as ipl2tp, tcp_metrics, etc. Somewhat simplified by Stephen Hemminger Signed-off-by: Julian Anastasov <ja@ssi.bg>
-
- 10 Sep, 2012 1 commit
-
-
Li Wei authored
- rename section UNITS to PARAMETERS. - break section PARAMETERS down to four subsections to cover the common used parameter types(RATES, TIMES, SIZES, VALUES). - add some explaination for IEC units in RATES. - point out the max value we can set for RATES, TIMES and SIZES. Signed-off-by: Li Wei <lw@cn.fujitsu.com>
-
- 07 Sep, 2012 3 commits
-
-
Pavel Emelyanov authored
Some time ago the save+restore commands were added to ip route (git id f4ff11e3, Add ip route save/restore). These two save the raw rtnl stream into a file and restore one (reading it from stdin). The problem is that there's no way to get the contents of the dump file in a human readable form. The proposal is to add a command that reads the rtnl stream from stdin and prints the data in a way the usual "ip route list" does? changes since v1: * Take the magic at the beginning of the dump file into account * Check for stdin (the dump is taken from) is not a tty Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
In order to somehow verify that a blob contains route dump a 4-bytes magic is put at the head of the data and is checked on restore. Magic digits are taken from Portland (OR) coordinates :) Is there any more reliable way of generating such? Signed-of-by: Pavel Emelyanov <xemul@parallels.com>
-
Andreas Schwab authored
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
-
- 04 Sep, 2012 1 commit
-
-
Mathias Krause authored
Commit e557d1ac ("Don't put configure files in /tmp") introduced a typo that prevented automated cleanup of the temporary directory created for feature testing. Fix this typo. Signed-off-by: Mathias Krause <minipli@googlemail.com>
-
- 27 Aug, 2012 2 commits
-
-
John Fastabend authored
Replace and change are not supported by bridge netlink so remove it from bridge tool options. Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
John Fastabend authored
After latest commit 'Install all tc and ip sub pages' this error occurs on make. make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/git/kernel.org/iproute2/man/man3' make[2]: Entering directory `/home/git/kernel.org/iproute2/man/man8' Makefile:8: *** commands commence before first target. Stop. make[2]: Leaving directory `/home/git/kernel.org/iproute2/man/man8' Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
- 25 Aug, 2012 2 commits
-
-
Stephen Hemminger authored
Add missing entries in Makefile
-
John Fastabend authored
Add command to update and print FDB entries with NTF_SELF and NTF_MASTER set. Example usages illustrating use of 'self' to program embedded forwarding table and 'master' to configure the forwarding table of the bridge. Also shows 'master self' used to update both in the same command. #./br/br fdb add 00:1b:21:55:23:60 dev eth3 self #./br/br fdb add 00:1b:21:55:23:60 dev eth3 master #./br/br fdb add 00:1b:21:55:23:61 dev eth3 self master #./br/br fdb add 00:1b:21:55:23:62 dev eth3 #./br/br fdb show eth3 00:1b:21:55:23:60 local self eth3 00:1b:21:55:23:61 local self eth3 33:33:00:00:00:01 local self eth3 01:00:5e:00:00:01 local self eth3 33:33:ff:55:23:59 local self eth3 01:00:5e:00:00:fb local self eth33 33:33:00:00:00:01 local self eth34 33:33:00:00:00:01 local self eth3 00:1b:21:55:23:59 local master eth3 00:1b:21:55:23:60 static master eth3 00:1b:21:55:23:62 static master eth3 00:1b:21:55:23:61 static master Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
-
- 21 Aug, 2012 1 commit
-
-
Oliver Hartkopp authored
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
-
- 20 Aug, 2012 6 commits
-
-
Rostislav Lisovy authored
This ematch enables effective filtering of CAN frames (AF_CAN) based on CAN identifiers with masking of compared bits. Implementation utilizes bitmap based classification for standard frame format (SFF) which is optimized for minimal overhead. Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
-
Stephen Hemminger authored
-
Pavel Emelyanov authored
Callers of rtnl_talk check errno value for their needs. In particular, the addrs and routes restoring code validly reports success if the EEXISTS is in there. However, the errno value can be sometimes screwed up by the perror call. Thus we should only set it _after_ the message was emitted. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Stephen Hemminger authored
-
Li Wei authored
Use pkg-config to tell us the library path and fallback to search old paths if xtables.pc not exists. Signed-off-by: Li Wei <lw@cn.fujitsu.com>
-
Li Wei authored
Signed-off-by: Li Wei <lw@cn.fujitsu.com>
-