| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:33 GMT | ||||||||||||||||
| |||||||||||||||||
| Manpage of T_GETPROTADDRDescription: 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 compactpciT_GETPROTADDRSection: OpenSS7 XTI/TLI Networking Library Calls (3)Updated: 2008-10-31 Index Return to Main Contents NAMEt_getprotaddr - get protocol addressesSYNOPSIS#include <xti.h>
ARGUMENTS
DESCRIPTIONfd specifies the local transport endpoint for which to retrieve address information. loc is a pointer to a t_bind structure that returns the local endpoint transport address bound to fd, if fd is in a bound state. rem is a pointer to a t_bind structure that returns the remote endpoint transport address connected to fd, if fd is in a connected state. The t_bind structure is formatted as follows:
struct t_bind {
struct netbuf addr;
unsigned int qlen;
};
The t_bind structure contains the following members:
CAVEATSt_getprotaddr() is valid in any state other than T_UNINT. RETURN VALUEUpon success, t_getproaddr() returns zero (0). Upon failure, t_getproaddr() returns -1 and sets t_errno(3) to an appropriate error number. ERRORSWhen t_getproaddr() fails, it returns -1 and sets t_errno(3) to an appropriate error number as follows:
SEE ALSOerrno(3), netbuf(3), t_bind(3), t_connect(3), t_errno(3). BUGSt_getprotaddr() has no known bugs. t_getprotaddr() has been tested for the described behavior using the test-xnet(8) and test-xnet_thr(8) conformance test suites. COMPATIBILITYThe XTI/TLI library functions are compatible with SVR4.2[1], XNS 5.2[2], SUSv2[3]. Compatibility is tested using the test-xnet(8) and test-xnet_thr(8) test case executables and the OpenSS7 XTI/TLI Networking autotest test suite. CONFORMANCEXTI/TLI[4], TPI[5], XPG5, XNS 5.2[2], SUSv2[3]. Conformance is tested using the test-xnet(8) and test-xnet_thr(8) test case executables and the OpenSS7 XTI/TLI Networking autotest test suite. HISTORYt_getprotaddr first appeared in SVR4.2[1]. VERSIONSThis manpage was written for the OpenSS7 XTI/TLI Library. 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:05:17 GMT, May 20, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:33 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |