Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-usbip.h
1
/* packet-usbip.h
2
* Definitions for USBIP dissection
3
* Copyright 2016, Christian Lamparter <
[email protected]
>
4
*
5
* Wireshark - Network traffic analyzer
6
* By Gerald Combs <
[email protected]
>
7
* Copyright 1998 Gerald Combs
8
*
9
* SPDX-License-Identifier: GPL-2.0-or-later
10
*/
11
12
#ifndef __PACKET_USBIP_H__
13
#define __PACKET_USBIP_H__
14
15
#define USBIP_HEADER_WITH_SETUP_LEN 0x28
16
#define USBIP_HEADER_LEN 0x30
17
18
#define USBIP_DIR_OUT 0x00
19
#define USBIP_DIR_IN 0x01
20
21
struct
usbip_header
{
22
uint8_t devid;
23
uint8_t busid;
24
uint32_t ep;
25
uint32_t dir;
26
};
27
28
#endif
29
30
/*
31
* Editor modelines - https://www.wireshark.org/tools/modelines.html
32
*
33
* Local variables:
34
* c-basic-offset: 4
35
* tab-width: 8
36
* indent-tabs-mode: nil
37
* End:
38
*
39
* vi: set shiftwidth=4 tabstop=8 expandtab:
40
* :indentSize=4:tabSize=8:noTabs=true:
41
*/
usbip_header
Definition
packet-usbip.h:21
Generated by
1.9.8