- 20 Dec, 2012 2 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Previous change wasn't needed, since merge of configure: move toolchain init to a function
-
- 18 Dec, 2012 2 commits
-
-
Stephen Hemminger authored
Script has lots of shell functions but never indented properly.
-
Jan Engelhardt authored
Commit v3.7.0~10 caused the variable new PKG_CONFIG variable never to be present at the time of calling make, leading to tc/m_xt.so not linked with -lxtables (result from pkg-config xtables --libs), that in turn leading to tc: symbol lookup error: /usr/lib64/tc//m_xt.so: undefined symbol: xtables_init_all Fixing that. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
-
- 17 Dec, 2012 6 commits
-
-
Mike Frysinger authored
This matches the existing CC behavior. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The lib makefile doesn't include Config which means it misses setting up toolchain vars that it includes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The layout of this file uses functions to update Config. Move the toolchain logic to the same style to fix setting the vars in Config. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Nicolas Dichtel authored
Sync with the current code. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This patch add the documentation about 'ip netconf' command. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Zhi Yong Wu authored
The new type 'vxlan' is added in the output of "ip link help" Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
-
- 14 Dec, 2012 6 commits
-
-
Nicolas Dichtel authored
mroute was using /proc/net/ip_mr_[vif|cache] to display mroute entries. Hence, only RT_TABLE_DEFAULT was displayed and only IPv4. With rtnetlink, it is possible to display all tables for IPv4 and IPv6. The output format is kept. Also, like before the patch, statistics are displayed when user specify the '-s' argument. The patch also adds the support of 'ip monitor mroute', which is now possible. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
INFO_SPEC already uses the term 'OPTIONS' and describe it. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Now 'ip link' supports ipip, sit and ip6tnl. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Sync with the current code. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Use tabs instead of space when possible. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Cong Wang authored
Cc: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Cong Wang <amwang@redhat.com>
-
- 12 Dec, 2012 9 commits
-
-
Cong Wang authored
This patch implements `bridge monitor mdb`. Cc: Stephen Hemminger <shemminger@vyatta.com> Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Cong Wang <amwang@redhat.com>
-
Cong Wang authored
This patch implements: bridge mdb { add | del } dev DEV port PORT grp GROUP Cc: Stephen Hemminger <shemminger@vyatta.com> Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Cong Wang <amwang@redhat.com>
-
David L Stevens authored
This patch adds a new flag to iproute2 for vxlan devices to enable DOVE features. It also adds support for L2 and L3 switch lookup miss netlink messages to "ip monitor". Changes since v2: fix merge conflict Changes since v1: - split "dove" flag into separate feature flags: - "proxy" for ARP reduction - "rsc" for route short circuiting - "l2miss" for L2 switch miss notifications - "l3miss" for L3 switch miss notifications Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
-
Nicolas Dichtel authored
This patch allows to manage ip tunnels via the interface ip link. The syntax for parameters is the same that 'ip tunnel'. It also allows to display tunnels parameters with 'ip -details link' or 'ip -details monitor link'. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This patch allows to manage ip6 tunnels via the interface ip link. The syntax for parameters is the same that 'ip -6 tunnel'. It also allows to display tunnels parameters with 'ip -details link' or 'ip -details monitor link'. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Example of the output: $ ip monitor netconf& [1] 24901 $ echo 0 > /proc/sys/net/ipv6/conf/all/forwarding ipv6 dev lo forwarding off ipv6 dev eth0 forwarding off ipv6 all forwarding off $ echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding ipv4 dev eth0 forwarding on $ ip -6 netconf ipv6 all forwarding on mc_forwarding 0 $ ip netconf show dev eth0 ipv4 dev eth0 forwarding on rp_filter off mc_forwarding 1 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Minor cleanup of original patch, made sure netconf.h matched result of santized kernel headers
-
Andreas Henriksson authored
The debian package checking tool, lintian, spotted that the tc ematch manpage seems to have an error in the specified section. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Cong Wang authored
Sample output: # ./bridge/bridge mdb show dev br0 bridge br0 port eth1 group 224.8.8.9 bridge br0 port eth0 group 224.8.8.8 # ./bridge/bridge -d mdb show dev br0 bridge br0 port eth1 group 224.8.8.9 bridge br0 port eth0 group 224.8.8.8 router ports on br0: eth0 Signed-off-by: Cong Wang <amwang@redhat.com>
-
Stephen Hemminger authored
Since system may not have upto date kernel headers, keep if_bridge.h in set of exported headers used to build iproute.
-
- 11 Dec, 2012 3 commits
-
-
Stephen Hemminger authored
Sanitized headers from net-next
-
Stephen Hemminger authored
-
Petr Sabata authored
Currently the default filter lists TCP sockets only which is rather confusing especially when the '-a/--all' flag is used. This patch changes the default to include all sockets, imitating netstat(8) behavior. Signed-off-by: Petr Šabata <contyk@redhat.com> Acked-by: David S. Miller <davem@davemloft.net>
-
- 30 Nov, 2012 1 commit
-
-
Rostislav Lisovy authored
The canid ematch has been added in commit: 7b5f30e1 Ematch used to classify CAN frames according to their identifiers But the corresponding entry in etc/iproute2/ematch_map was lost. This patch adds the missing entry in ematch_map, otherweise tc would complain: Error: Unable to find ematch "canid" in /etc/iproute2/ematch_map Please assign a unique ID to the ematch kind the suggested entry is: 7 canid Signed-off-by: Rostislav Lisovy <lisovy@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-
- 16 Nov, 2012 4 commits
-
-
Nicolas Dichtel authored
When tclass or flowlabel field were updated, we only performed an OR with the new value. For example, it was not possible to reset tclass: ip -6 tunnel change ip6tnl2 tclass 0 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
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 1 commit
-
-
Pavel Emelyanov authored
Now everything is prepared for it, so the patch is straightforward. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-