Skip to content
Snippets Groups Projects
Commit 0d88b204 authored by Ruben Otto's avatar Ruben Otto :crab:
Browse files

docs: update invalid userspace communication struct types

parent ce4a5990
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ The client programs that aggregate the desired system data may send them to the ...@@ -29,7 +29,7 @@ The client programs that aggregate the desired system data may send them to the
This is done via a simple packet, `daemon_measurement_t` which is defined in [`common/include/protocol.h`](common/include/protocol.h): This is done via a simple packet, `daemon_measurement_t` which is defined in [`common/include/protocol.h`](common/include/protocol.h):
```c ```c
#define MAX_DAEMON_PACKET_SIZE PIPE_BUF #define MAX_DAEMON_PACKET_SIZE PIPE_BUF
#define DAEMON_PACKET_HEADER_SIZE sizeof(u_int8_t) + sizeof(u_int16_t) #define DAEMON_PACKET_HEADER_SIZE sizeof(uint8_t) + sizeof(uint16_t)
#define MAX_DAEMON_PACKET_DATA_SIZE MAX_DAEMON_PACKET_SIZE - DAEMON_PACKET_HEADER_SIZE #define MAX_DAEMON_PACKET_DATA_SIZE MAX_DAEMON_PACKET_SIZE - DAEMON_PACKET_HEADER_SIZE
typedef struct { typedef struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment