- 博客(8)
- 资源 (6)
- 收藏
- 关注
原创 Get ip address from an interface name
#include #include #include #include #include #include #include #include #include #include #define inaddrr(x) (*(struct in_addr *) &ifr->x[sizeof sa.sin_port])#define I
2009-04-30 16:48:00 944
原创 Where to download old version linux
http://ftp.ntu.edu.tw/linux/kernel/Historic/old-versions/ http://www.oldlinux.org/Linux.old/
2009-04-23 10:10:00 882
原创 Example of the SO_REUSEADDR Option
quoted from http://www.docs.hp.com/en/B2355-90136/ch03s01.html This option is AF_INET socket-specific. SO_REUSEADDR enables you to restart a daemon which was killed or terminated.This op
2009-04-21 13:29:00 830
原创 这样使用堆栈 bootblock.s
在bootblock.s中有这样使用堆栈,或者应该说使用内存的方法。 ! Variables addressed using bp register device = 0 ! The boot device lowsec = 2 ! Offset of boot partition within drive secpcyl = 6 ! Se
2009-04-19 11:47:00 1090
转载 SNMP PDU 格式
http://www.h3c.com/portal/Products___Solutions/Technology/System_Management/Technology_White_Paper/200805/606347_57_0.htm
2009-04-16 14:56:00 1456
原创 使用net-snmp做自己的agent
参见http://net-snmp.sourceforge.net/tutorial/tutorial-4/agent/04-basic-code.html 1. 注册mib REGISTER_MIB( "example", example_variables, variable2,example_variables_oid );参数分别为:"example" : 注册的mi
2009-04-15 10:28:00 1633
原创 NET-SNMP 中snmp做agent的一些笔记
最近做snmp,用的就是net-snmp。 做个记录以备后用。当然记录的有点乱。 1. snmp_agent.c snmpd收到包后,会调用handle_snmp_packet() | |netsnmp_handle_request() 2. snmpd.c * Infinite while-loo
2009-04-15 09:31:00 1021
转载 Install MINIX
http://www.minix3.org/doc/A-312.html Installing MINIX 3 HOMEDOWNLOADSOFTWAREDOCUMENTATIONNEWSThis document
2009-04-06 22:19:00 1856
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人