Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-someip.h
1 /* packet-someip.h
2  * Definitions for SOME/IP packet disassembly structures and routines
3  * By Dr. Lars Voelker <lars.voelker@technica-engineering.de> / <lars.voelker@bmw.de>
4  * Copyright 2012-2023 Dr. Lars Voelker
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12 
13 #ifndef __PACKET_SOMEIP_H__
14 #define __PACKET_SOMEIP_H__
15 
16 /* used for SD to add ports dynamically */
17 void register_someip_port_udp(guint32 portnumber);
18 void register_someip_port_tcp(guint32 portnumber);
19 
20 /* look up names for SD */
21 char *someip_lookup_service_name(guint16 serviceid);
22 char *someip_lookup_eventgroup_name(guint16 serviceid, guint16 eventgroupid);
23 
24 typedef struct _someip_info {
25  guint16 service_id;
26  guint16 method_id;
27  guint16 client_id;
28  guint16 session_id;
29  guint8 message_type;
30  guint8 major_version;
32 #define SOMEIP_INFO_T_INIT { 0, 0, 0, 0, 0, 0 }
33 
34 typedef struct _someip_messages_tap {
35  guint16 service_id;
36  guint16 method_id;
37  guint8 interface_version;
38  guint8 message_type;
40 
41 #endif /* __PACKET_SOMEIP_H__ */
42 
43 /*
44  * Editor modelines
45  *
46  * Local Variables:
47  * c-basic-offset: 4
48  * tab-width: 8
49  * indent-tabs-mode: nil
50  * End:
51  *
52  * ex: set shiftwidth=4 tabstop=8 expandtab:
53  * :indentSize=4:tabSize=8:noTabs=true:
54  */
Definition: packet-someip.h:24
Definition: packet-someip.h:34