All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Cc: davem@davemloft.net, kuznet@ms2.inr.ac.ru, pekkas@netcore.fi,
	jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@coreworks.de,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH  2.6.17-rc6-mm1 ]  net: RFC 3828-compliant UDP-Lite support
Date: Thu, 08 Jun 2006 15:47:52 +0100	[thread overview]
Message-ID: <1149778072.22124.6.camel@localhost.localdomain> (raw)
In-Reply-To: <200606081150.34018@this-message-has-been-logged>

Ar Iau, 2006-06-08 am 11:50 +0100, ysgrifennodd Gerrit Renker:
> +  UDP-Lite introduces a new socket type, the SOCK_LDGRAM (note the L) for
> +  lightweight, connection-less services. These are the socket options:

This is not the intended use of the socket API when distinguishing
between services. The socket() call has a protocol field that is usually
unused and it exists precisely to disambiguate multiple protocols with
the same generic behaviour but different properties.

	s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDPLITE);

is probably the right way to do this, keeping 0 "default" as before
meaning IPPROTO_UDP


  parent reply	other threads:[~2006-06-08 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 10:50 [PATCH 2.6.17-rc6-mm1 ] net: RFC 3828-compliant UDP-Lite support Gerrit Renker
2006-06-08 11:03 ` YOSHIFUJI Hideaki / 吉藤英明
     [not found]   ` <200606081222.54856.gerrit@erg.abdn.ac.uk>
2006-06-08 18:51     ` David Miller
2006-06-08 11:30 ` YOSHIFUJI Hideaki / 吉藤英明
2006-06-08 14:47 ` Alan Cox [this message]
2006-06-08 14:38   ` YOSHIFUJI Hideaki / 吉藤英明
2006-06-08 16:03   ` Gerrit Renker
2006-06-08 18:53     ` David Miller
2006-06-08 19:46       ` James Morris
2006-06-08 20:09         ` Gerrit Renker
2006-06-08 22:13           ` David Miller
2006-06-09  9:36             ` Gerrit Renker
2006-06-09 13:29               ` YOSHIFUJI Hideaki / 吉藤英明

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=1149778072.22124.6.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=davem@davemloft.net \
    --cc=gerrit@erg.abdn.ac.uk \
    --cc=jmorris@namei.org \
    --cc=kaber@coreworks.de \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pekkas@netcore.fi \
    --cc=yoshfuji@linux-ipv6.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.