man pages section 3: Extended Library Functions, Volume 4
只搜尋這本書
以 PDF 格式下載這本書 (1911 KB)

tsol_getrhtype(3TSOL)

Name | Synopsis | Description | Return Values | Files | Attributes | See Also | Notes

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

Notes

    The functionality described on this manual page is available only if the system is configured with Trusted Extensions.

SunOS 5.11 Last Revised 20 Jul 2007

Name | Synopsis | Description | Return Values | Files | Attributes | See Also | Notes