vserver 1.9.5.x5
[linux-2.6.git] / security / selinux / include / netif.h
index 02f7608..8bd6f99 100644 (file)
 #ifndef _SELINUX_NETIF_H_
 #define _SELINUX_NETIF_H_
 
-struct sel_netif
-{
-       struct list_head list;
-       atomic_t users;
-       struct netif_security_struct nsec;
-       struct rcu_head rcu_head;
-};
-
-struct sel_netif *sel_netif_lookup(struct net_device *dev);
-void sel_netif_put(struct sel_netif *netif);
+int sel_netif_sids(struct net_device *dev, u32 *if_sid, u32 *msg_sid);
 
 #endif /* _SELINUX_NETIF_H_ */