ticlts, ticots, ticotsord - loopback transport providers
#include <sys/ticlts.h>
#include <sys/ticots.h>
#include <sys/ticotsord.h>
The devices known as ticlts, ticots, and ticotsord are ``loopback transport providers,'' that is, stand-alone networks at the transport level. Loopback transport providers are transport providers in every sense except one: only one host (the local machine) is ``connected to'' a loopback network. Loopback transports present a TPI (STREAMS-level) interface to application processes and are intended to be accessed via the TLI (application-level) interface. They are implemented as clone devices and support address spaces consisting of ``flex-addresses,'' that is, arbitrary sequences of octets of length > 0, represented by a netbuf structure.
ticlts is a datagram-mode transport provider. It offers (connectionless) service of type T_CLTS. Its default address size is TCL_DEFAULTADDRSZ. ticlts prints the following error messages (see t_rcvuderr(3NSL)):
TCL_BADADDR
TCL_BADOPT
TCL_NOPEER
TCL_PEERBADSTATE
ticots is a virtual circuit-mode transport provider. It offers (connection-oriented) service of type T_COTS. Its default address size is TCO_DEFAULTADDRSZ. ticots prints the following disconnect messages (see t_rcvdis(3NSL)):
TCO_NOPEER
TCO_PEERNOROOMONQ
TCO_PEERBADSTATE
TCO_PEERINITIATED
TCO_PROVIDERINITIATED
ticotsord is a virtual circuit-mode transport provider, offering service of type T_COTS_ORD (connection-oriented service with orderly release). Its default address size is TCOO_DEFAULTADDRSZ. ticotsord prints the following disconnect messages (see t_rcvdis(3NSL)):
TCOO_NOPEER
TCOO_PEERNOROOMONQ
TCOO_PEERBADSTATE
TCOO_PEERINITIATED
TCOO_PROVIDERINITIATED
Loopback transports support a local IPC mechanism through the TLI interface. Applications implemented in a transport provider-independent manner on a client-server model using this IPC are transparently transportable to networked environments.
Transport provider-independent applications must not include the headers listed in the synopsis section above. In particular, the options are (like all transport provider options) provider dependent.
ticlts and ticots support the same service types (T_CLTS and T_COTS) supported by the OSI transport-level model.
ticotsord supports the same service type (T_COTSORD) supported by the TCP/IP model.
/dev/ticlts
/dev/ticots
t_rcvdis(3NSL), t_rcvuderr(3NSL)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |