diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2009-04-21 23:26:27 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-23 11:04:38 (GMT) |
commit | 09488e2e0fab14ebe41135f0d066cfe2c56ba9e5 (patch) | |
tree | d4435618235088720f7cbc2ac9624e4b8cb0bf7a /samples | |
parent | 802788bf90f78e7f248e78d4d0510bb00e976db8 (diff) | |
download | linux-09488e2e0fab14ebe41135f0d066cfe2c56ba9e5.tar.xz |
af_iucv: New socket option for setting IUCV MSGLIMITs
The SO_MSGLIMIT socket option modifies the message limit for new
IUCV communication paths.
The message limit specifies the maximum number of outstanding messages
that are allowed for connections. This setting can be lowered by z/VM
when an IUCV connection is established.
Expects an integer value in the range of 1 to 65535.
The default value is 65535.
The message limit must be set before calling connect() or listen()
for sockets.
If sockets are already connected or in state listen, changing the message
limit is not supported.
For reading the message limit value, unconnected sockets return the limit
that has been set or the default limit. For connected sockets, the actual
message limit is returned. The actual message limit is assigned by z/VM
for each connection and it depends on IUCV MSGLIMIT authorizations
specified for the z/VM guest virtual machine.
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions