Lines Matching full:sid
6 * maintain a table associating each interface with a SID.
120 * sel_netif_sid_slow - Lookup the SID of a network interface using the policy
123 * @sid: interface SID
126 * This function determines the SID of a network interface by querying the
132 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() argument
152 *sid = netif->nsec.sid; in sel_netif_sid_slow()
156 ret = security_netif_sid(dev->name, sid); in sel_netif_sid_slow()
163 new->nsec.sid = *sid; in sel_netif_sid_slow()
178 * sel_netif_sid - Lookup the SID of a network interface
181 * @sid: interface SID
184 * This function determines the SID of a network interface using the fastest
191 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid() argument
198 *sid = netif->nsec.sid; in sel_netif_sid()
204 return sel_netif_sid_slow(ns, ifindex, sid); in sel_netif_sid()