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
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __PACKET_SOMEIP_H__
14 #define __PACKET_SOMEIP_H__
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
);
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
);
24 typedef struct _someip_info
{
30 uint8_t major_version
;
32 #define SOMEIP_INFO_T_INIT { 0, 0, 0, 0, 0, 0 }
34 typedef struct _someip_messages_tap
{
37 uint8_t interface_version
;
39 } someip_messages_tap_t
;
41 #endif /* __PACKET_SOMEIP_H__ */
49 * indent-tabs-mode: nil
52 * ex: set shiftwidth=4 tabstop=8 expandtab:
53 * :indentSize=4:tabSize=8:noTabs=true: