01 2012 档案

摘要:in_cksum(addr, len)u_short *addr;int len;{ register int nleft = len; register u_short *w = addr; register u_short answer; register int sum = 0; /* * Our algorithm is simple, using a 32 bit accumulator (sum), * we add sequential 16 bit words to it,... 阅读全文
posted @ 2012-01-05 15:23 lxgeek 阅读(635) 评论(0) 推荐(0) 编辑