摘要: #include #include #include #include #include #include MODULE_LICENSE("GPL");void analyzeIPHeader(struct iphdr* ip_hdr){ printk("***********IP Header***********\n"); printk("%30s:\t0x%02x\n", "Ve... 阅读全文
posted @ 2014-01-21 17:34 Daniel King 阅读(1276) 评论(0) 推荐(0) 编辑
摘要: http://www.ibm.com/developerworks/cn/java/j-cb07186.html 1. 构造符号 :比如:1:2:3:[]而常用的[1,2,3]是一种语法糖(http://en.wikipedia.org/wiki/Syntactic_sugar)2. 一切都是函数函数定义语法:函数名 :: 参数类型中可能用到的基本类型 基本类型名 => 参数1 -> 参数2 ->... 阅读全文
posted @ 2014-01-21 14:41 Daniel King 阅读(1014) 评论(0) 推荐(0) 编辑