|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11 Express 11/10|
- get trusted network host type
cc [flag...] file... -ltsnet [library...]
#include <libtsnet.h> tsol_host_type_t tsol_getrhtype(char *hostname);
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.
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.
Trusted network remote-host database
See attributes(5) for descriptions of the following attributes:
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.