Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2186778
  • 博文数量: 230
  • 博客积分: 9346
  • 博客等级: 中将
  • 技术积分: 3418
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-26 01:58
文章分类

全部博文(230)

文章存档

2015年(30)

2014年(7)

2013年(12)

2012年(2)

2011年(3)

2010年(42)

2009年(9)

2008年(15)

2007年(74)

2006年(36)

发布时间:2014-04-15 19:14:54

1. 在远端 Linux 上安装 xdm、字体、wireshark(用于测试)platinum#  yum install xorg-x11-xdmplatinum#  yum groupinstall Fontplatinum#  yum grouplistplatinum#  yum install wireshark-gnome2. 在本地 Windows 上安装 XShell3. 用 XShell 登录远端,执行 Wireshark,可以在 Windows 上.........【阅读全文】

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

发布时间:2014-03-13 23:37:37

Windows Performance Monitor: "Unable to add these counters"Today I have a discussion in This thread about how to fix the following error:"Unable to add these counters:\Memory\Available MBytes\Memory\% Committed Bytes In Use\Memory\Cache Faults/sec\Memory\Cache Faults/sec\Physi.........【阅读全文】

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

发布时间:2013-08-08 12:53:14

alias ctags='ctags --c++-kinds=+p --fields=+iaS --extra=+q --language-force=c++'......【阅读全文】

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

发布时间:2013-07-30 22:13:20

Git......【阅读全文】

阅读(4058) | 评论(0) | 转发(4)

发布时间:2013-01-01 13:42:30

按如下步骤操作就可以将SVN仓库完整的转换为Git仓库:1) 将远程SVN仓库搬到本地(这一步主要是为了提高转换的速度,也可以忽略)    参考这篇文章:http://rongjih.blog.163.com/blog/static/335744612010620105546475/    这里假设最终要转换的SVN仓库为file:///tmp/test-svn2) 使用git svn clone命令开始转换    $ git svn clone file:///tmp/test-svn -T trunk -b branches -t......【阅读全文】

阅读(2806) | 评论(0) | 转发(1)
给主人留下些什么吧!~~

phoenixcsl2015-05-26 09:57

hi,platinum,请问netfilter能够过滤arp的东西吗?我写了一些代码,在NF_ARP_IN和OUT捕获一些信息,但是为什么什么都抓不到?
代码:
static unsigned int hook_func_in(unsigned int hooknum,
             struct sk_buff *skb,
             const struct net_device *in,
             const struct net_device *out,
             int (*okfn)(struct sk_buff*))
 {
     sb = skb;
 
     ethh = eth_hdr(skb);
     printk(" in skb ethh dest %s\n",ethh->h_dest);
     printk("in skb ethh source %s\n",ethh->h_source);

     return NF_ACCEPT;
}

static struct nf_hook_ops nfho_ops[]=
 {
      .hook = hook_func_in,
      .owner = THIS_MODULE,
      .pf =NF_ARP,
      .hooknum = NF_ARP_IN,
      .priority = NF_IP_PRI_FIRST,
  }

static struct nf_hook_ops nfho_ops[]=
 {
      .hook = hook_func_in,
      .owner = THIS_MODULE,
      .pf =NF_ARP,
      .hooknum = NF_ARP_IN,
      .priority = NF_IP_PRI_FIRST,
  }

回复  |  举报

aidisheng192014-01-21 13:44

LZ你好,请问一下LINUX下有什么好的DLNA推送视频图片的软件(DMC),想开发一个但是无从下手

回复  |  举报

电影vs程序员2013-08-22 18:13

学习了,留个脚印

回复  |  举报

platinum2013-05-24 10:01

luodeke:博主你好,我有个问题想请教你,看你的博文里面你好像有看过内核代码,内核代码你是从哪里得到的呢?直接在kernel.org里面的源码包得到的吗?多谢

两种方法
1、去 kernel.org 下载
2、用 git 直接托追最新版:git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

回复  |  举报

luodeke2013-05-13 15:08

博主你好,我有个问题想请教你,看你的博文里面你好像有看过内核代码,内核代码你是从哪里得到的呢?直接在kernel.org里面的源码包得到的吗?多谢

回复  |  举报
留言热议
请登录后留言。

登录 注册