| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:41:55 GMT | ||||||||||||||||
| |||||||||||||||||
| Manpage of LINKBDescription: 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 compactpciLINKBSection: Linux Fast-STREAMS DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMElinkb - link a message block to a STREAMS messageSYNOPSIS#include <sys/stream.h>
ARGUMENTS
INTERFACEDESCRIPTIONlinkb() links the message pointed to by mp2 onto the end of the message pointed to by mp1. RETURNERRORSlinkb() silently fails if either mp1 or mp2 are NULL. CONTEXTlinkb() can be called from any context, including user context, module procedures, callouts, callbacks, soft interrupts (tasklets and bottom halves), and interrupt service routines. MP-STREAMSlinkb() is MP-safe. The caller is responsible to ensure exclusive access to the passed in messages. NOTICESlinkb() could panic the kernel if passed an invalid pointer. linkb() is robust to being passed NULL pointers, and linkb(NULL,mp2) linkb(mp1,NULL) and linkb(NULL,NULL) are all valid (but the first form results in a memory leak of buffer mp2). Portable STREAMS drivers and modules will not pass linkb() a NULL or invalid pointer. IMPLEMENTATIONlinkb() is implemented as an extern inline function for speed. Its imlementation is as follows:
SEE ALSOBUGSCOMPATIBILITYlinkb() is compatible with SVR 4.2 MP DDI/DKI[1], and implementations based on SVR 4[2] with the following portability considerations:
See STREAMS(9) for additional compatibility information. CONFORMANCEHISTORYlinkb() appears as part of SVR 4.0 STREAMS[3]. linkb() first appeared in SVR 3[4]. 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: 22:28:29 GMT, May 23, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:41:55 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |