- 16 Nov, 2012 3 commits
-
-
Nicolas Dichtel authored
Flag IP6_TNL_F_IGN_ENCAP_LIMIT is set when encaplimit is none, but it was not removed if encaplimit was set on update (ip tunnel change). Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Help is "[tclass TCLASS]", but only TOS was described. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Wookey authored
Enables e.g. cross-compiling by setting $CC env var. This patch extracted from the Ubuntu package (thanks, Wookey and Colin Watson). BugLink: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670660 BugLink: https://bugs.launchpad.net/bugs/870197Signed-off-by: Kamal Mostafa <kamal@debian.org>
-
- 12 Nov, 2012 4 commits
-
-
Andreas Henriksson authored
Hello! While building the iproute package in Debian I get warnings from package helpers like this: dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/iproute/sbin/tc debian/iproute/usr/bin/lnstat debian/iproute/bin/ip debian/iproute/bin/ss debian/iproute/sbin/bridge debian/iproute/sbin/rtmon were not linked against libresolv.so.2 (they use none of the library's symbols) The -lresolv in ./Makefile seems to come from pre-historic times (before iproute2 git history, possibly from libc5/pre-glibc days). I couldn't find out if/why there was any reason for linking to libresolv. Does anyone know if there are any valid reasons for keeping it still? If not, I'd be happy to see it go.... while at it I also removed includes of <resolv.h> which I also couldn't find any reason for, but this is just an added bonus of the patch (and there are probably more unneeded includes that could be dropped in the same sources). Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Stephen Hemminger authored
A couple of places were using "it's" where possive form "its" should be used instead.
-
Andreas Henriksson authored
Three manpages in man8 are listed twice in MAN8PAGES (both directly and in TARGETS) which causes the install command to spit our a couple of warnings as below and exiting with non-zero exit code.... make[3]: Entering directory `/tmp/buildd/iproute-20121001/man/man8' install -m 0755 -d /tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8 install -m 0644 ip-address.8 ip-link.8 ip-route.8 ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 ss.8 tc.8 tc-bfifo.8 tc-cbq.8 tc-cbq-details.8 tc-choke.8 tc-codel.8 tc-drr.8 tc-ematch.8 tc-fq_codel.8 tc-hfsc.8 tc-htb.8 tc-netem.8 tc-pfifo.8 tc-pfifo_fast.8 tc-prio.8 tc-red.8 tc-sfb.8 tc-sfq.8 tc-stab.8 tc-tbf.8 bridge.8 rtstat.8 ctstat.8 nstat.8 routef.8 ip-address.8 ip-addrlabel.8 ip-l2tp.8 ip-link.8 ip-maddress.8 ip-monitor.8 ip-mroute.8 ip-neighbour.8 ip-netns.8 ip-ntable.8 ip-route.8 ip-rule.8 ip-tunnel.8 ip-xfrm.8 /tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8 install: will not overwrite just-created `/tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8/ip-address.8' with `ip-address.8' install: will not overwrite just-created `/tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8/ip-link.8' with `ip-link.8' install: will not overwrite just-created `/tmp/buildd/iproute-20121001/debian/tmp/usr/share/man/man8/ip-route.8' with `ip-route.8' make[3]: *** [install] Error 1 make[3]: Leaving directory `/tmp/buildd/iproute-20121001/man/man8' make[2]: *** [install] Error 2 make[2]: Leaving directory `/tmp/buildd/iproute-20121001/man' Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Mike Frysinger authored
Rather than hard coding `pkg-config`, use ${PKG_CONFIG} so people can override it to their specific version (like when cross-compiling). This is the same way the upstream pkg-config code works. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 30 Oct, 2012 2 commits
-
-
Stephen Hemminger authored
Don't peek at RTA_DATA() directly.
-
Stephen Hemminger authored
-
- 27 Oct, 2012 4 commits
-
-
Pavel Emelyanov authored
Now everything is prepared for it, so the patch is straightforward. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
That is -- write the code, that sends diag request in new format. It's mostly copied from tcp-diag code. Plus, sock-diag differentiates sockets by families, thus we have to send two requests sequentially. If we fail to submit new sock-diag request, try to fall-back and submit the legacy tcp-diag one. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The existing function inet_show_netlink sends tcp-diag request and then receives back the response and prints it on the screen. The sock-diag and legacy tcp-diag have different request types, but report sockets in the same format. In order to support both it's convenient to split the code into sending and receiving parts. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The sock-diag is capable to diag udp sockets as well. Prepare the ss code for this by first renaming soon-to-be-generic tcp-s names into inet-s. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
- 25 Oct, 2012 3 commits
-
-
Vincent Bernat authored
IPv6 multipath routes were not accepted by "ip route" because an IPv4 address was expected for each gateway. Use `get_addr()` instead of `get_addr32()`. Signed-off-by: Vincent Bernat <bernat@luffy.cx> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Stephen Hemminger authored
Also sort link types for clarity
-
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>
-