af_iucv: Provide new socket type SOCK_SEQPACKET
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Tue, 21 Apr 2009 23:26:25 +0000 (23:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2009 11:04:36 +0000 (04:04 -0700)
commitaa8e71f58ab8e01d63c33df40ff1bcb997c9df92
tree5f489c3dd44e519f331af87305b12ed0e2ee64cc
parent44b1e6b5f9a93cc2ba024e09cf137d5f1b5f8426
af_iucv: Provide new socket type SOCK_SEQPACKET

This patch provides the socket type SOCK_SEQPACKET in addition to
SOCK_STREAM.

AF_IUCV sockets of type SOCK_SEQPACKET supports an 1:1 mapping of
socket read or write operations to complete IUCV messages.
Socket data or IUCV message data is not fragmented as this is the
case for SOCK_STREAM sockets.

The intention is to help application developers who write
applications or device drivers using native IUCV interfaces
(Linux kernel or z/VM IUCV interfaces).

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c