semanage_iface man page

semanage_iface — SELinux Network Interfaces Management API

Synopsis

#include <semanage/iface_record.h>
#include <semanage/interfaces_policy.h>
#include <semanage/interfaces_local.h>

This object contains properties associated with a network interface.

For details on a specific function, see its manual page.

Record API Overview

semanage_iface_create(3)-
create an interface

semanage_iface_free(3)-
release resources for this interface

semanage_iface_key_create(3)-
create a key, which can be used to identify an interface

semanage_iface_key_free(3)-
release resources for this interface key

semanage_iface_key_extract(3)-
create a key matching this interface

semanage_iface_clone(3)-
create an identical interface (deep-copy clone)

semanage_iface_compare(3)-
compare this interface to the provided key

semanage_iface_compare2(3)-
compare this interface to another

Properties API Overview

semanage_iface_get_name(3)-
return the name of this interface

semanage_iface_set_name(3)-
set the name of this interface

semanage_iface_get_ifcon(3)-
return the SELinux context associated with this interface

semanage_iface_set_ifcon(3)-
set the SELinux context associated with this interface

semanage_iface_get_msgcon(3)-
return the SELinux context associated with packets sent over this interface

semanage_iface_set_msgcon(3)-
set the SELinux context associated with packets sent over this interface

Record Store API Overview

semanage_iface_modify_local(3)-
add or update an interface in the local store

semanage_iface_del_local(3)-
delete an interface from the local store

semanage_iface_exists(3)-
check if an interface is defined in the persistent policy

semanage_iface_exists_local(3)-
check if an interface is defined in the local store

semanage_iface_query(3)-
query an interface in the persistent policy

semanage_iface_query_local(3)-
query an interface in the local store

semanage_iface_count(3)-
count the number of interfaces defined in the persistent policy

semanage_iface_count_local(3)-
count the number of interfaces defined in the local store

semanage_iface_iterate(3)-
execute a callback for each interface in the persistent policy

semanage_iface_iterate_local(3)-
execute a callback for each interface in the local store

semanage_iface_list(3)-
return an array containing all interfaces in the persistent policy

semanage_iface_list_local(3)-
return an array containing all interfaces in the local store

Info

16 March 2006 ivg2@cornell.edu Libsemanage API documentation