From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com
 [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id B25E468AF
 for <dev@dpdk.org>; Sat, 15 Nov 2014 15:12:26 +0100 (CET)
Received: by mail-wi0-f171.google.com with SMTP id r20so1923096wiv.4
 for <dev@dpdk.org>; Sat, 15 Nov 2014 06:22:34 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=Nqn+AVYSPWYGLhuxcRD+bMNjxxfZpNjSaoEVG6/61+g=;
 b=HvlJ0WTx+7mgD/bklfKU7WahXv5Z4AyZX02gQ4AM18VQnCjYcM7Nr5IVe7VLtdbiDM
 VgBUN4NQRiUsf5m5IDhM+SeWQbO1xR5nqE+tQGX/sZY8EBf06vamIFQuvYZnyQgOqfPt
 hSRYz7BIe37mk8vEYrIvNmY5CLgTmUuyWZRoSnBvA1ma509sMGxDup6grhdPtbNI1Dny
 8g966xrZ3rItBZY5AkXJJ+vb9fUlUOCsB6pjy5A+A748FItcRejUE7H2zBKYLas5ZWht
 EobVhUe662qbCGb29U12fN9h3ssVoHIPTTxvqKo4zqUdlPx9FVqHL/gK6sORWudNM8Xt
 MZ8A==
X-Gm-Message-State: ALoCoQkxN76ZB8+yUoHrsL9Mi3yRDH11DYRKJRQ/DN+AdrvZ1YWE3e9JoKkpe0rjKn5AWS9y9Eu8
X-Received: by 10.194.57.81 with SMTP id g17mr23904256wjq.12.1416061354566;
 Sat, 15 Nov 2014 06:22:34 -0800 (PST)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by mx.google.com with ESMTPSA id b6sm7246505wiy.22.2014.11.15.06.22.33
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 15 Nov 2014 06:22:33 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Neil Horman <nhorman@tuxdriver.com>
Date: Sat, 15 Nov 2014 15:22:12 +0100
Message-ID: <2277481.7KdNKGD1MC@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; )
In-Reply-To: <20141115132832.GC17037@localhost.localdomain>
References: <CAJBXtn=n_M+7QV4+oe3aaPgOWGtQ+qnjht6tfhAS26i3_cQ2kg@mail.gmail.com>
 <20141115132832.GC17037@localhost.localdomain>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] socket programming with DPDK?
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Nov 2014 14:12:26 -0000

2014-11-15 08:28, Neil Horman:
> On Sat, Nov 15, 2014 at 04:08:47PM +0900, Choonho Son wrote:
> > I am making netflow collector with DPDK.
> > I need to export result to another server with socket programming.
> > But I can not include <netinet/in.h> which defines struct sockaddr_in.
> > 
> > How can I make application with traditional socket programming and DPDK?
> > 
> Why can't you add netinet/in.h?  Are you getting an error when doing so?  I
> vaguely recall someone posting a fix for an include error for that file, but I
> don't recall its disposition

Yes, we shouldn't try to redefine libc like in rte_ip.h.
Previous discussion:
	http://dpdk.org/ml/archives/dev/2014-November/007482.html

-- 
Thomas