Download Adaptec AHA-1520A Technical data

Transcript
bufmod ( 7M )
STREAMS Modules
SunOS 5.5
has the side-effect of forcing the chunk size to zero as well, so that the
module will pass all incoming messages upward immediately upon
arrival. Negative values are rejected with an EINVAL error.
SBIOCGTIME
Return the read timeout in the struct timeval pointed to by the argument. If the timeout has been cleared with the SBIOCCTIME ioctl,
return with an ERANGE error.
SBIOCCTIME
Clear the read timeout, effectively setting its value to infinity. This
results in no timeouts being active and the chunk being delivered
when it is full.
SBIOCSCHUNK
Set the chunk size to the value referred to by the u_int pointer given
as argument. See NOTES for description of effect on stream head
high water mark.
SBIOCGCHUNK
Return the chunk size in the u_int pointed to by the argument.
SBIOCSSNAP
Set the current snapshot length to the value given in the u_long
pointed to by the ioctl’s final argument. bufmod interprets a
snapshot length value of zero as meaning infinity, so it will not alter
the message. See NOTES for description of effect on stream head high
water mark.
SBIOCGSNAP
Returns the current snapshot length in the u_long pointed to by the
ioctl’s final argument.
SBIOCSFLAGS
Set the current flags to the value given in the u_long pointed to by the
ioctl’s final argument. Possible values are a combination of the following.
SBIOCGFLAGS
SEE ALSO
NOTES
7M-50
SB_SEND_ON_WRITE
Transmit the read side chunk on arrival of a
message on the write side.
SB_NO_HEADER
Do not add headers to read side messages.
SB_NO_DROPS
Do not drop messages due to flow control
upstream.
SB_NO_PROTO_CVT
Do not convert M_PROTO messages into
M_DATA.
SB_DEFER_CHUNK
Begin buffering on arrival of the second
read side message in a timeout interval.
Returns the current flags in the u_long pointed to by the ioctl’s final
argument.
dlpi(7P), ie(7D), le(7D), pfmod(7M)
Older versions of bufmod did not support the behavioral flexibility controlled by the
SBIOCSFLAGS ioctl. Applications that wish to take advantage of this flexibility can
guard themselves against old versions of the module by invoking the SBIOCGFLAGS
ioctl and checking for an EINVAL error return.
modified 27 Jul 1992