Helium
|
Functions for the flow of packets through Helium. More...
#include <he.h>
Go to the source code of this file.
Functions | |
he_return_code_t | he_conn_inside_packet_received (he_conn_t *conn, uint8_t *packet, size_t length) |
Called when the host application needs to deliver an inside packet to Helium. More... | |
he_return_code_t | he_conn_outside_data_received (he_conn_t *conn, uint8_t *buffer, size_t length) |
Called when the host application needs to deliver outside data to be processed by Helium. More... | |
he_return_code_t | he_internal_flow_process_message (he_conn_t *conn) |
he_return_code_t | he_internal_flow_fetch_message (he_conn_t *conn) |
he_return_code_t | he_internal_update_session_incoming (he_conn_t *conn, he_wire_hdr_t *hdr) |
he_return_code_t | he_internal_flow_outside_packet_received (he_conn_t *conn, uint8_t *packet, size_t length) |
he_return_code_t | he_internal_flow_outside_stream_received (he_conn_t *conn, uint8_t *buffer, size_t length) |
he_return_code_t | he_internal_flow_outside_data_verify_connection (he_conn_t *conn) |
he_return_code_t | he_internal_flow_outside_data_handle_messages (he_conn_t *conn) |
Functions for the flow of packets through Helium.
he_return_code_t he_conn_inside_packet_received | ( | he_conn_t * | conn, |
uint8_t * | packet, | ||
size_t | length | ||
) |
Called when the host application needs to deliver an inside packet to Helium.
conn | A valid connection |
packet | A pointer to the packet data |
length | The length of the packet |
he_return_code_t he_conn_outside_data_received | ( | he_conn_t * | conn, |
uint8_t * | buffer, | ||
size_t | length | ||
) |
Called when the host application needs to deliver outside data to be processed by Helium.
conn | A valid Helium connection |
buffer | A pointer to the packet data |
length | The length of the packet |
Streaming Stuff
he_return_code_t he_internal_update_session_incoming | ( | he_conn_t * | conn, |
he_wire_hdr_t * | hdr | ||
) |
Exit early if the session ID is not set