From patchwork Mon Sep 26 13:19:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liujian (CE)" X-Patchwork-Id: 12988808 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8911DC07E9D for ; Mon, 26 Sep 2022 14:52:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235353AbiIZOwa (ORCPT ); Mon, 26 Sep 2022 10:52:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235004AbiIZOvu (ORCPT ); Mon, 26 Sep 2022 10:51:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A9D312D06 for ; Mon, 26 Sep 2022 06:18:22 -0700 (PDT) Received: from canpemm500010.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Mbjqy2txRzHtrD; Mon, 26 Sep 2022 21:13:34 +0800 (CST) Received: from huawei.com (10.175.101.6) by canpemm500010.china.huawei.com (7.192.105.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 26 Sep 2022 21:18:20 +0800 From: Liu Jian To: , , , , , , CC: Subject: [PATCH net-next 0/2] Add helper functions to parse netlink msg of ip_tunnel Date: Mon, 26 Sep 2022 21:19:42 +0800 Message-ID: <20220926131944.137094-1-liujian56@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500010.china.huawei.com (7.192.105.118) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Add helper functions to parse netlinkmsg of ip_tunnel Liu Jian (2): net: Add helper function to parse netlink msg of ip_tunnel_encap net: Add helper function to parse netlink msg of ip_tunnel_parm include/net/ip_tunnels.h | 66 ++++++++++++++++++++++++++++++++++++++++ net/ipv4/ipip.c | 62 ++----------------------------------- net/ipv6/ip6_tunnel.c | 37 ++-------------------- net/ipv6/sit.c | 65 ++------------------------------------- 4 files changed, 74 insertions(+), 156 deletions(-)