From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id A25625911 for ; Wed, 9 Jan 2019 16:38:41 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Wed, 9 Jan 2019 16:38:39 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35B425B7@smartserver.smartshare.dk> In-Reply-To: <002301d4a7ce$d095b240$71c116c0$@viettel.com.vn> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [RFC] function to parse packet headers Thread-Index: AdSnxr7PLxgVpPCJQCGKPafV9wR0KwAZDGuQ References: <002301d4a7ce$d095b240$71c116c0$@viettel.com.vn> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: , , "Olivier Matz" Cc: Subject: Re: [dpdk-dev] [RFC] function to parse packet headers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 15:38:41 -0000 Q3V0dGluZyBpbiBPbGl2aWVyLCByZXF1ZXN0aW5nIGlucHV0IGFzIHRoZSBtYWludGFpbmVyIG9m IHJ0ZV9uZXQuDQoNCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5vcmddIE9u IEJlaGFsZiBPZg0KPiBsb25ndGI1QHZpZXR0ZWwuY29tLnZuDQo+IA0KPiBIaSBNb3J0ZW4sDQo+ IA0KPiBXaGF0IGlzIHRoZSBkaWZmZXJlbmNlIGNvbXBhcmUgdG8gcnRlX25ldF9nZXRfcHR5cGUo KSwgd2hpY2ggYWxzbw0KPiBwYXJzZXMNCj4gcGFja2V0IHR5cGVzIGFuZC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