From patchwork Fri Jan 12 17:39:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serhey Popovych X-Patchwork-Id: 860086 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ps7QFdAi"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zJ94J4HCZz9s4s for ; Sat, 13 Jan 2018 04:40:00 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964846AbeALRj4 (ORCPT ); Fri, 12 Jan 2018 12:39:56 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:36393 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932859AbeALRjz (ORCPT ); Fri, 12 Jan 2018 12:39:55 -0500 Received: by mail-lf0-f42.google.com with SMTP id e203so6785881lfg.3 for ; Fri, 12 Jan 2018 09:39:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=4iywTeJtp0jxDGrvU6Wx/FBHP2WzqGBsL/FFyMbzt8g=; b=Ps7QFdAi9ej9E7LPGmiCHRGlsjKOCCnfeAlTj1v0sfPcLIF+9TtIwy5cZBJzw+yrPD G1aZump+m2ANbu+23h1QlpqfkaWO4erMvjK40a1rNTiQ+JxC6G9dpZw7IbXcmUDTOqQH +AHP63xPbdry8u2d9/vTs0NYECxgebsZLY+Kg7rcuKbfDc0LW5txAMTc17ZAGREejFuC FqJFt30Te87hH8bWG5EBeHfWEeGnH/HBsZTW3JUOeC3p0EpJ+ksV/PjP3ZLYmh9ezOcZ uqAV6sGocaJ7LEeoTqmb1BOfZdNhFW3wiNXZhMFrZ9azrHB4RNdxmjkul2N+a/vqlXWX AwiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=4iywTeJtp0jxDGrvU6Wx/FBHP2WzqGBsL/FFyMbzt8g=; b=oibTt8zlJVamxaZgU7xuviIP7EsOjXFebC0Bkuvd1iiMkA2z5+w7SWF902i71bjFG6 e0pfYrkCijNpbd+ZjzucEATyTysxycDObWxS0EvMRsJEa8F+q5i56q4W49Rsh/lRNxEb YfzTHGYPOC2UZgiAEBZ0NBvDTi7od9OIrb+rIDP0EQGE2Dee6C4GPOuO+oXgVDfElOXF FSEz3wbKSrW4haI7uqB8KelZRRY78bcNW1PD8I9hmvVIBG1x1IGTZkOqwtgR7DkE939e 0L70NxJX1xdUuM6RUspK1be6u+hN0wb/yfXkW69brrw7whuTX0gB4GcaQHDHB24IbKhM D5lQ== X-Gm-Message-State: AKGB3mJ0VIuUhlHRAcs2yW90IJGY4Zv0EDDQXLriVeKMD+ao660BICix Ct8glIyezmouCpi/YGK/+PHSOQ== X-Google-Smtp-Source: ACJfBotOkWuU/JsSbFOUrCYe4QStCbYWBs+xlrJixg0fyo+Iv1ntlBkDFZK3AZ5TE9zATaS3+yHpJg== X-Received: by 10.46.25.143 with SMTP id 15mr16251138ljz.3.1515778793930; Fri, 12 Jan 2018 09:39:53 -0800 (PST) Received: from tuxracer.localdomain ([2a01:6d80::195:20:96:53]) by smtp.gmail.com with ESMTPSA id c190sm3781968lfc.81.2018.01.12.09.39.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jan 2018 09:39:52 -0800 (PST) From: Serhey Popovych To: netdev@vger.kernel.org Subject: [PATCH iproute2 0/9] ip/tunnel: Improve tunnel parameters printing Date: Fri, 12 Jan 2018 19:39:25 +0200 Message-Id: <1515778774-24173-1-git-send-email-serhe.popovych@gmail.com> X-Mailer: git-send-email 1.7.10.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Continue improvements to tunnel modules. Final goal is to make merge IP and IPv6 variants and make that transition as transparent as possible. Everything within this series is open for your comments, suggestions and criticism. See individual patch description message for details. Thanks, Serhii Serhey Popovych (9): iplink: Use ll_index_to_name() instead of if_indextoname() ip/tunnel: Correct and unify ttl/hoplimit printing ip/tunnel: Simplify and unify tos printing ip/tunnel: Use print_0xhex() instead of print_string() ip/tunnel: Use print_string() and simplify encap option printing gre/tunnel: Print erspan_index using print_uint() ip/tunnel: Minor cleanups in print routines vti/tunnel: Unify ikey/okey printing vti6/tunnel: Unify and simplify link type help functions bridge/fdb.c | 4 +- bridge/link.c | 18 +++----- ip/ip6tunnel.c | 5 +- ip/iplink_bond.c | 25 ++-------- ip/iplink_geneve.c | 38 +++++++-------- ip/iplink_vxlan.c | 42 +++++++---------- ip/iproute_lwtunnel.c | 11 ++--- ip/iptunnel.c | 2 +- ip/link_gre.c | 117 +++++++++++++++++++--------------------------- ip/link_gre6.c | 94 ++++++++++++++++++------------------- ip/link_ip6tnl.c | 89 +++++++++++++++++------------------ ip/link_iptnl.c | 123 ++++++++++++++++++++----------------------------- ip/link_vti.c | 36 ++++++--------- ip/link_vti6.c | 60 +++++++++++++----------- ip/tunnel.c | 24 ++++++++++ ip/tunnel.h | 1 + 16 files changed, 313 insertions(+), 376 deletions(-)