Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1875528
  • 博文数量: 376
  • 博客积分: 2147
  • 博客等级: 大尉
  • 技术积分: 3642
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-06 10:47
文章分类

全部博文(376)

文章存档

2019年(3)

2017年(28)

2016年(15)

2015年(17)

2014年(182)

2013年(16)

2012年(115)

我的朋友

发布时间:2014-01-06 16:15:38

内核版本:2.6.34报文的IP校验和、ICMP校验和、TCP/UDP校验和使用相同的算法,在RFC1071中定义,网上这方面的资料和例子很多,就不解释算法流程了,而是侧重于在实现的变化和技巧。The checksum algorithm is simply to add up all the 16-bit words in one's complement and then to take the one's complem.........【阅读全文】

阅读(2479) | 评论(0) | 转发(0)

发布时间:2013-11-18 17:10:19

第三部分: ioctl管理网桥3.1 通过ioctl系统调用创建网桥    仍然以前的配置作为例,我们分用户空间程序brctl是如何通过ioctl系统调用在kernel空间内创建上述的数据结构。创建网桥,我们不需要预知任何网络设备信息,因此我们通过ioctl来创建网桥时不应该与任何网络设备绑定到一起。网桥模块.........【阅读全文】

阅读(2407) | 评论(0) | 转发(2)

发布时间:2013-08-05 10:51:17

void br_multicast_init(struct net_bridge *br){    br->hash_elasticity = 4;    br->hash_max = 512;    br->multicast_router = 1;    br->multicast_last_member_count = 2;    br->multicast_startup_query_count = 2; &n.........【阅读全文】

阅读(3228) | 评论(0) | 转发(1)

发布时间:2013-04-03 16:53:00

//以/soc@ffe00000/ethernet@b0000/queue-group@0为例子,此时np为该节点static int gfar_parse_group(struct device_node *np,        struct gfar_private *priv, const char *model){    u32 *queue_mask;#ifdef CONFIG_GFAR_SW_PKT_STEERING    int.........【阅读全文】

阅读(8594) | 评论(0) | 转发(2)

发布时间:2013-03-22 15:05:31

//arch/powerpc/kernel/irq.cvoid do_IRQ(struct pt_regs *regs){    struct pt_regs *old_regs = set_irq_regs(regs);    unsigned int irq;    trace_irq_entry(regs);    irq_enter();    check_stack_overflow();  .........【阅读全文】

阅读(3120) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册