Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
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
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
►
RIOT OS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
someip.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 HAW Hamburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
21
#ifndef NET_SOMEIP_H
22
#define NET_SOMEIP_H
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#include <stdint.h>
29
33
#define SOMEIP_HDR_LENGTH (8U)
37
#define SOMEIP_FULL_HDR_SIZE (16U)
38
42
typedef
struct
{
43
uint16_t
service_id
;
44
uint16_t
method_id
;
45
}
someip_message_id_t
;
42
typedef
struct
{
…
};
46
50
typedef
struct
{
51
uint16_t
client_id
;
52
uint16_t
session_id
;
53
}
someip_request_id_t
;
50
typedef
struct
{
…
};
54
58
typedef
struct
__attribute__((packed)) {
59
someip_message_id_t
message_id
;
60
uint32_t
length
;
61
someip_request_id_t
request_id
;
62
uint8_t
protocol_version
;
63
uint8_t
interface_version
;
64
uint8_t
msg_type
;
65
uint8_t
return_code
;
66
}
someip_hdr_t
;
58
typedef
struct
__attribute__((packed)) {
…
};
67
68
#ifdef __cplusplus
69
}
70
#endif
71
72
#endif
/* NET_SOMEIP_H */
someip_hdr_t
SOME/IP header.
Definition
someip.h:58
someip_hdr_t::length
uint32_t length
Length.
Definition
someip.h:60
someip_hdr_t::protocol_version
uint8_t protocol_version
Protocol Version.
Definition
someip.h:62
someip_hdr_t::request_id
someip_request_id_t request_id
Request ID.
Definition
someip.h:61
someip_hdr_t::interface_version
uint8_t interface_version
Interface Version.
Definition
someip.h:63
someip_hdr_t::return_code
uint8_t return_code
Return Code.
Definition
someip.h:65
someip_hdr_t::message_id
someip_message_id_t message_id
Message ID.
Definition
someip.h:59
someip_hdr_t::msg_type
uint8_t msg_type
Message Type.
Definition
someip.h:64
someip_message_id_t
Structure of the Message ID.
Definition
someip.h:42
someip_message_id_t::service_id
uint16_t service_id
Service ID.
Definition
someip.h:43
someip_message_id_t::method_id
uint16_t method_id
Method ID.
Definition
someip.h:44
someip_request_id_t
Structure of the Request ID.
Definition
someip.h:50
someip_request_id_t::client_id
uint16_t client_id
Client ID.
Definition
someip.h:51
someip_request_id_t::session_id
uint16_t session_id
Session ID.
Definition
someip.h:52
Generated on Sat Apr 5 2025 21:49:43 by
1.12.0