#include <oskit/flask/security.h>OSKIT_COMDECL oskit_security_node_sid(oskit_security_t *security, oskit_u16_t domain, void *addr, oskit_u32_t addrlen, [out] oskit_security_id_t *sid);
The oskit_security_node_sid function returns the SID to use for the node whose address is specified by addr. The addrlen parameter specifies the length of the address in bytes, and the domain parameter specifies the communications domain or address family in which the address should be interpreted.
- security
- The security server.
- domain
- The communications domain/address family.
- addr
- The address.
- addrlen
- The length of the address in bytes.
- sid
- The SID of the port number.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.