From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 9FFE8A0096 for ; Fri, 10 May 2019 18:21:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9580B3977; Fri, 10 May 2019 18:21:29 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 66C4529D2 for ; Fri, 10 May 2019 18:21:28 +0200 (CEST) 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: Fri, 10 May 2019 18:10:31 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35B4283D@smartserver.smartshare.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] librte_net: define TCP flags in rte_tcp.h instead of in rte_eth_ctrl.h Thread-Index: AdUHOiVoAzC5FkpEQm6wdZgfyJ8qbQADy1nQ From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Olivier Matz" , "Thomas Monjalon" , "Ferruh Yigit" , "Andrew Rybchenko" Cc: , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= Subject: [dpdk-dev] [PATCH] librte_net: define TCP flags in rte_tcp.h instead of in rte_eth_ctrl.h 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190510161031.n_cSDN9RxSEbVlvux7DuHtSPevXVZNP50Z9AISb3wnI@z> VENQIGZsYWdzIHdlcmUgbW92ZWQgdG8gdGhlIFRDUCBoZWFkZXIgZmlsZSBmcm9tIHRoZSBFdGhl cm5ldCBjb250cm9sDQpoZWFk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