Wireshark
5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
packet-i2c.h
1
/* packet-i2c.h
2
* Shared types for I2C dissectors
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef __PACKET_I2C_H__
12
#define __PACKET_I2C_H__
13
14
#include <
epan/packet.h
>
15
16
/*
17
* Packet-scoped metadata for one I2C message.
18
*
19
* The source container owns the capture-specific details. The returned
20
* metadata is packet-scoped and must not be retained after the current
21
* packet's dissection.
22
*/
23
typedef
struct
{
24
uint8_t bus;
25
}
i2c_message_data
;
26
27
const
i2c_message_data
*i2c_message_data_get(
packet_info
*pinfo);
28
29
#endif
/* __PACKET_I2C_H__ */
packet_info
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
packet.h
i2c_message_data
Definition
packet-i2c.h:23
Generated by
1.15.0