| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:04 GMT | ||||||||||||||||
| |||||||||||||||||
| Manpage of MI_SET_STH_HIWATDescription: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciMI_SET_STH_HIWATSection: OpenSS7 STREAMS Compatibility DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMEmi_set_sth_hiwat - set the Stream head high water markSYNOPSIS#define _MPS_SOURCE
ARGUMENTS
INTERFACEDESCRIPTIONmi_set_sth_hiwat() is one of a group of helper functions, mi_set_sth_copyopt(9), mi_set_sth_lowat(9), mi_set_sth_maxblk(9), mi_set_sth_wroff(9), that are used to set characteristics of the Stream head. mi_set_sth_hiwat() sets the high water mark to hiwat for the Stream head belonging to the Stream containing queue pair, q. USAGEmi_set_sth_hiwat() is normally be called from within a STREAMS driver or module's qi_qopen(9) routine to adjust characteristics of the Stream head. RETURNWhen mi_set_sth_hiwat() succeeds, it returns true (1); when it fails, it returns false (0). ERRORSmi_set_sth_hiwat() fails when it cannot allocate a message block to hold the M_SETOPTS(9) message. CONTEXTmi_set_sth_hiwat() can be called from any context; however, it is intended to be called from a STREAMS driver or module's qi_qopen(9) routine. MP-STREAMSmi_set_sth_hiwat() is MP-safe. NOTICESmi_set_sth_hiwat() is an MPS®-specific function: _MPS_SOURCE, _AIX_SOURCE or _MAC_SOURCE must be defined before including DDI/DKI include files to expose this symbol. OpenSS7 STREAMS Compatibility must also have been compiled with CONFIG_STREAMS_COMPAT_MPS, CONFIG_STREAMS_COMPAT_MPS_MODULE, CONFIG_STREAMS_COMPAT_AIX, CONFIG_STREAMS_COMPAT_AIX_MODULE, CONFIG_STREAMS_COMPAT_MAC or CONFIG_STREAMS_COMPAT_MAC_MODULE defined. IMPLEMENTATIONmi_set_sth_hiwat() is implemented by formulating a M_SETOPTS(9) message with stroptions(9) structure with SO_HIWAT set in so_flags and the hiwat argument copied to the so_hiwat member. The resulting M_SETOPTS(9) message is passed along queue, q, using putnext(9). SEE ALSOmi_set_sth_copyopt(9), mi_set_sth_lowat(9), mi_set_sth_maxblk(9), mi_set_sth_wroff(9), qi_qopen(9), stroptions(9), M_SETOPTS(9), putnext(9), mpscompat(9), aixcompat(9), maccompat(9), STREAMS(9). BUGSmi_set_sth_hiwat() has no known bugs. COMPATIBILITYmi_set_sth_hiwat() is compatible with MPS®, AIX®, MacOT®, and Solaris®, with the following portability considerations:
See mpscompat(9), aixcompat(9), maccompat(9), and STREAMS(9) for additional compatibility considerations. CONFORMANCEMPS® DDI documentation, MacOT® DDI documentation[2, 3], AIX® documentation[4]. HISTORYmi_set_sth_hiwat() first appeared in MPS®. mi_set_sth_hiwat() is a Mentat, Inc. function that goes all the way back to the pre-OSF/1 Mentat implementations. mi_set_sth_hiwat() appears in MacOT®[3] and AIX®[4]. An undocumented version of mi_set_sth_hiwat() appears in Solaris®. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 01:10:55 GMT, May 20, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:04 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |