📄 netif.h
字号:
/* * Network interface table. * * Network interfaces (devices) do not have a security field, so we * maintain a table associating each interface with a SID. * * Author: James Morris <jmorris@redhat.com> * * Copyright (C) 2003 Red Hat, Inc., James Morris <jmorris@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. */#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);#endif /* _SELINUX_NETIF_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -