Lines Matching full:sid
178 * sel_netnode_sid_slow - Lookup the SID of a network address using the policy
181 * @sid: node SID
184 * This function determines the SID of a network address by querying the
190 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument
199 *sid = node->nsec.sid; in sel_netnode_sid_slow()
208 addr, sizeof(struct in_addr), sid); in sel_netnode_sid_slow()
214 addr, sizeof(struct in6_addr), sid); in sel_netnode_sid_slow()
224 new->nsec.sid = *sid; in sel_netnode_sid_slow()
237 * sel_netnode_sid - Lookup the SID of a network address
240 * @sid: node SID
243 * This function determines the SID of a network address using the fastest
250 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid() argument
257 *sid = node->nsec.sid; in sel_netnode_sid()
263 return sel_netnode_sid_slow(addr, family, sid); in sel_netnode_sid()