From mboxrd@z Thu Jan 1 00:00:00 1970 From: Serhey Popovych Subject: [PATCH iproute2 v4 0/7] iptnl/tunnel: Open JSON section, kill code duplication and print iptnl mode Date: Wed, 10 Jan 2018 17:33:31 +0200 Message-ID: <1515598418-23234-1-git-send-email-serhe.popovych@gmail.com> To: netdev@vger.kernel.org Return-path: Received: from mail-lf0-f42.google.com ([209.85.215.42]:39804 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965219AbeAJPeY (ORCPT ); Wed, 10 Jan 2018 10:34:24 -0500 Received: by mail-lf0-f42.google.com with SMTP id m8so14217814lfc.6 for ; Wed, 10 Jan 2018 07:34:23 -0800 (PST) Received: from tuxracer.localdomain ([2a01:6d80::195:20:96:53]) by smtp.gmail.com with ESMTPSA id i72sm2925723lfe.54.2018.01.10.07.34.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 07:34:21 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: In this series I present following improvements and fixes: 1) Add missing open_json_context() to link_iptnl.c for "encap" options. 2) Get rid of code duplication when parsing tunnel mode parameters in link_iptnl.c. 3) Add code to link_iptnl.c to print tunnel mode to be inline with ip6tnl. See individual patch description message for details. This is v2. Fixed proto value for ipip tunnel mode: "proto ipip" vs "proto ip4ip4" previously. v4 rebased to current upstream v1..v3 no changes. initially started with v3 instead of v1 Thanks, Serhii Serhey Popovych (7): ip6/tunnel: Fix tclass output ip6tnl/tunnel: Do not print obscure flowinfo ip6/tunnel: Unify tclass printing ip6/tunnel: Unify flowlabel printing ip6/tunnel: Unify encap_limit printing gre6/tunnel: Output flowlabel after tclass ip6tnl/tunnel: Output hoplimit before encapsulation limit ip/link_gre6.c | 54 ++++++++++++++++------------------------------ ip/link_ip6tnl.c | 63 ++++++++++++++++++------------------------------------ 2 files changed, 40 insertions(+), 77 deletions(-) -- 1.7.10.4