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 EFB4D41E86; Mon, 13 Mar 2023 18:07:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9106740ED4; Mon, 13 Mar 2023 18:07:31 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 168B9406BC for ; Mon, 13 Mar 2023 18:07:31 +0100 (CET) Received: from frapeml100006.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Pb3434TPrz67L8m; Tue, 14 Mar 2023 01:07:15 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100006.china.huawei.com (7.182.85.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 18:07:29 +0100 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.021; Mon, 13 Mar 2023 18:07:29 +0100 From: Konstantin Ananyev To: "J.J. Martzki" , Konstantin Ananyev CC: "dev@dpdk.org" , "stephen@networkplumber.org" , "thomas@monjalon.net" , Ruifeng Wang Subject: RE: [PATCH v4] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap Thread-Topic: [PATCH v4] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap Thread-Index: AQHZVKrZtZWWqq+LjUGI9hw0OKx/Jq73HFkAgAGhRwCAADVUEA== Date: Mon, 13 Mar 2023 17:07:29 +0000 Message-ID: <4ba4c9cde28f473fb09a391e8ad9d55b@huawei.com> References: <20230306154216.41154-1-mars14850@gmail.com> <20230312062021.7349-1-mars14850@gmail.com> <948b18da-3e41-c65c-7d47-b49ba6a4d810@yandex.ru> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected 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 DQo+IEkndmUgcmVhZCB0aGUgbGliYnBmIGNvZGUgYWdhaW4gYW5kIEkgZm91bmQgc29tZSBvdGhl ciBmdW5jdGlvbnMgd2l0aA0KPiBwdXJlICdicGZfJyBwcmVmaXguIFNob3VsZCB3ZSByZW5hbWUg YWxsIHRoZSBmdW5jdGlvbnMgd2hvc2UgbmFtZXMNCj4gc3RhcnQgd2l0aCBwdXJlICdicGZfJz8N Cg0KSSB0aG91Z2h0IHlvdSBhbHJlYWR5IHByZWZpeGVkIGFsbCBub24tc3RhdGljIGZ1bmN0aW9u cyBpbiB0aGUgbGliLi4uDQpPciBkbyBJIG1pc3Mgc29tZXRoaW5nPyANCiANCj4gS29uc3RhbnRp biBBbmFueWV2IDxrb25zdGFudGluLnYuYW5hbnlldkB5YW5kZXgucnU+IOS6jjIwMjPlubQz5pyI MTLml6Xlkajml6UgMjI6MDLlhpnpgZPvvJoNCj4gPg0KPiA+IDEyLzAzLzIwMjMgMDY6MjAsIEou Si4gTWFydHpraSDQv9C40YjQtdGCOg0KPiA+ID4gVGhlIGxpYnJhcnkgbGlicGNhcCBoYXMgdGhl aXIgZnVuY3Rpb24gJ2JwZl92YWxpZGF0ZScgZWl0aGVyIHNvIHRoZXJlIHdvdWxkDQo+ID4gPiBi ZSBhIG11bHRpcGxlIGRlZmluaXRpb24gaXNzdWUgd2hlbiBsaW5raW5nIHdpdGggbGlicnRlX2Jw Zi5hIGFuZCBsaWJwY2FwLmENCj4gPiA+IHN0YXRpY2FsbHk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