Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
wiretap
socketcan.h
Go to the documentation of this file.
1
12
#ifndef SOCKETCAN_H__
13
#define SOCKETCAN_H__
14
15
#include <gmodule.h>
16
17
#define CAN_MAX_DLEN 8
18
#define CANFD_MAX_DLEN 64
19
20
typedef
struct
can_frame
{
21
uint32_t can_id;
/* 32 bit CAN_ID + EFF/RTR/ERR flags */
22
uint8_t can_dlc;
/* frame payload length in byte (0 .. CAN_MAX_DLEN) */
23
uint8_t __pad;
/* padding */
24
uint8_t __res0;
/* reserved / padding */
25
uint8_t __res1;
/* reserved / padding */
26
uint8_t data[CAN_MAX_DLEN];
27
}
can_frame_t
;
20
typedef
struct
can_frame
{
…
};
28
29
typedef
struct
canfd_frame
{
30
uint32_t can_id;
/* 32 bit CAN_ID + EFF flag */
31
uint8_t len;
/* frame payload length in byte */
32
uint8_t flags;
/* additional flags for CAN FD */
33
uint8_t __res0;
/* reserved / padding */
34
uint8_t __res1;
/* reserved / padding */
35
uint8_t data[CANFD_MAX_DLEN];
36
}
canfd_frame_t
;
29
typedef
struct
canfd_frame
{
…
};
37
38
#endif
/* SOCKETCAN_H__ */
can_frame
Definition
socketcan.h:20
canfd_frame
Definition
socketcan.h:29
Generated by
1.9.8