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 94E7542E3D for ; Tue, 11 Jul 2023 03:12:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1328040A7D; Tue, 11 Jul 2023 03:12:50 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id B69564003C for ; Tue, 11 Jul 2023 03:12:48 +0200 (CEST) Received: from canpemm100003.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4R0NBj2vS0z1FDqY for ; Tue, 11 Jul 2023 09:12:13 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by canpemm100003.china.huawei.com (7.192.104.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 11 Jul 2023 09:12:45 +0800 Received: from dggpeml500020.china.huawei.com ([7.185.36.88]) by dggpeml500020.china.huawei.com ([7.185.36.88]) with mapi id 15.01.2507.027; Tue, 11 Jul 2023 09:12:45 +0800 From: "jiangheng (G)" To: Fuji Nafiul CC: "users@dpdk.org" Subject: How to add packet capture framework to a custom simple dpdk app Thread-Topic: How to add packet capture framework to a custom simple dpdk app Thread-Index: AQHZsh8QoNHp6DmpBE+9P3xxT8d7Nq+zxJLQ Date: Tue, 11 Jul 2023 01:12:45 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.136.117.195] Content-Type: multipart/alternative; boundary="_000_ac5b094c35ce496a992aceeb56e8f935huaweicom_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_ac5b094c35ce496a992aceeb56e8f935huaweicom_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGksDQpNeSBhZHZpY2UgaXMgdG8gcmVjb21waWxlIGRwZGstZHVtcGNhcCBhbmQgbGluayBkcGRr J3MgZHluYW1pYyBsaWJyYXJpZXMgdG8gbWF0Y2ggeW91ciBhcHANCg0K5Y+R5Lu25Lq6OiBGdWpp IE5hZml1bCBbbWFpbHRvOm5hZml1bC5mdWppQGdtYWlsLmNvbV0NCuWPkemAgeaXtumXtDogMjAy M+W5tDfmnIg55pelIDEyOjM3DQrmlLbku7bkuro6IHVzZXJzQGRwZGsub3JnDQrkuLvpopg6IEhv dyB0byBhZGQgcGFja2V0IGNhcHR1cmUgZnJhbWV3b3JrIHRvIGEgY3VzdG9tIHNpbXBsZSBkcGRr IGFwcA0KDQpIaSwNCkkgYW0gdXNpbmcgZHBka192MjIuMTEuMSBvbiB1YnVudHVfdjIyLjA0LjIu IEkgaGF2ZSBhIHNpbXBsZSBhcHAgZGVyaXZlZCBmcm9tIHNrZWxldG9uIGFuZCBpY21wZWNobyB3 aGljaCBjYW4gcmVwbHkgdG8gcHJvcGVyIGFycCByZXF1ZXN0cyBhbmQgYWxzbyBjYW4gcmVwbHkg dG8gYXBwcm9wcmlhdGUgcGluZ3MuIE5vdyB3aGF0cyB0aGUgcHJvcGVyIHN0ZXBzIHRvIGFkZCBh IHBhY2tldCBjYXB0dXJlIGZyYW1ld29yayBsaWtlIGRwZGstZHVtcGNhcCBoZXJlIGFzIHRoZSBk b2MgZGlkbnQgY2xlYXJseSBzYWlkIGl0LCByYXRoZXIgcG9pbnRlZCBvdXQgdG8gY2hlY2sgdGhl IHRlc3RwbWQuYw0KDQpJIHNpbXBseSBhZGRlZCBwZHVtcCBoZWFkZXIgZmlsZXMsIHRoZW4gaW5p dGlhbGl6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