02 2013 档案

摘要:1. Download Libnlhttp://www.infradead.org/~tgr/libnl/libnl DOC: http://www.infradead.org/~tgr/libnl/doc/core.htmlSome userful doc :http://www.gridmpi.org/pspacer-2.1/libnl-1.0-pre6/group__link.htmlhttps://blogs.oracle.com/linuxnstuff/entry/adventures_in_netlink2. Run "Linux_network.c"gcc L 阅读全文
posted @ 2013-02-27 11:29 功夫 熊猫 阅读(2447) 评论(0) 推荐(0) 编辑
摘要:Git是一个开源的分布式版本控制系统,用以有效、高速的处理从很小到非常大的项目版本管理。Windows下的Git请看这里:http://www.oschina.net/p/msysgitGit 是 Linux Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。Torvalds 开始着手开发 Git 是为了作为一种过渡方案来替代 BitKeeper,后者之前一直是 Linux 内核开发人员在全球使用的主要源代码工具。开放源码社区中的有些人觉得 BitKeeper 的许可证并不适合开放源码社区的工作,因此 Torvalds 决定着手研究许可证更为灵活的版本控制 阅读全文
posted @ 2013-02-26 10:17 功夫 熊猫 阅读(321) 评论(0) 推荐(0) 编辑
摘要:DOD INTERNET HOST TABLE SPECIFICATIONSTATUS OF THIS MEMO This RFC is the official specification of the format of the Internet Host Table. This edition of the specification includes minor revisions to RFC-810 which brings it up to date. Distribution of this memo is unlimited.INTRODUCTION The DoD Hos. 阅读全文
posted @ 2013-02-25 18:56 功夫 熊猫 阅读(413) 评论(0) 推荐(0) 编辑
摘要:Linux / Unix Command: scp Command Library NAMEscp - secure copy (remote file copy program) SYNOPSISscp [-pqrvBC46 ] [-F ssh_config ] [-S program ] [-P port ] [-c cipher ] [-i identity_file ] [-o ssh_option ] [[user@ ] host1 : file1 ] [... ] [[user@ ] host2 : file2 ]EXAMPLESDESCRIPTIONscp copies fil. 阅读全文
posted @ 2013-02-20 15:20 功夫 熊猫 阅读(653) 评论(0) 推荐(0) 编辑
摘要:Normally if you have a cable modem or DSL, you get your home PC's IP address dynamically assigned from your service provider. If you install a home cable/DSL router between your modem and home network, your PC will most likely get its IP address at boot time from the home router instead. You can 阅读全文
posted @ 2013-02-18 14:19 功夫 熊猫 阅读(9662) 评论(0) 推荐(0) 编辑
摘要:NAME rsyslog.conf - rsyslogd(8) configuration fileDESCRIPTION The rsyslog.conf file is the main configuration file for the rsyslogd(8) which logs system messages on *nix systems. This file specifies rules for logging. For special features see the rsyslogd(8... 阅读全文
posted @ 2013-02-18 13:50 功夫 熊猫 阅读(781) 评论(0) 推荐(0) 编辑
摘要:If you want to link .h files in different projects in Eclipse IDE for C/C++ Developers, just right-click the project and choose References-> Active like the capture below. 阅读全文
posted @ 2013-02-18 13:14 功夫 熊猫 阅读(429) 评论(0) 推荐(0) 编辑
摘要:Wireshark, formerly known as Ethereal, is an amazing Network Monitoring tool. It helps you to capture the data packets being sent/received by your network interface and analyze it.Warning: Before using Wireshark inpromiscuous mode make sure that you have the required permissions to do so. Promiscuou 阅读全文
posted @ 2013-02-16 18:45 功夫 熊猫 阅读(434) 评论(0) 推荐(0) 编辑
摘要:常用端口对照端口:0服务:Reserved说明:通常用于分析操作系统。这一方法能够工作是因为在一些系统中“0”是无效端口,当你试图使用通常的闭合端口连接它时将产生不同的结果。一种典型的扫描,使用IP地址为0.0.0.0,设置ACK位并在以太网层广播。端口:1服务:tcpmux说明:这显示有人在寻找SGI Irix机器。Irix是实现tcpmux的主要提供者,默认情况下tcpmux在这种系统中被打开。Irix机器在发布是含有几个默认的无密码的帐户,如:IP、GUEST UUCP、NUUCP、DEMOS 、TUTOR、DIAG、OUTOFBOX等。许多管理员在安装后忘记删除这些帐户。因此HACKE 阅读全文
posted @ 2013-02-16 13:13 功夫 熊猫 阅读(3436) 评论(0) 推荐(1) 编辑
摘要:size_t(2012-10-10 19:12:39)转载▼标签:杂谈 今天我来讲讲size_t,借此来说明我的一些代码风格。 我们都知道size_t这个是为移植性服务的,32位系统是32位无符号整形,64位系统是64位无符号整形。比如我举个例子 A: size_t add_32_t(unsigned int op1, unsigned int op2) { return op1 + op2; } B: uint64_t add_32_t(uint32_t op1, uint32_t op2) { return op1 + op2; } 再比如一个数据结构 A: struct XXX //这. 阅读全文
posted @ 2013-02-06 17:19 功夫 熊猫 阅读(515) 评论(0) 推荐(0) 编辑
摘要:在nesc的代码中,你会看到很多你不认识的数据类型,比如uint8_t等。咋一看,好像是个新的数据类型,不过C语言(nesc是C的扩展)里面好像没有这种数据类型啊!怎么又是u又是_t的?很多人有这样的疑问。论坛上就有人问:以*_t结尾的类型是不是都是long型的?在baidu上查一下,才找到答案,这时才发觉原来自己对C掌握的太少。那么_t的意思到底表示什么?具体的官方答案没有找到,不过我觉得有个答案比较接近。它就是一个结构的标注,可以理解为type/typedef的缩写,表示它是通过typedef定义的,而不是其它数据类型。uint8_t,uint16_t,uint32_t等都不是什么新的数据 阅读全文
posted @ 2013-02-06 16:30 功夫 熊猫 阅读(36399) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示