All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Neil Horman <nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: 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-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>

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

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-15  7:08 socket programming with DPDK? Choonho Son
     [not found] ` <CAJBXtn=n_M+7QV4+oe3aaPgOWGtQ+qnjht6tfhAS26i3_cQ2kg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-15 13:28   ` Neil Horman
     [not found]     ` <20141115132832.GC17037-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
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-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.