| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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(uint32_t portnumber);
18 void register_someip_port_tcp(uint32_t portnumber);
19
20/* look up names for SD */
21 char *someip_lookup_service_name(uint16_t serviceid);
22 char *someip_lookup_eventgroup_name(uint16_t serviceid, uint16_t eventgroupid);
23
24 typedef struct _someip_info {
25 uint16_t service_id;
26 uint16_t method_id;
27 uint16_t client_id;
28 uint16_t session_id;
29 uint8_t message_type;
30 uint8_t major_version;
31} someip_info_t;
32#define SOMEIP_INFO_T_INIT { 0, 0, 0, 0, 0, 0 }
33
34 typedef struct _someip_messages_tap {
35 uint16_t service_id;
36 uint16_t method_id;
37 uint8_t interface_version;
38 uint8_t message_type;
39} someip_messages_tap_t;
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 */
_someip_info
Definition packet-someip.h:24
_someip_messages_tap
Definition packet-someip.h:34