会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的程序员dis1500
知识就是希望
2021年1月10日
GPON设备 烽火国际
摘要: GPON设备 烽火国际 http://www.fiberhome.com/operator/contact/Default.aspx
阅读全文
posted @ 2021-01-10 05:03 lydstory
阅读(43)
评论(0)
推荐(0)
驱动内核:kfree_skb
摘要: kfree_skb()释放一个SKB的步骤: 1)kfree_skb()检测sk_buff结构的引用计数users,如果不为1,则说明此次释放后该SKB还将被用户占用, 因此递减引用计数users后即返回;否则说明不再有其他用户占用该sk_buff结构,调用__kfree_skb()释放之。 2)S
阅读全文
posted @ 2021-01-10 02:06 lydstory
阅读(792)
评论(0)
推荐(0)
syslog在那看
摘要: #include <stdio.h> #include <string.h> #include <syslog.h> #define SYSLOG(arg...) syslog(LOG_ERR,##arg) int main() { SYSLOG(" websafe backup start!");
阅读全文
posted @ 2021-01-10 01:53 lydstory
阅读(89)
评论(0)
推荐(0)
tty_struct 头文件
摘要: tty_struct 头文件
阅读全文
posted @ 2021-01-10 01:26 lydstory
阅读(113)
评论(0)
推荐(0)
驱动内核:kmalloc
摘要: #include <stdio.h> #include <string.h> #include <linux/kernel.h> #define sec_kmalloc(__size__) kmalloc((__size__), GFP_ATOMIC) int main() { printf("he
阅读全文
posted @ 2021-01-10 01:11 lydstory
阅读(81)
评论(0)
推荐(0)
system可以执行(popen无法执行)
摘要: #include <stdio.h> #include <string.h> #define BUF_SIZE 1024 #define MAX_NAME_SIZE 1024 int running_command(const char *command,char *result) { FILE *
阅读全文
posted @ 2021-01-10 00:53 lydstory
阅读(298)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告