[Icescan-cvs] IceScan/icesockets packet_tracer.h,1.8,1.9
Status: Alpha
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2007-01-25 13:08:34
|
Update of /cvsroot/icescan/IceScan/icesockets In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv3876/icesockets Modified Files: packet_tracer.h Log Message: Redesigned Ugly structure ofmultiple scan that was implemented by ruttino as temporary; fixed some minor bugs. Index: packet_tracer.h =================================================================== RCS file: /cvsroot/icescan/IceScan/icesockets/packet_tracer.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** packet_tracer.h 23 Jan 2007 21:14:23 -0000 1.8 --- packet_tracer.h 25 Jan 2007 13:08:31 -0000 1.9 *************** *** 429,432 **** --- 429,442 ---- break; + + default: + os << " IP " << src_ip << " > " << dst_ip << " "; + + os << " prot=" << (int)ip->protocol; + + os << " ttl=" << (unsigned short)ip->ttl << " id=" << ntohs(ip->id) << " iplen=" << ntohs(ip->tot_len); + + if(ipopts.size()) + os << " ipopts={" << ipopts << "} "; } |