TCP/IP researching之ARP协议浅析[48]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 liuxk99 的 blog

       for (i = 0; i < 6; i++)

       {

              eth.eh_dst[i] = 0xff;

              arp.arp_tha[i] = 0x00;

       }

 

       // {填充dlc头和arp

       eth.eh_type     = htons(eth_arp);

       memcpy(eth.eh_src, mac, 6);

本文关键:TCP/IP researching之ARP协议浅析
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top