Classes | |
struct | dsi_packet |
packet descriptor More... | |
struct | dsi_sg_elem |
scatter gather element More... | |
struct | dsi_ctrl_header |
control area header More... | |
struct | dsi_socket |
socket descriptor
It is the component-local socket reference. More... | |
Typedefs | |
typedef volatile l4_int8_t | dsi_semaphore_t |
packet semaphore type | |
typedef struct dsi_packet | dsi_packet_t |
packet descriptor | |
typedef struct dsi_sg_elem | dsi_sg_elem_t |
scatter gather element | |
typedef struct dsi_ctrl_header | dsi_ctrl_header_t |
control area header | |
typedef struct dsi_socket | dsi_socket_t |
socket type | |
typedef void(* | dsi_sync_callback_fn_t )(dsi_socket_t *socket, l4_uint32_t packet_no, l4_uint32_t flags) |
prototype for synchronization callback function | |
typedef void(* | dsi_release_callback_fn_t )(dsi_socket_t *socket, dsi_packet_t *packet) |
prototype for release packet callback function | |
Functions | |
l4_threadid_t | dsi_get_event_thread_id (void) |
Return id of event signalling thread. | |
int | dsi_is_valid_socket (dsi_socket_t *socket) |
Check if socket is valid socket descriptor. |
l4_threadid_t dsi_get_event_thread_id | ( | void | ) |
Return id of event signalling thread.
Definition at line 468 of file event.c.
References dsi_component_event_id.
Referenced by dsi_socket_get_ref().
int dsi_is_valid_socket | ( | dsi_socket_t * | socket | ) |
Check if socket is valid socket descriptor.
socket | socket descriptor |
!= | 0 if socket points to valid socket descriptor | |
0 | otherwise |
Definition at line 112 of file socket.c.
Referenced by dsi_packet_add_data(), dsi_packet_commit(), dsi_packet_get(), dsi_packet_get_abort(), dsi_packet_get_data(), dsi_packet_get_no(), dsi_packet_set_no(), dsi_socket_clear_flags(), dsi_socket_close(), dsi_socket_connect(), dsi_socket_get_data_area(), dsi_socket_get_num_committed_packets(), dsi_socket_get_packet_num(), dsi_socket_get_ref(), dsi_socket_set_event(), dsi_socket_set_flags(), dsi_socket_set_release_callback(), dsi_socket_set_sync_callback(), dsi_socket_share_ds(), dsi_socket_stop(), and dsi_socket_test_flag().