From: Rick Jones <rick.jones2@hp.com>
To: dccp@vger.kernel.org
Subject: Re: getaddrinfo - should accept IPPROTO_SCTP no?
Date: Fri, 13 Oct 2006 23:48:26 +0000 [thread overview]
Message-ID: <453025CA.70506@hp.com> (raw)
In-Reply-To: <5640c7e00610131559n4a3ad8c5x66cf4b72deb57868@mail.gmail.com>
> In all the DCCP code which has similar issues I just do the protocol
> selection on the socket call e.g.
> case TCP:
> new_sock = socket(AF_INET,SOCK_STREAM,0);
> break;
> case DCCP:
> new_sock = socket(AF_INET,SOCK_DCCP,IPPROTO_DCCP);
> break;
> case UDP:
> new_sock = socket(AF_INET,SOCK_DGRAM,0);
> break;
>
> I'm sure you know all this anyway so apologies in advance for telling
> you something you probably already know!
No worries.
David mentioned that I need to talk to the glibc folks. I'm still trying to web
search my way to finding them. Meanwhile I may do in netperf for this what I do
for Solaris' arbitrary clearing of the ai_protocol field - kludge around it and
have netperf emit a warning.
rick jones
WARNING: multiple messages have this Message-ID (diff)
From: Rick Jones <rick.jones2@hp.com>
To: Ian McDonald <ian.mcdonald@jandi.co.nz>
Cc: Linux Network Development list <netdev@vger.kernel.org>,
DCCP Mailing List <dccp@vger.kernel.org>
Subject: Re: getaddrinfo - should accept IPPROTO_SCTP no?
Date: Fri, 13 Oct 2006 16:48:26 -0700 [thread overview]
Message-ID: <453025CA.70506@hp.com> (raw)
In-Reply-To: <5640c7e00610131559n4a3ad8c5x66cf4b72deb57868@mail.gmail.com>
> In all the DCCP code which has similar issues I just do the protocol
> selection on the socket call e.g.
> case TCP:
> new_sock = socket(AF_INET,SOCK_STREAM,0);
> break;
> case DCCP:
> new_sock = socket(AF_INET,SOCK_DCCP,IPPROTO_DCCP);
> break;
> case UDP:
> new_sock = socket(AF_INET,SOCK_DGRAM,0);
> break;
>
> I'm sure you know all this anyway so apologies in advance for telling
> you something you probably already know!
No worries.
David mentioned that I need to talk to the glibc folks. I'm still trying to web
search my way to finding them. Meanwhile I may do in netperf for this what I do
for Solaris' arbitrary clearing of the ai_protocol field - kludge around it and
have netperf emit a warning.
rick jones
next prev parent reply other threads:[~2006-10-13 23:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 22:59 getaddrinfo - should accept IPPROTO_SCTP no? Ian McDonald
2006-10-13 22:59 ` Ian McDonald
2006-10-13 23:48 ` Rick Jones [this message]
2006-10-13 23:48 ` Rick Jones
-- strict thread matches above, loose matches on Subject: below --
2006-10-13 21:30 Rick Jones
2006-10-13 22:09 ` David Miller
2006-10-14 0:00 ` Sridhar Samudrala
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=453025CA.70506@hp.com \
--to=rick.jones2@hp.com \
--cc=dccp@vger.kernel.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.