path: root/manuf
diff options
authorGuy Harris <guy@alum.mit.edu>2016-12-10 20:18:26 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-11 04:19:10 +0000
commitf27f048ee12b140b010f431dcfb9e588e130fcc8 (patch)
treea00b44819deb74540dc13d78b7c34409426c49ac /manuf
parent54abb36a340af211970fe1ad6dab16af4e8fe83b (diff)
Cleanup dissection of endpoint addresses.
All the pseudo-headers encode the endpoint as per a bEndpointAddress in sections 9.6.6 "Endpoint" of the USB 2.0 spec and the USB 3.1 spec, with a 4-bit endpoint number at the bottom and a 1-bit direction at the top with 0 = OUT and 1 = IN. Show the FreeBSD endpoint address the same way the other endpoint addresses are shown; the FreeBSD one is shown as a 4-byte little-endian value, but only the low-order (first) byte is used, so just show that byte. Call that field the "endpoint address", with the lower 4 bits being the "endpoint number" and the uppermost bit the "endpoint direction". Change-Id: Ic7358c7fb6b6df2502315b590eb5178cecb321d9 Reviewed-on: https://code.wireshark.org/review/19200 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'manuf')
0 files changed, 0 insertions, 0 deletions