From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: socket programming with DPDK? Date: Sat, 15 Nov 2014 15:22:12 +0100 Message-ID: <2277481.7KdNKGD1MC@xps13> References: <20141115132832.GC17037@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Neil Horman Return-path: In-Reply-To: <20141115132832.GC17037-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 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