epan/dissectors/pidl/ C99 drsuapi
[wireshark-sm.git] / epan / dissectors / packet-usbip.h
blobb5ed16f91e382e256b576f255ca2146b9c52176d
1 /* packet-usbip.h
2 * Definitions for USBIP dissection
3 * Copyright 2016, Christian Lamparter <chunkeey@googlemail.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_USBIP_H__
13 #define __PACKET_USBIP_H__
15 #define USBIP_HEADER_WITH_SETUP_LEN 0x28
16 #define USBIP_HEADER_LEN 0x30
18 #define USBIP_DIR_OUT 0x00
19 #define USBIP_DIR_IN 0x01
21 struct usbip_header {
22 uint8_t devid;
23 uint8_t busid;
24 uint32_t ep;
25 uint32_t dir;
28 #endif
31 * Editor modelines - https://www.wireshark.org/tools/modelines.html
33 * Local variables:
34 * c-basic-offset: 4
35 * tab-width: 8
36 * indent-tabs-mode: nil
37 * End:
39 * vi: set shiftwidth=4 tabstop=8 expandtab:
40 * :indentSize=4:tabSize=8:noTabs=true: