lkml.org 
[lkml]   [2010]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectusbmon: size of different fields?
    Hi,

    I'm looking at the struct mon_bin_hdr and struct mon_bin_isodesc in file
    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/usb/mon/mon_bin.c;h=44cb37b5a4dc1f9b27075e3db5346b9ebe307b22;hb=HEAD

    As far as I understand u64, s64, u32 and s32 have always fixed bit lengths.

    What about "unsigned char", "char", "unsigned int" and "int"? May their size in bits
    differ in different architecture?

    I'm asking this because I was dealing with the USB packet dissectors for Wireshark
    and it is possible to capture the USB traffic on one computer and then transfer
    the file to another computer.

    Márton Németh

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-11-09 07:43    [W:2.491 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site