From: Nikolay Aleksandrov <niko...@cumulusnetworks.com>

Hi,
This set continues with the minor cleanups in the first 6 patches and
patch 7 adds the first new feature - MFC manipulation via netlink. It
registers NEWROUTE/DELROUTE for that purpose and uses the same semantics
as the already present netlink dump. The only new attribute that is used
is RTA_PREFSRC to denote an MFC_PROXY entry. Currently the table must
exist before adding an entry, and new tables can be created only via
setsockopt, but that will be changed in the future.
This set was tested with modified iproute2 which supports NEWROUTE/DELROUTE
for RTNL_FAMILY_IPMR.

Cheers,
 Nik

Nikolay Aleksandrov (7):
  net: remove unnecessary mroute.h includes
  net: ipmr: remove unused MFC_NOTIFY flag and make the flags enum
  net: ipmr: adjust mroute.h style and drop extern
  net: ipmr: move struct mr_table and VIF_EXISTS to mroute.h
  net: ipmr: move pimsm_enabled to pim.h and rename
  net: ipmr: fix setsockopt error return
  net: ipmr: add mfc newroute/delroute netlink support

 include/linux/mroute.h    |  76 ++++++++++++---------
 include/linux/pim.h       |   5 ++
 net/ipv4/ip_gre.c         |   1 -
 net/ipv4/ip_output.c      |   1 -
 net/ipv4/ip_tunnel.c      |   1 -
 net/ipv4/ip_tunnel_core.c |   1 -
 net/ipv4/ip_vti.c         |   1 -
 net/ipv4/ipip.c           |   1 -
 net/ipv4/ipmr.c           | 168 +++++++++++++++++++++++++++++++++++++---------
 net/ipv6/ip6_gre.c        |   1 -
 10 files changed, 188 insertions(+), 68 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to