From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 52375A00C2; Wed, 4 Jan 2023 04:38:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3945840698; Wed, 4 Jan 2023 04:38:19 +0100 (CET) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id CD06640697 for ; Wed, 4 Jan 2023 04:38:18 +0100 (CET) Received: by mail-pl1-f176.google.com with SMTP id d3so34669994plr.10 for ; Tue, 03 Jan 2023 19:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cCNGBDQvqnVfhPNM0dNCsrn0xQhu4t5KGo2ZFgB4lDo=; b=NHeLEraihcwrGnFabOj3ihyh+hEB6sN7TOserg2me/ptl7zQlRRjGXugFGpozqCS4g mgJYsUxXR6dNIS807bGtVnoIFfkzG3H81yR1owbrJtIJy3FZuweuMOqae2kLicqftldK GkrW6yODS8A1iGDKSzFk8my1HXrSX9Bap/frmQ4vYTwzObT0EQhTNR+tStr8nz5obZcZ LKe13/65nJyOCC75dcSIy4Kps+ilNforSk4qWbal/kjDC9e/foY7TsVtVf22n92vNxbs AOSNCyZMBh59FVAqKbxxydotvAtfHgizT9U+Xnxz11lGTkXsLAyA5hKljvKOfWwmokSc yvzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cCNGBDQvqnVfhPNM0dNCsrn0xQhu4t5KGo2ZFgB4lDo=; b=nclqORG6YVt7y2/40YWPivUjOO17Nl5UVWPVUnYDacR/g8lKqCsHlkm200Fwp+o+bh WzbCF/cxaJM8yDdO2RY7fLDKUR2lxp9sNLgr6T7aLYPuO1E+bL++34jy2MJmShLOTgRF ZdXL/lJCGYJcWrLAB313thHv6aBpWYwchI4abqSrX3ZQZVdbtSh8X8ad7bMHPTQUCp39 cxNa4CU2Y4sHPK2jJIETTz+TL2uBDUCVi6GX9EZsCAkvzPxS70qcPR0VeMjfxsgu1hXq Ay3sy/R0+PnSZkGqlKf8v61tsKb6ja++X/sEqS2S3hsPxM7IQu6OeumiPsZCcFT6K+Ao Oldg== X-Gm-Message-State: AFqh2kokl78zc9L/6+VWWWkrmLQwgBNyZPtWMlPq+t+ckJWZul1gg6En BLmB1OHNryUIx3BKiy1NKFRDrFmsXQqsxBe+s2U= X-Google-Smtp-Source: AMrXdXtSlgXi43p3iizc5+vRIR9Y3lJ8/RSXzbr/jk3trMRVyGRBSr250X7jsPIdbl5qd26pUFuKeg== X-Received: by 2002:a17:902:d304:b0:192:9217:86d1 with SMTP id b4-20020a170902d30400b00192921786d1mr24853185plc.0.1672803497830; Tue, 03 Jan 2023 19:38:17 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c10-20020a170903234a00b0017f73caf588sm23091347plh.218.2023.01.03.19.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 19:38:17 -0800 (PST) From: Stephen Hemminger To: Ben Magistro Cc: dev@dpdk.org, Stephen Hemminger Subject: [PATCH v2 0/6] dumpcap support multiple interfaces Date: Tue, 3 Jan 2023 19:38:09 -0800 Message-Id: <20230104033815.35496-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230102162441.6205-1-koncept1@gmail.com> References: <20230102162441.6205-1-koncept1@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This set of patches fixed the handling of multiple interfaces in dumpcap. It also supports recording the name, description and capture filter in the pcapng file. The last two are not necessary for stable. Ben Magistro (1): app/dumpcap: fix storing port identifier Stephen Hemminger (5): app/dumpcap: remove unused variable app/dumpcap: check for invalid interface name app/dumpcap: support multiple interfaces pcapng: require per-interface information app/dumpcap: support interface name and description app/dumpcap/main.c | 299 ++++++++++++++++++++++++++-------------- app/test/test_pcapng.c | 7 + lib/pcapng/rte_pcapng.c | 79 +++++++---- lib/pcapng/rte_pcapng.h | 25 ++++ lib/pcapng/version.map | 1 + 5 files changed, 283 insertions(+), 128 deletions(-) -- 2.39.0