iproute2/ip
Nicolas Dichtel e34d3dcce2 ip: use rtnelink to manage mroute
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>
2012-12-14 10:08:17 -08:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile ip: add support of 'ip link type [ipip|sit]' 2012-12-12 09:10:22 -08:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c ip: add support of 'ip link type ip6tnl' 2012-12-12 09:09:23 -08:00
ip6tunnel.c ip/ip6tunnel: fix update of tclass and flowlabel 2012-11-16 08:15:39 -08:00
ip_common.h ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipaddress.c iproute2: List interfaces without net address by default 2012-10-03 08:47:14 -07:00
ipaddrlabel.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ipl2tp.c iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
iplink.c ip: add support of 'ip link type [ipip|sit]' 2012-12-12 09:10:22 -08:00
iplink_can.c iproute2: netlink support for bus-error reporting and counters 2010-03-03 16:45:10 -08:00
iplink_ipoib.c iplink: Added support for the kernel IPoIB RTNL ops 2012-10-25 08:53:12 -07:00
iplink_macvlan.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_macvtap.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_vlan.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iplink_vxlan.c add DOVE extensions for iproute2 2012-12-12 10:02:19 -08:00
ipmaddr.c Fix file descriptor leak on error in read_igmp() 2011-10-07 11:20:23 -07:00
ipmonitor.c ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipmroute.c ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipneigh.c add DOVE extensions for iproute2 2012-12-12 10:02:19 -08:00
ipnetconf.c ip: add support of netconf messages 2012-12-12 09:05:51 -08:00
ipnetns.c iproute2: Fail "ip netns add" on existing network namespaces. 2011-08-31 11:02:26 -07:00
ipntable.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
ipprefix.c ip: fix display of prefix cache info 2011-07-20 16:02:50 -07:00
iproute.c ip: fix "ip -6 route add ... nexthop" 2012-10-25 09:07:01 -07:00
iprule.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iptunnel.c VTI support for ip tunnel 2012-08-01 16:11:25 -07:00
iptuntap.c iproute2: man page and /bin/ip disagree on del vs delete 2012-05-21 15:17:28 -07:00
ipxfrm.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
link_gre.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
link_ip6tnl.c ip: add support of 'ip link type ip6tnl' 2012-12-12 09:09:23 -08:00
link_iptnl.c ip/link_iptnl: fix indentation Logged in as shemminger 2012-12-14 09:50:33 -08:00
link_veth.c iproute2: support device group semantics 2011-02-25 12:43:14 -08:00
link_vti.c iproute2: VTI support for ip link command. 2012-08-01 16:13:32 -07:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c support static-only systems 2009-11-10 10:44:20 -08:00
tcp_metrics.c iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
tunnel.c Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
tunnel.h Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
xfrm.h xfrm security context support 2011-03-17 09:58:23 -07:00
xfrm_monitor.c ip: xfrm: report nat-t/encapsulation portmapping updates 2012-03-15 14:49:03 -07:00
xfrm_policy.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
xfrm_state.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00