1tsol_getrhtype(3TSOL)Trusted Extensions Library Functionstsol_getrhtype(3TSOL)
2
3
4

NAME

6       tsol_getrhtype - get trusted network host type
7

SYNOPSIS

9       cc [flag...] file... -ltsnet [library...]
10
11
12       #include <libtsnet.h>
13
14       tsol_host_type_t tsol_getrhtype(char *hostname);
15
16

DESCRIPTION

18       The tsol_getrhtype() function queries the kernel-level network informa‐
19       tion to determine the host type that is associated with  the  specified
20       hostname.  The  hostname can be a regular hostname, an IP address, or a
21       network wildcard address.
22

RETURN VALUES

24       The returned value will be one of the enumerated types that is  defined
25       in  the  tsol_host_type_t  typedef. Currently these types are UNLABELED
26       and SUN_CIPSO.
27

FILES

29       /etc/security/tsol/tnrhdb    Trusted network remote-host database
30
31

ATTRIBUTES

33       See attributes(5) for descriptions of the following attributes:
34
35
36
37
38       ┌───────────────────────┬───────────────────────────────────┐
39       │    ATTRIBUTE TYPE     │          ATTRIBUTE VALUE          │
40       ├───────────────────────┼───────────────────────────────────┤
41       │Interface Stability    │ Committed                         │
42       ├───────────────────────┼───────────────────────────────────┤
43       │MT-Level               │ MT-Safe                           │
44       └───────────────────────┴───────────────────────────────────┘
45

SEE ALSO

47       libtsnet(3LIB), attributes(5)
48
49
50       Obtaining the Remote Host Type in  Solaris  Trusted  Extensions  Devel‐
51       oper's Guide
52

NOTES

54       The  functionality  described  on this manual page is available only if
55       the system is configured with Trusted Extensions.
56
57
58
59SunOS 5.11                        20 Jul 2007            tsol_getrhtype(3TSOL)
Impressum