opensolaris man page for tsol_getrhtype

Query: tsol_getrhtype

OS: opensolaris

Section: 3tsol

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

tsol_getrhtype(3TSOL)				       Trusted Extensions Library Functions				     tsol_getrhtype(3TSOL)

NAME
tsol_getrhtype - get trusted network host type
SYNOPSIS
cc [flag...] file... -ltsnet [library...] #include <libtsnet.h> tsol_host_type_t tsol_getrhtype(char *hostname);
DESCRIPTION
The tsol_getrhtype() function queries the kernel-level network information to determine the host type that is associated with the specified hostname. The hostname can be a regular hostname, an IP address, or a network wildcard address.
RETURN VALUES
The returned value will be one of the enumerated types that is defined in the tsol_host_type_t typedef. Currently these types are UNLABELED and SUN_CIPSO.
FILES
/etc/security/tsol/tnrhdb Trusted network remote-host database
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------+-----------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------+-----------------------------------+ |Interface Stability | Committed | +-----------------------+-----------------------------------+ |MT-Level | MT-Safe | +-----------------------+-----------------------------------+
SEE ALSO
libtsnet(3LIB), attributes(5) Obtaining the Remote Host Type in Solaris Trusted Extensions Developer's Guide
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions. SunOS 5.11 20 Jul 2007 tsol_getrhtype(3TSOL)
Related Man Pages
blequal(3tsol) - opensolaris
blcompare(3tsol) - opensolaris
blinrange(3tsol) - opensolaris
getdevicerange(3tsol) - opensolaris
htobsl(3tsol) - opensolaris
Similar Topics in the Unix Linux Community
Obtaining IP address
change hostname
command to know the IP address
multilevel port (MLP) on Solaris 10 w/ TE
hostname.bge0 failing after creating bge0:1 and rebooting