Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-someip.h
blob9edac6f891333df59ca6d2f9a2f6c41c1523ce43
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
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 {
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 }
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;
41 #endif /* __PACKET_SOMEIP_H__ */
44 * Editor modelines
46 * Local Variables:
47 * c-basic-offset: 4
48 * tab-width: 8
49 * indent-tabs-mode: nil
50 * End:
52 * ex: set shiftwidth=4 tabstop=8 expandtab:
53 * :indentSize=4:tabSize=8:noTabs=true: