Content-type: text/html Man page of tsol_getrhtype

tsol_getrhtype

Section: Trusted Extensions Library Functions (3TSOL)
Updated: 20 Jul 2007
Index Return to Main Contents
 

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 TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
FILES
ATTRIBUTES
SEE ALSO
NOTES

This document was created by man2html, using the manual pages.
Time: 02:38:33 GMT, October 02, 2010