next up previous contents index
Next: 11.3 oskit_avc: AVC Interface Up: 11.2 oskit_security: Security Server Previous: 11.2.12 netif_sid: Obtains SIDs

11.2.13 node_sid: Obtains the SID for a network node

 

SYNOPSIS

#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);

DESCRIPTION

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.

PARAMETERS

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

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



Utah Flux Research Group