On Wed, 2007-01-10 at 10:56 -0800, Pete Zaitcev wrote:
> > I'm sorry to have came to this a little too late...
> 
> Yeah, that's the main issue. We could have defined the status
> to be structured and have a guaranteed alignment earlier, if anyone
> cared back then.
> 
> How much of a problem is it?

The issue rises because in the pcap code I don't modify the event header
(and I can't, at least when I use memory mapped access to usbmon). So
the event header is written in pcap files in host byte order. 

If a capture is performed on a machine with little endian byte order and
then 'visualized' on an host with big endian byte order (or vice versa)
the header is miss-interpreted. 

I can solve this problem removing memory mapped access and performing
the header byte order conversion, but any other suggestion will be very
appreciated :-)

ciao, 

Paolo

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Ti piace la chitarra? Impara a suonarla senza fatica ed evitando tutti gli 
errori, con l'aiuto di un maestro professionista
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5144&d=11-1

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to