ACU6 Device API
ipc_ethernet_export_generated.h
Go to the documentation of this file.
1 /* IPC code generated by ipc_generator.py version v10.4.0-dirty 2024-08-22 09:58:36.371612 */
2 /* Input files: ipc_core_msgs_spec.c ipc_accelerometer_export_spec.c ipc_analog_inputs_export_spec.c ipc_bt_export_spec.c ipc_bub_export_spec.c ipc_can_export_spec.c ipc_cellular_export_spec.c ipc_connectivity_export_spec.c ipc_diagnostics_export_spec.c ipc_digital_inputs_export_spec.c ipc_digital_outputs_export_spec.c ipc_ethernet_export_spec.c ipc_gyroscope_export_spec.c ipc_hwinfo_export_spec.c ipc_led_export_spec.c ipc_location_export_spec.c ipc_modem_export_spec.c ipc_power_export_spec.c ipc_rtc_export_spec.c ipc_softwareupdate_export_spec.c ipc_wifi_export_spec.c ipc_mqtt_export_spec.c */
3 /* Copyright Actia Nordic AB 2019 */
4 
6 #ifndef A_IPC_IPC_ETHERNET_EXPORT_GENERATED_H
8 #define A_IPC_IPC_ETHERNET_EXPORT_GENERATED_H
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
26 typedef enum {
31  A_IPC_ENUM_ETHERNET_INTERFACE_NUMBER_OF_INTERFACES = 2,
37 typedef struct {
39  uint32_t length;
43 
48 typedef enum {
64 typedef struct {
66  uint32_t length;
70 
84 typedef struct {
105 typedef struct {
126 typedef struct {
147 typedef struct {
168 typedef struct {
176  bool enable;
189 typedef struct {
206 typedef struct {
223 typedef struct {
231  bool enabled;
244 typedef struct {
263 typedef struct {
271  uint64_t rx_packets;
275  uint64_t rx_errors;
279  uint64_t rx_dropped;
283  uint64_t rx_over_errors;
287  uint64_t rx_frame_errors;
291  uint64_t tx_packets;
295  uint64_t tx_errors;
299  uint64_t tx_dropped;
303  uint64_t tx_over_errors;
311  uint64_t tx_collisions;
315  bool state;
439 
440 #ifdef __cplusplus
441 }
442 #endif
443 
444 #endif
445 
uint32_t length
Length of the array (number of elements)
Definition: ipc_ethernet_export_generated.h:39
uint32_t length
Length of the array (number of elements)
Definition: ipc_ethernet_export_generated.h:66
a_ipc_enum_ethernet_result * value
The contents of the array.
Definition: ipc_ethernet_export_generated.h:68
a_ipc_enum_ethernet_interface * value
The contents of the array.
Definition: ipc_ethernet_export_generated.h:41
a_ipc_enum_ethernet_interface interface
The released interface.
Definition: ipc_ethernet_export_generated.h:134
uint64_t tx_dropped
TX dropped *.
Definition: ipc_ethernet_export_generated.h:299
A_IPC_RESULT a_ipc_init_ethernet_request_req(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_ethernet_request_req.
a_ipc_enum_ethernet_interface interface
The requested interface.
Definition: ipc_ethernet_export_generated.h:92
bool enable
Default state.
Definition: ipc_ethernet_export_generated.h:176
uint64_t rx_frame_errors
RX frame errors *.
Definition: ipc_ethernet_export_generated.h:287
bool state
link status, true=up, false=down
Definition: ipc_ethernet_export_generated.h:315
a_ipc_enum_ethernet_result result
Result of the operation.
Definition: ipc_ethernet_export_generated.h:227
A_IPC_RESULT a_ipc_init_ethernet_set_boot_state_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_set_boot_state_rsp.
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_ethernet_export_generated.h:130
a_ipc_enum_ethernet_result result
Result of the operation.
Definition: ipc_ethernet_export_generated.h:267
a_ipc_enum_ethernet_result result
Result of the operation.
Definition: ipc_ethernet_export_generated.h:151
a_ipc_enum_ethernet_interface interface
The ethernet interface.
Definition: ipc_ethernet_export_generated.h:172
A_IPC_RESULT a_ipc_init_ethernet_release_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_release_rsp.
A_IPC_RESULT a_ipc_init_ethernet_request_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_request_rsp.
uint64_t tx_carrier_errors
TX carrier errors *.
Definition: ipc_ethernet_export_generated.h:307
A_IPC_RESULT a_ipc_init_ethernet_get_boot_state_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_get_boot_state_rsp.
a_ipc_enum_ethernet_interface interface
The released interface.
Definition: ipc_ethernet_export_generated.h:155
a_ipc_enum_ethernet_result result
Result of the operation.
Definition: ipc_ethernet_export_generated.h:109
uint64_t rx_packets
RX packets *.
Definition: ipc_ethernet_export_generated.h:271
A_IPC_RESULT a_ipc_init_ethernet_status_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_status_req.
a_ipc_enum_ethernet_interface interface
The ethernet interface.
Definition: ipc_ethernet_export_generated.h:248
A_IPC_RESULT a_ipc_init_ethernet_release_req(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_ethernet_release_req.
a_ipc_enum_ethernet_interface
Ethernet interface.
Definition: ipc_ethernet_export_generated.h:26
uint64_t tx_over_errors
TX over errors *.
Definition: ipc_ethernet_export_generated.h:303
A_IPC_RESULT a_ipc_init_ethernet_status_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_status_rsp.
bool enabled
Default state.
Definition: ipc_ethernet_export_generated.h:231
a_ipc_enum_ethernet_result
Result codes.
Definition: ipc_ethernet_export_generated.h:48
uint64_t rx_over_errors
RX ober errors *.
Definition: ipc_ethernet_export_generated.h:283
uint64_t rx_dropped
RX dropped *.
Definition: ipc_ethernet_export_generated.h:279
uint64_t tx_packets
TX packets *.
Definition: ipc_ethernet_export_generated.h:291
A_IPC_RESULT a_ipc_init_ethernet_get_boot_state_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_get_boot_state_req.
a_ipc_enum_ethernet_interface interface
The requested interface.
Definition: ipc_ethernet_export_generated.h:113
a_ipc_enum_ethernet_interface interface
The ethernet interface.
Definition: ipc_ethernet_export_generated.h:210
uint64_t tx_errors
TX errors *.
Definition: ipc_ethernet_export_generated.h:295
uint64_t rx_errors
RX errors *.
Definition: ipc_ethernet_export_generated.h:275
a_ipc_enum_ethernet_result result
Result of the operation.
Definition: ipc_ethernet_export_generated.h:193
A_IPC_RESULT a_ipc_init_ethernet_set_boot_state_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ethernet_set_boot_state_req.
uint64_t tx_collisions
TX collisions *.
Definition: ipc_ethernet_export_generated.h:311
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_ethernet_export_generated.h:88
@ A_IPC_ENUM_ETHERNET_INTERFACE_TX
TX.
Definition: ipc_ethernet_export_generated.h:30
@ A_IPC_ENUM_ETHERNET_INTERFACE_T1
T1.
Definition: ipc_ethernet_export_generated.h:28
@ A_IPC_ENUM_ETHERNET_RESULT_INTERFACE_NOT_PROCURED
The interface was not connected with the supplied user.
Definition: ipc_ethernet_export_generated.h:56
@ A_IPC_ENUM_ETHERNET_RESULT_OK
No error.
Definition: ipc_ethernet_export_generated.h:50
@ A_IPC_ENUM_ETHERNET_RESULT_ERROR_UNKNOWN
Unknown error.
Definition: ipc_ethernet_export_generated.h:58
@ A_IPC_ENUM_ETHERNET_RESULT_UNSUPPORTED_TYPE
The specified type is not supported.
Definition: ipc_ethernet_export_generated.h:54
@ A_IPC_ENUM_ETHERNET_RESULT_INVALID_INTERFACE
The specified interface does not exist.
Definition: ipc_ethernet_export_generated.h:52
Dynamic-length array of a_ipc_enum_ethernet_interface.
Definition: ipc_ethernet_export_generated.h:37
Dynamic-length array of a_ipc_enum_ethernet_result.
Definition: ipc_ethernet_export_generated.h:64
Get ethernet boot state.
Definition: ipc_ethernet_export_generated.h:206
Get ethernet boot state result.
Definition: ipc_ethernet_export_generated.h:223
Release a ethernet interface.
Definition: ipc_ethernet_export_generated.h:126
Ethernet interface release result.
Definition: ipc_ethernet_export_generated.h:147
Request a ethernet interface.
Definition: ipc_ethernet_export_generated.h:84
Ethernet interface request result.
Definition: ipc_ethernet_export_generated.h:105
Set ethernet boot state.
Definition: ipc_ethernet_export_generated.h:168
Set ethernet boot state result.
Definition: ipc_ethernet_export_generated.h:189
Get ethernet status.
Definition: ipc_ethernet_export_generated.h:244
Get ethernet status response.
Definition: ipc_ethernet_export_generated.h:263
A_IPC_RESULT
IPC function result codes.
Definition: ipc.h:211
Dynamic-length string.
Definition: ipc_generated.h:1064
AIPC Message.
Definition: ipc_generated.h:1204