发布时间:2015-11-04 14:12:20
结构原型:struct ifreq{#define IFHWADDRLEN 6 union { char ifrn_name[IFNAMSIZ]; } ifr_ifrn; union { struct sockaddr ifru_addr; struct sockaddr ifru_dstaddr; struct .........【阅读全文】
发布时间:2015-11-04 14:09:04
PF_PACKET 设备层编程接口定义:Cpp代码#include "/usr/include/sys/socket. h" #include "/usr/includ/sys/if_packet. h" packet_socket = socket(PF_PACKET, socket_type, protocol);&nb.........【阅读全文】
发布时间:2015-10-30 13:51:10
0x00 NULL0x01 FIN0x02 SYN0x03 FIN-SYN0x08 PSH0x09 FIN-PSH0x0A SYN-PSH0x0B FIN-SYN-PSH0x10 ACK0x11 FIN-ACK0x12 SYN-ACK0x13 FIN-SYN-ACK0x18 PSH-ACK0x19 FIN-PSH-ACK0x1A SYN-PSH-ACK0x1B FIN-SYN-PSH-ACK0x40 ECE0x41 FIN-ECE0x42 SYN-ECE0x43 FIN-SYN-ECE0x48 PSH-ECE0x49 FIN-PSH-ECE0x4A .........【阅读全文】
发布时间:2015-10-09 19:28:31
<p style="margin-top:0px;margin-bottom:10px;font-family:'Microsoft YaHei', Verdana, sans-serif, SimSun;font-size:14px;line-height:22px;white-space:normal;background-color:#FFFFFF;">文章来自<strong>http://www.oschina.net/question/54100_8605</strong><br /><br />首先明确本文的阅读对象。显然,你需要.........【阅读全文】