Re: [PATCH 2.6.17-rc6-mm1 ] net: RFC 3828-compliant UDP-Litesupport

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Thu Jun 08 2006 - 10:36:37 EST


In article <1149778072.22124.6.camel@xxxxxxxxxxxxxxxxxxxxx> (at Thu, 08 Jun 2006 15:47:52 +0100), Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> says:

> 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:
:
> s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDPLITE);
>
> is probably the right way to do this, keeping 0 "default" as before
> meaning IPPROTO_UDP

I do think so, too.

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/