freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

信息對抗技術(shù)ppt課件(參考版)

2025-05-09 02:32本頁面
  

【正文】 。 return 0。 return 1。 default: ifdef DEBUG printf(%s\n,do not resolve the ip packet)。 ifdef DEBUG printf(%s\n,igmp packet)。 endif break。 case IPPROTO_ICMP : //icmp protocal packetpicmpheader=(icmp_header *) (packetpipheader+ip_len)。 ifdef DEBUG printf(%s\n,udp packet)。 case IPPROTO_UDP : //udp protocal packetpudpheader=(udp_header *) (packetpipheader+ip_len)。 ifdef DEBUG printf(%s\n,tcp packet)。 switch(tempipproto) { case IPPROTO_TCP : //tcp protocal //printf(tcp Sport : %d \tDport : %d\n,packetptcpheader sport,packetptcpheaderdport)。 0xf) * 4。 tempip=packetpipheader。 } return 1。 tefl_type==0x35) { ifdef DEBUG printf(%s\n,this is a rarp packet)。 } if (tefh_type==0x80 amp。 //printf(Target Hardaddress %X =%d\t Source address =%X\n,(ether_frame*)packetbuf h_dest,(ether_frame*)packetbufh_source)。amp。 endif decode_iph(temp)。 endif temppipheader=(ip_header *)(tempbuffer+14)。amp。 ether_frame * tef=(ether_frame *)packetbuf。 temptotallen=len+36。 temp = (export_packet *)buff。 } int decode_eth(char *buff,const unsigned char *packetbuf,int len) { export_packet * temp。 endif return 1。 endif return count。 endif return count。 endif return count。 endif return count。 retainlen=(sizeof(export_packet)+ headerlen)。 count++。 //36 reference to the size of the ether_frame if (retainlen=(headerlen+36)) { //resolve the packet decode_eth(pbuf,pkt_data,headerlen)。header, amp。 ZeroMemory((void *)pbuf,len)。 RealLen=0。 } int CCapture::GetPackets(pcap_t *adhandle,char * pbuf, int len,int packetcount,int amp。 ifdef DEBUG printf(%s\n,open succeed)。t need any more the device list. Free it */ pcap_freealldevs(alldevs)。 return NULL。 /* Open the device */ if ( (adhandle= pcap_open_live(dname, // name of //the device 8000, // portion of the packet to capture // 65536 guarantees that the whole packet will be //captured on all the link layers 1, // promiscuous mode 1000, // read timeout errbuf // error buffer ) ) == NULL) { fprintf(stderr,\nUnable to open the adapter. %s is not supported by WinPcap\n, dname)。 i= nic 。 } // check the paramer if ((nic0) || (nicNicTotal1) || (NicTotal==0) ) return NULL。 d != NULL。 return NULL。 /* Retrieve the device list from the local machine */ if (pcap_findalldevs( amp。 int NicTotal=0。 pcap_if_t *d。 } pcap_t * CCapture:: Open(int nic) { //static pcap_t * adhandle。 res=Close(adhandle)。 } } return 1。 PCallbackObjectHandlePacket(buff,RealBytes)。 if (adhandle==NULL){ return 1。 int RealBytes。 } else return 1。 //////////////////////////////////////
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1