Use get_addr_rta() helper to unify address retriveal from netlink
message when configuring tunnel and get_addr() to parse endpoint
address into @inet_prefix.

This is next step towards ip and ipv6 tunnel module merge: endpoint
address parsing code will differ only in @family constant being
passed to get_addr_rta() and get_addr().

Reviews, comments and suggestions are welcome.


Serhey Popovych (3):
  vti/vti6: Unify local/remote endpoint address parsing
  gre/gre6: Unify local/remote endpoint address parsing
  iptnl/ip6tnl: Unify local/remote endpoint and 6rd address parsing

 ip/link_gre.c    |   56 +++++++++++++++++------------
 ip/link_gre6.c   |   37 ++++++++++----------
 ip/link_ip6tnl.c |   39 +++++++++++----------
 ip/link_iptnl.c  |  103 +++++++++++++++++++++++++++---------------------------
 ip/link_vti.c    |   31 +++++++++-------
 ip/link_vti6.c   |   37 ++++++++++----------
 6 files changed, 162 insertions(+), 141 deletions(-)


Reply via email to