Re: [tcpdump-workers] [PATCH] fix usb off by one

2006-10-15 Thread Guy Harris
Paolo Abeni wrote: the attached patch fix an off by one in current usb sniffing code. It also substitute the kernel-provided timestamp with gettimeofday. The kernel provided timestamp use 32 bits to represent a struct timeval (8 bits for tv_sec and 24 for tv_usec), so it's content is quite misle

[tcpdump-workers] [PATCH] fix usb off by one

2006-10-15 Thread Paolo Abeni
hello, the attached patch fix an off by one in current usb sniffing code. It also substitute the kernel-provided timestamp with gettimeofday. The kernel provided timestamp use 32 bits to represent a struct timeval (8 bits for tv_sec and 24 for tv_usec), so it's content is quite misleading. ciao,