netif.h

来自「优龙2410linux2.6.8内核源代码」· C头文件 代码 · 共 31 行

H
31
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?