SYNOPSIS
#include <semanage/node_record.h>#include <semanage/nodes_policy.h>
#include <semanage/nodes_local.h>
This object contains properties associated with a network node.
For details on a specific function, see its manual page.
Record API Overview
- semanage_node_create(3)-
-
- create a node
- create a node
- semanage_node_free(3)-
-
- release resources for this node
- release resources for this node
- semanage_node_key_create(3)-
-
- create a key, which can be used to identify a node
- create a key, which can be used to identify a node
- semanage_node_key_free(3)-
-
- release resources for this node key
- release resources for this node key
- semanage_node_key_extract(3)-
-
- create a key matching this node
- create a key matching this node
- semanage_node_clone(3)-
-
- create an identical node (deep-copy clone)
- create an identical node (deep-copy clone)
- semanage_node_compare(3)-
-
- compare this node to the provided key
- compare this node to the provided key
- semanage_node_compare2(3)-
-
- compare this node to another
- compare this node to another
Properties API Overview
- semanage_node_get_addr(3)-
-
- return the IP address of this node in string representation
- return the IP address of this node in string representation
- semanage_node_set_addr(3)-
-
- set the IP address of this node from the provided string representation and protocol
- set the IP address of this node from the provided string representation and protocol
- semanage_node_get_addr_bytes(3)-
-
- return the IP address of this node as a byte array in network byte order
- return the IP address of this node as a byte array in network byte order
- semanage_node_set_addr_bytes(3)-
-
- set the IP address of this node from the provided byte array in network byte order
- set the IP address of this node from the provided byte array in network byte order
- semanage_node_get_mask(3)-
-
- return the IP mask of this node in string representation
- return the IP mask of this node in string representation
- semanage_node_set_mask(3)-
-
- set the IP mask of this node from the provided string representation and protocol version
- set the IP mask of this node from the provided string representation and protocol version
- semanage_node_get_mask_bytes(3)-
-
- return the IP mask of this node as a byte array in network byte order
- return the IP mask of this node as a byte array in network byte order
- semanage_node_set_mask_bytes(3)-
-
- set the IP mask of this node from the provided byte array in network byte order
- set the IP mask of this node from the provided byte array in network byte order
- semanage_node_get_proto(3)-
-
- return the IP protocol version for this node
- return the IP protocol version for this node
- semanage_node_get_proto_str(3)-
-
- return a string representation of the given node protocol
- return a string representation of the given node protocol
- semanage_node_set_proto(3)-
-
- set the IP protocol version for this node
- set the IP protocol version for this node
- semanage_node_get_con(3)-
-
- return the SELinux context associated with this node
- return the SELinux context associated with this node
- semanage_node_set_con(3)-
-
- set the SELinux context associated with this node
- set the SELinux context associated with this node
Record Store API Overview
- semanage_node_modify_local(3)-
-
- add or update an interface in the local store
- add or update an interface in the local store
- semanage_node_del_local(3)-
-
- delete an interface from the local store
- delete an interface from the local store
- semanage_node_exists(3)-
-
- check if an interface is defined in the persistent policy
- check if an interface is defined in the persistent policy
- semanage_node_exists_local(3)-
-
- check if an interface is defined in the local store
- check if an interface is defined in the local store
- semanage_node_query(3)-
-
- query an interface in the persistent policy
- query an interface in the persistent policy
- semanage_node_query_local(3)-
-
- query an interface in the local store
- query an interface in the local store
- semanage_node_count(3)-
-
- count the number of nodes defined in the persistent policy
- count the number of nodes defined in the persistent policy
- semanage_node_count_local(3)-
-
- count the number of nodes defined in the local store
- count the number of nodes defined in the local store
- semanage_node_iterate(3)-
-
- execute a callback for each interface in the persistent policy
- execute a callback for each interface in the persistent policy
- semanage_node_iterate_local(3)-
-
- execute a callback for each interface in the local store
- execute a callback for each interface in the local store
- semanage_node_list(3)-
-
- return an array containing all nodes in the persistent policy
- return an array containing all nodes in the persistent policy
- semanage_node_list_local(3)-
-
- return an array containing all nodes in the local store
- return an array containing all nodes in the local store