DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Neil Horman <nhorman@tuxdriver.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] socket programming with DPDK?
Date: Sat, 15 Nov 2014 15:22:12 +0100	[thread overview]
Message-ID: <2277481.7KdNKGD1MC@xps13> (raw)
In-Reply-To: <20141115132832.GC17037@localhost.localdomain>

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

  reply	other threads:[~2014-11-15 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-15  7:08 Choonho Son
2014-11-15 13:28 ` Neil Horman
2014-11-15 14:22   ` Thomas Monjalon [this message]
2014-11-15 15:36   ` Ariel Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2277481.7KdNKGD1MC@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=nhorman@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).