Re: [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try#2]

From: Alan Cox
Date: Fri Mar 16 2007 - 10:32:05 EST


On Fri, 16 Mar 2007 14:23:13 +0000
David Howells <dhowells@xxxxxxxxxx> wrote:

> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > If your messages are datagrams and unreliable -> SOCK_DGRAM
>
> Nope.
>
> > If your messages are datagrams and reliable -> SOCK_RDM
>
> Nope.
>
> > If your messages are datagrams, reliable and ordered -> SOCK_SEQPACKET
>
> Nope.
>
> > If your messages are streams of bits, reliable and ordered -> SOCK_STREAM
>
> Nope.

So your messages are neither reliable not unreliable, nor ordered, nor
unordered.

NAK

Until you work out what your messages actually are and use a proper
standard socket type. And "but there are higher layers" isn't relevant
here, this is true for Appletalk as well and it doesn't have to go
inventing new types for everything as you seem to.

Alan
-
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/