[dpdk-dev] socket programming with DPDK?

Thomas Monjalon thomas.monjalon at 6wind.com
Sat Nov 15 15:22:12 CET 2014


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


More information about the dev mailing list