Lines Matching full:sid
126 * sel_netport_sid_slow - Lookup the SID of a network address using the policy
129 * @sid: port SID
132 * This function determines the SID of a network port by querying the security
137 static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid_slow() argument
146 *sid = port->psec.sid; in sel_netport_sid_slow()
151 ret = security_port_sid(protocol, pnum, sid); in sel_netport_sid_slow()
158 new->psec.sid = *sid; in sel_netport_sid_slow()
171 * sel_netport_sid - Lookup the SID of a network port
174 * @sid: port SID
177 * This function determines the SID of a network port using the fastest method
183 int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) in sel_netport_sid() argument
190 *sid = port->psec.sid; in sel_netport_sid()
196 return sel_netport_sid_slow(protocol, pnum, sid); in sel_netport_sid()