table of contents
semanage_node(3) | Libsemanage API documentation | semanage_node(3) |
NAME¶
semanage_node - SELinux Network Nodes Management APISYNOPSIS¶
#include <semanage/node_record.h>Record API Overview¶
semanage_node_create(3)-
create a node
semanage_node_free(3)-
release resources for this node
semanage_node_key_create(3)-
create a key, which can be used to identify a node
semanage_node_key_free(3)-
release resources for this node key
semanage_node_key_extract(3)-
create a key matching this node
semanage_node_clone(3)-
create an identical node (deep-copy clone)
semanage_node_compare(3)-
compare this node to the provided key
semanage_node_compare2(3)-
compare this node to another
Properties API Overview¶
semanage_node_get_addr(3)-
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
semanage_node_get_addr_bytes(3)-
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
semanage_node_get_mask(3)-
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
semanage_node_get_mask_bytes(3)-
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
semanage_node_get_proto(3)-
return the IP protocol version for this node
semanage_node_get_proto_str(3)-
return a string representation of the given node protocol
semanage_node_set_proto(3)-
set the IP protocol version for this node
semanage_node_get_con(3)-
return the SELinux context associated with this node
semanage_node_set_con(3)-
set the SELinux context associated with this node
Record Store API Overview¶
semanage_node_list_local(3)-
return an array containing all nodes in the local store
16 March 2006 | ivg2@cornell.edu |