Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | sel_netnode_sid (void *addr, u16 family, u32 *sid) |
sel_netnode_sid - Lookup the SID of a network address : the IP address : the address family : node SID
Description: This function determines the SID of a network address using the fastest method possible. First the address table is queried, but if an entry can't be found then the policy is queried and the result is added to the table to speedup future queries. Returns zero on success, negative values on failure.