Linux
chmsky
这个作者很懒,什么都没留下…
展开
-
container_of()宏的简要解析
在学习Linux驱动的过程中,遇到一个宏叫做container_of。该宏定义在include/linux/kernel.h中,首先来贴出它的代码:1. 439/** 2. 440 * container_of - cast a member of a structure out to the containing structure 3.转载 2009-12-24 13:58:00 · 439 阅读 · 0 评论 -
wireshark在ubuntu下找不到网卡的解决办法
安装wiresharksudo apt-get install wireshark安装完 普通用户启动wireshark 看不到网卡,原因是只有root权限才能运行解决方案,以root运行Wireshark System -- Preference -- Main Menu,在I原创 2011-07-28 15:11:23 · 2645 阅读 · 0 评论