libubox
C utility functions for OpenWrt.
|
#include "udebug.h"
Go to the source code of this file.
Data Structures | |
struct | udebug_hdr |
struct | udebug_client_msg |
Enumerations | |
enum | udebug_client_msg_type { CL_MSG_RING_ADD , CL_MSG_RING_REMOVE , CL_MSG_RING_NOTIFY , CL_MSG_GET_HANDLE , CL_MSG_RING_GET , CL_MSG_ERROR } |
Functions | |
struct udebug_client_msg | __attribute__ ((packed, aligned(4))) |
static struct udebug_ptr * | udebug_ring_ptr (struct udebug_hdr *hdr, uint32_t idx) |
static void * | udebug_buf_ptr (struct udebug_buf *buf, uint32_t ofs) |
Variables | |
uint8_t | type |
uint8_t | _pad [3] |
uint32_t | id |
union { | |
struct { | |
uint32_t ring_size | |
uint32_t data_size | |
} | |
uint32_t notify_mask | |
}; | |
Enumerator | |
---|---|
CL_MSG_RING_ADD | |
CL_MSG_RING_REMOVE | |
CL_MSG_RING_NOTIFY | |
CL_MSG_GET_HANDLE | |
CL_MSG_RING_GET | |
CL_MSG_ERROR |
Definition at line 39 of file udebug-proto.h.
struct udebug_client_msg __attribute__ | ( | (packed, aligned(4)) | ) |
|
inlinestatic |
|
inlinestatic |
Definition at line 61 of file udebug-proto.h.
union { ... } |
uint8_t _pad[3] |
Definition at line 1 of file udebug-proto.h.
uint32_t data_size |
Definition at line 5 of file udebug-proto.h.
uint32_t id |
Definition at line 2 of file udebug-proto.h.
uint32_t notify_mask |
Definition at line 7 of file udebug-proto.h.
uint32_t ring_size |
Definition at line 5 of file udebug-proto.h.
uint8_t type |
Definition at line 0 of file udebug-proto.h.