Tcp Checksum in Send Direction 0.1. summary When nic supports hardware checksum, tcp only partially calculate the sum and fill the related info into skb three item: ip_summed csum_start csum_offset when nic driver sends the pack 2012-07-13 TCP #checksum
LFS中Binutils,GCC,Glibc三者之间的关系 原文地址:LFS中Binutils,GCC,Glibc三者之间的关系[http://blog.chinaunix.net/uid-20431728-id-2752867.html] 2012-06-01 Tools #gcc
Get netdevice stat 0.1. call tracethe ‘.show’ method in device_attribute will call the netstat_show,some of the driver read the part of stat from NIC register,but most count the stat by software in dev->stat 12345> 2012-05-18 Netdev #netdev
git study summary 0.1. create repo123456789101112131087 git init —bare study.git <=== crate study.git 1088 ls study.git/ 1089 cat study.git/config 1090 ls 1091 git clone study.git/ 1092 ls 1093 cd study 1094 ls 109 2012-05-12 Tools #git
xfrm dump sa 0.1. 应用层通过pfkey,dump sa的步骤: 创建pfkeyl类型的一个socket, 通过sendmsg发送一个dump sa 的请求 然后通过while循环调用recvmsg 2012-02-10 XFRM #XFRM
softirq 0.1. 为什么需要软中断 引入软中断的目的是为了中断要尽快返回。 把一些不紧急的工作放到下半部里执行。 软中断是下半部的一种实现方式。其他的还有tasklet和workqueue。 0.2. 软中断特点 软中断特点是可以同时运行在CPU上,而tasklet则是整个系统中只有一个。 软中断和tasklet都不允许睡眠,因此必须避免执行引发睡眠的操作。 workqueue则允许睡眠。 2012-02-10 IRQ #IRQ
Autotools 0.1. 步骤简要表述: 创建 configure.ac 文件 在根目录及各个子目录下依次创建Makefile.am文件。 使用命令“autoreconf –install” 命令自动生成confiugre文件 执行新生成的脚本 configure 执行make文件。 2012-02-10 Tools #gcc
the mem_init on mips(octean) 1. arch/mips/kernel/setup.c123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828 2011-10-07 Memory #memory
neighbour 学习笔记(kernel 3.0) For ethernet, dev->header_ops is eth_header_ops 12345 936 static int __devinit e1000_probe(struct pci_dev *pdev, 937 const struct pci_device_id *ent) 2011-09-28 Netlink #neighbour
linux kernel IPv6 route IPv6 route tree 原理.IPv6路由采用二叉树的形式进行存储, 查找任意路由最多需要128次比较(128次,说法不太严格)。因此其算法复杂度为常数,因此IPv6里没有像IPv4那样的cache。 2011-04-17 Route #IPv6