以太网ethernet代码/* This is an Ethernet frame header. */struct ethhdr { unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ unsigned char h_source[ETH_ALEN]; /* source ether addr */ unsigned short h_proto; /* packet type ID field */};ARP头部/* ARP protocol opcodes. */#define ARPOP_REQUEST 1 /* ... Read More
posted @ 2012-12-29 23:41 godjob Views(559) Comments(0) Diggs(0) Edit