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

From: Alan Cox
Date: Mon Mar 19 2007 - 10:27:46 EST


> > Other RPC types use normal socket types.
>
> They do? Examples please. I didn't think Linux, at least, has any other RPC
> socket families, though I could be wrong as I haven't made a thorough study of
> them.

SunRPC is implemented in user space and uses the existing TCP/IP layer
and socket types, even though it is using them in an RPC manner and
viewed at the RPC layer they are RPCs

> I have made my client sockets use connect(), but that's just a convenience
> and I need to make it possible to avoid doing that to make it useful to
> the kernel. It's similar to SOCK_DGRAM sockets in this respect.

So use SOCK_DGRAM, its clearly near enough.
-
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/