netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Serhey Popovych <serhe.popovych@gmail.com>
To: netdev@vger.kernel.org
Subject: [PATCH iproute2-next 0/3] ip/tunnel: Unify local/remote endpoint address parsing
Date: Fri,  9 Feb 2018 20:06:00 +0200	[thread overview]
Message-ID: <1518199563-16182-1-git-send-email-serhe.popovych@gmail.com> (raw)

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.

Thanks,
Serhey

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(-)

-- 
1.7.10.4

             reply	other threads:[~2018-02-09 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09 18:06 Serhey Popovych [this message]
2018-02-09 18:06 ` [PATCH iproute2-next 1/3] vti/vti6: Unify local/remote endpoint address parsing Serhey Popovych
2018-02-09 18:06 ` [PATCH iproute2-next 2/3] gre/gre6: " Serhey Popovych
2018-02-09 18:06 ` [PATCH iproute2-next 3/3] iptnl/ip6tnl: Unify local/remote endpoint and 6rd " Serhey Popovych
2018-02-10 16:48   ` David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518199563-16182-1-git-send-email-serhe.popovych@gmail.com \
    --to=serhe.popovych@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).