上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 70 下一页
摘要: 1 某次release的源码 某次release的源码在release列表中,不在branch中,tag和release是在一起的。所以,下载某个release的源码应该去release中找,而不应该去branch下找。 阅读全文
posted @ 2018-01-22 12:07 PhoenixTree(梧桐树) 阅读(164) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-01-22 10:56 PhoenixTree(梧桐树) 阅读(5) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-01-22 10:25 PhoenixTree(梧桐树) 阅读(2) 评论(0) 推荐(0)
摘要: 1 linux的poll操作 linux文件的poll操作有两个主要目的:第一,主动查看该文件上是否有读写事件;第二,提供操作waitqueue的接口给epoll等上层接口使用,比如epoll可以通过直接调用其所监视的文件的poll操作来注册自己的回调到该文件的waitqueue中,所谓的回调就是w 阅读全文
posted @ 2018-01-18 14:32 PhoenixTree(梧桐树) 阅读(1330) 评论(0) 推荐(0)
摘要: 1 通用格式 break file:line if condition condition的格式:变量名 条件运算符 常量,比如 if i == 3 2 例 #include <stdio.h> int main(int argc, char* argv[]) { int i = 0; for (i 阅读全文
posted @ 2018-01-15 22:22 PhoenixTree(梧桐树) 阅读(2931) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-01-10 13:55 PhoenixTree(梧桐树) 阅读(12) 评论(0) 推荐(0)
摘要: 1 配置界面的搜索功能 “/”可以进行模块搜索,搜索结果里面还有依赖信息。非常方便。 2 在使用纯内核,不实用module的时候,很多情况下出错是因为相应的特性为编译进内核 案例一: 块设备已经发现了,但是mount的时候出错“no such file or directory”,块设备上的分区的文 阅读全文
posted @ 2018-01-10 13:18 PhoenixTree(梧桐树) 阅读(181) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-01-09 20:13 PhoenixTree(梧桐树) 阅读(14) 评论(0) 推荐(0)
摘要: 1 ifconfig net-tools包 阅读全文
posted @ 2018-01-09 20:07 PhoenixTree(梧桐树) 阅读(276) 评论(0) 推荐(0)
摘要: 1 tun/tap驱动 1.1 网卡驱动 同tcp/ip协议栈打交道,接受和发送数据包 1.2 字符驱动 内核和用户态通过字符设备交换数据包。 2 tun虚拟网卡的创建 tunctl -t tun0 -u chao 为chao用户创建一个名字为tun0的虚拟网卡。 3 配置tun虚拟网卡的ip地址并 阅读全文
posted @ 2018-01-09 10:52 PhoenixTree(梧桐树) 阅读(1206) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 70 下一页