[Winpcap-users] About struct timeval and header->ts.tv_usec

He Zhiyu zhiyu_he at hotmail.com
Mon May 23 11:46:40 GMT 2005


Hi,
struct pcap_pkthdr {
	struct timeval ts;  
	bpf_u_int32 caplen; 
	bpf_u_int32 len;    
};

1.What's the definition of "struct timeval"? I searched WinPcap's source 
file,but I didn't find.

2.How can I convert header->ts.tv_usec to readable format?

Thanks

Zhiyu He

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn 




More information about the Winpcap-users mailing list