Update of /cvsroot/javanetsim/IceScan/icesockets
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv30073/icesockets
Modified Files:
sock_time.h
Added Files:
sock_pcap.h
Log Message:
no message
--- NEW FILE: sock_pcap.h ---
(This appears to be a binary file; contents omitted.)
Index: sock_time.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/icesockets/sock_time.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** sock_time.h 16 Dec 2006 10:02:50 -0000 1.7
--- sock_time.h 16 Dec 2006 17:18:28 -0000 1.8
***************
*** 4,7 ****
--- 4,9 ----
#include "sock_types.h"
+ #define SUB_TIMEVALS(a,b) (((a).tv_sec - (b).tv_sec) * 1000000 + (a).tv_usec - (b).tv_usec)
+
void iceusleep(unsigned long usec){
usleep(usec);
|