Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-lin.h
1
/* packet-lin.h
2
*
3
* Definitions for LIN
4
* By Dr. Lars Voelker <
[email protected]
> / <
[email protected]
>
5
* Copyright 2021-2023 Dr. Lars Voelker
6
*
7
* Wireshark - Network traffic analyzer
8
* By Gerald Combs <
[email protected]
>
9
* Copyright 1998 Gerald Combs
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*/
13
14
#ifndef __PACKET_LIN_H__
15
#define __PACKET_LIN_H__
16
17
#define LIN_DIAG_MASTER_REQUEST_FRAME 0x3c
18
#define LIN_DIAG_SLAVE_RESPONSE_FRAME 0x3d
19
#define LIN_ID_MASK 0x3f
20
21
/* bus_id 0 means ANY Bus */
22
struct
lin_info
{
23
uint32_t id;
24
uint16_t bus_id;
25
uint16_t len;
26
};
27
28
typedef
struct
lin_info
lin_info_t
;
29
30
bool
lin_set_source_and_destination_columns(
packet_info
* pinfo,
lin_info_t
*lininfo);
31
32
#endif
/* __PACKET_LIN_H__ */
33
34
/*
35
* Editor modelines - https://www.wireshark.org/tools/modelines.html
36
*
37
* Local variables:
38
* c-basic-offset: 4
39
* tab-width: 8
40
* indent-tabs-mode: nil
41
* End:
42
*
43
* vi: set shiftwidth=4 tabstop=8 expandtab:
44
* :indentSize=4:tabSize=8:noTabs=true:
45
*/
_packet_info
Definition
packet_info.h:43
lin_info
Definition
packet-lin.h:22
Generated by
1.9.8