1semanage_iface(3) Libsemanage API documentation semanage_iface(3)
2
3
4
6 semanage_iface - SELinux Network Interfaces Management API
7
8
10 #include <semanage/iface_record.h>
11 #include <semanage/interfaces_policy.h>
12 #include <semanage/interfaces_local.h>
13
14
15 This object contains properties associated with a network interface.
16
17
18 For details on a specific function, see its manual page.
19
20
22 semanage_iface_create(3)-
23 create an interface
24
25
26 semanage_iface_free(3)-
27 release resources for this interface
28
29
30 semanage_iface_key_create(3)-
31 create a key, which can be used to identify an interface
32
33
34 semanage_iface_key_free(3)-
35 release resources for this interface key
36
37
38 semanage_iface_key_extract(3)-
39 create a key matching this interface
40
41
42 semanage_iface_clone(3)-
43 create an identical interface (deep-copy clone)
44
45
46 semanage_iface_compare(3)-
47 compare this interface to the provided key
48
49
50 semanage_iface_compare2(3)-
51 compare this interface to another
52
53
55 semanage_iface_get_name(3)-
56 return the name of this interface
57
58
59 semanage_iface_set_name(3)-
60 set the name of this interface
61
62
63 semanage_iface_get_ifcon(3)-
64 return the SELinux context associated with this interface
65
66
67 semanage_iface_set_ifcon(3)-
68 set the SELinux context associated with this interface
69
70
71 semanage_iface_get_msgcon(3)-
72 return the SELinux context associated with packets sent over
73 this interface
74
75
76 semanage_iface_set_msgcon(3)-
77 set the SELinux context associated with packets sent over this
78 interface
79
80
82 semanage_iface_modify_local(3)-
83 add or update an interface in the local store
84
85
86 semanage_iface_del_local(3)-
87 delete an interface from the local store
88
89
90 semanage_iface_exists(3)-
91 check if an interface is defined in the persistent policy
92
93
94 semanage_iface_exists_local(3)-
95 check if an interface is defined in the local store
96
97
98 semanage_iface_query(3)-
99 query an interface in the persistent policy
100
101
102 semanage_iface_query_local(3)-
103 query an interface in the local store
104
105
106 semanage_iface_count(3)-
107 count the number of interfaces defined in the persistent policy
108
109
110 semanage_iface_count_local(3)-
111 count the number of interfaces defined in the local store
112
113
114 semanage_iface_iterate(3)-
115 execute a callback for each interface in the persistent policy
116
117
118 semanage_iface_iterate_local(3)-
119 execute a callback for each interface in the local store
120
121
122 semanage_iface_list(3)-
123 return an array containing all interfaces in the persistent pol‐
124 icy
125
126
127 semanage_iface_list_local(3)-
128 return an array containing all interfaces in the local store
129
130
131
132ivg2@cornell.edu 16 March 2006 semanage_iface(3)