MIDAS
|
#include "mongoose614.h"
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <limits.h>
#include <stddef.h>
#include <sys/time.h>
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <signal.h>
#include <reent.h>
#include <sys/stat.h>
#include <unistd.h>
#include <inc/hw_types.h>
#include <inc/hw_memmap.h>
#include <driverlib/prcm.h>
#include <driverlib/rom.h>
#include <driverlib/rom_map.h>
#include <driverlib/uart.h>
#include <driverlib/utils.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Clock.h>
#include <errno.h>
#include <oslib/osi.h>
#include <stdint.h>
#include <lwip/init.h>
#include <lwip/pbuf.h>
#include <lwip/tcp.h>
#include <lwip/tcpip.h>
#include <lwip/tcp_impl.h>
#include <lwip/udp.h>
Go to the source code of this file.
Classes | |
struct | ctl_msg |
union | char64long16 |
struct | mg_q_msg |
struct | mg_lwip_conn_state |
struct | mg_lwip_if_connect_tcp_ctx |
struct | mg_lwip_if_listen_ctx |
struct | mg_lwip_tcp_write_ctx |
struct | udp_sendto_ctx |
struct | tcp_recved_ctx |
struct | mg_ev_mgr_lwip_signal |
struct | mg_ev_mgr_lwip_data |
Typedefs | |
typedef int | cs_dirent_dummy |
Enumerations | |
enum | cs_log_level { LL_NONE = -1 , LL_ERROR = 0 , LL_WARN = 1 , LL_INFO = 2 , LL_DEBUG = 3 , LL_VERBOSE_DEBUG = 4 , _LL_MIN = -2 , _LL_MAX = 5 } |
enum | mg_q_msg_type { MG_Q_MSG_CB } |
enum | mg_sig_type { MG_SIG_CONNECT_RESULT = 1 , MG_SIG_RECV = 2 , MG_SIG_CLOSE_CONN = 3 , MG_SIG_TOMBSTONE = 4 , MG_SIG_ACCEPT = 5 } |
#define _MG_ALLOWED_CONNECT_FLAGS_MASK |
Definition at line 2402 of file mongoose614.cxx.
#define _MG_CALLBACK_MODIFIABLE_FLAGS_MASK |
Definition at line 2406 of file mongoose614.cxx.
#define _MG_F_FD_CAN_READ 1 |
Definition at line 4034 of file mongoose614.cxx.
#define _MG_F_FD_CAN_READ 1 |
Definition at line 4034 of file mongoose614.cxx.
#define _MG_F_FD_CAN_WRITE 1 << 1 |
Definition at line 4035 of file mongoose614.cxx.
#define _MG_F_FD_CAN_WRITE 1 << 1 |
Definition at line 4035 of file mongoose614.cxx.
#define _MG_F_FD_ERROR 1 << 2 |
Definition at line 4036 of file mongoose614.cxx.
#define _MG_F_FD_ERROR 1 << 2 |
Definition at line 4036 of file mongoose614.cxx.
#define BASE64_ENCODE_BODY |
Definition at line 311 of file mongoose614.cxx.
#define BASE64_FLUSH | ( | ) |
Definition at line 341 of file mongoose614.cxx.
#define C_DISABLE_BUILTIN_SNPRINTF 0 |
Definition at line 1854 of file mongoose614.cxx.
#define C_SNPRINTF_FLAG_ZERO 1 |
Definition at line 1873 of file mongoose614.cxx.
#define CONSOLE_UART UARTA0_BASE |
Definition at line 13352 of file mongoose614.cxx.
#define CS_COMMON_CS_DBG_H_ |
Definition at line 453 of file mongoose614.cxx.
#define CS_COMMON_CS_DIRENT_H_ |
Definition at line 750 of file mongoose614.cxx.
#define CS_COMMON_CS_ENDIAN_H_ |
Definition at line 1013 of file mongoose614.cxx.
#define CS_COMMON_MG_MEM_H_ |
Definition at line 185 of file mongoose614.cxx.
#define CS_COMMON_PLATFORMS_LWIP_MG_NET_IF_LWIP_H_ |
Definition at line 15141 of file mongoose614.cxx.
#define CS_COMMON_PLATFORMS_PIC32_NET_IF_H_ |
Definition at line 16191 of file mongoose614.cxx.
#define CS_COMMON_PLATFORMS_SIMPLELINK_SL_FS_SLFS_H_ |
Definition at line 13512 of file mongoose614.cxx.
#define CS_COMMON_PLATFORMS_SIMPLELINK_SL_NET_IF_H_ |
Definition at line 14412 of file mongoose614.cxx.
#define CS_ENABLE_DEBUG 0 |
Definition at line 462 of file mongoose614.cxx.
#define CS_LOG_ENABLE_TS_DIFF 0 |
Definition at line 470 of file mongoose614.cxx.
#define CS_LOG_PREFIX_LEN 24 |
Definition at line 466 of file mongoose614.cxx.
#define CS_MONGOOSE_SRC_INTERNAL_H_ |
Definition at line 11 of file mongoose614.cxx.
#define CS_MONGOOSE_SRC_NET_IF_SOCKET_H_ |
Definition at line 3575 of file mongoose614.cxx.
#define CS_MONGOOSE_SRC_NET_IF_SOCKS_H_ |
Definition at line 3603 of file mongoose614.cxx.
#define DBG | ( | x | ) |
Definition at line 574 of file mongoose614.cxx.
Definition at line 1084 of file mongoose614.cxx.
Definition at line 1085 of file mongoose614.cxx.
Definition at line 2412 of file mongoose614.cxx.
Definition at line 15233 of file mongoose614.cxx.
#define IPADDR_NTOA ipaddr_ntoa |
Definition at line 15253 of file mongoose614.cxx.
#define LOG | ( | l, | |
x | |||
) |
Definition at line 573 of file mongoose614.cxx.
#define MAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Definition at line 10465 of file mongoose614.cxx.
Definition at line 20 of file mongoose614.cxx.
#define MBUF_REALLOC MG_REALLOC |
Definition at line 16 of file mongoose614.cxx.
#define MD5STEP | ( | f, | |
w, | |||
x, | |||
y, | |||
z, | |||
data, | |||
s | |||
) | (w += f(x, y, z) + data, w = w << s | w >> (32 - s), w += x) |
Definition at line 1087 of file mongoose614.cxx.
Definition at line 196 of file mongoose614.cxx.
Definition at line 2398 of file mongoose614.cxx.
#define MG_CTL_MSG_MESSAGE_SIZE 8192 |
Definition at line 42 of file mongoose614.cxx.
#define MG_ENABLE_NET_IF_LWIP_LOW_LEVEL MG_NET_IF == MG_NET_IF_LWIP_LOW_LEVEL |
Definition at line 15144 of file mongoose614.cxx.
#define MG_ENABLE_NET_IF_PIC32 MG_NET_IF == MG_NET_IF_PIC32 |
Definition at line 16200 of file mongoose614.cxx.
#define MG_ENABLE_NET_IF_SIMPLELINK MG_NET_IF == MG_NET_IF_SIMPLELINK |
Definition at line 14421 of file mongoose614.cxx.
#define MG_ENABLE_NET_IF_SOCKET MG_NET_IF == MG_NET_IF_SOCKET |
Definition at line 3584 of file mongoose614.cxx.
#define MG_FREE free |
Definition at line 204 of file mongoose614.cxx.
Definition at line 29 of file mongoose614.cxx.
#define MG_LWIP_IFACE_VTABLE |
Definition at line 15881 of file mongoose614.cxx.
Definition at line 192 of file mongoose614.cxx.
#define MG_MAX_HOST_LEN 200 |
Definition at line 2389 of file mongoose614.cxx.
#define MG_NULL_IFACE_VTABLE |
Definition at line 3804 of file mongoose614.cxx.
#define MG_PIC32_IFACE_VTABLE |
Definition at line 16490 of file mongoose614.cxx.
Definition at line 200 of file mongoose614.cxx.
#define MG_SIG_QUEUE_LEN 32 |
Definition at line 15932 of file mongoose614.cxx.
#define MG_SL_IFACE_VTABLE |
Definition at line 14838 of file mongoose614.cxx.
#define MG_SOCKET_IFACE_VTABLE |
Definition at line 4376 of file mongoose614.cxx.
#define MG_TCP_IO_SIZE 1460 |
Definition at line 2392 of file mongoose614.cxx.
#define MG_TCP_RECV_BUFFER_SIZE 1024 |
Definition at line 14458 of file mongoose614.cxx.
#define MG_UDP_IO_SIZE 1460 |
Definition at line 2395 of file mongoose614.cxx.
#define MG_UDP_RECV_BUFFER_SIZE 1500 |
Definition at line 14459 of file mongoose614.cxx.
#define mgos_lock | ( | ) |
Definition at line 15272 of file mongoose614.cxx.
#define mgos_unlock | ( | ) |
Definition at line 15273 of file mongoose614.cxx.
#define MIN | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
Definition at line 85 of file mongoose614.cxx.
#define NUM_DIGITS ('9' - '0' + 1) |
Definition at line 244 of file mongoose614.cxx.
#define NUM_LETTERS (NUM_UPPERCASES * 2) |
Definition at line 243 of file mongoose614.cxx.
Definition at line 242 of file mongoose614.cxx.
Definition at line 1298 of file mongoose614.cxx.
Definition at line 1301 of file mongoose614.cxx.
Definition at line 1275 of file mongoose614.cxx.
#define SET_ADDR | ( | dst, | |
src | |||
) | (dst)->sin.sin_addr.s_addr = ip_2_ip4(src)->addr |
Definition at line 15254 of file mongoose614.cxx.
#define SHA1HANDSOFF |
Definition at line 1265 of file mongoose614.cxx.
Definition at line 15251 of file mongoose614.cxx.
Definition at line 15250 of file mongoose614.cxx.
Definition at line 15252 of file mongoose614.cxx.
Definition at line 893 of file mongoose614.cxx.
Enumerator | |
---|---|
LL_NONE | |
LL_ERROR | |
LL_WARN | |
LL_INFO | |
LL_DEBUG | |
LL_VERBOSE_DEBUG | |
_LL_MIN | |
_LL_MAX |
Definition at line 480 of file mongoose614.cxx.
Enumerator | |
---|---|
MG_Q_MSG_CB |
Definition at line 14345 of file mongoose614.cxx.
Enumerator | |
---|---|
MG_SIG_CONNECT_RESULT | |
MG_SIG_RECV | |
MG_SIG_CLOSE_CONN | |
MG_SIG_TOMBSTONE | |
MG_SIG_ACCEPT |
Definition at line 15172 of file mongoose614.cxx.
Definition at line 13397 of file mongoose614.cxx.
int _getpid | ( | ) |
Definition at line 13423 of file mongoose614.cxx.
Definition at line 13411 of file mongoose614.cxx.
Definition at line 13405 of file mongoose614.cxx.
|
static |
Definition at line 1277 of file mongoose614.cxx.
Definition at line 1067 of file mongoose614.cxx.
|
static |
Definition at line 1881 of file mongoose614.cxx.
Definition at line 410 of file mongoose614.cxx.
|
static |
Definition at line 264 of file mongoose614.cxx.
|
static |
Definition at line 251 of file mongoose614.cxx.
void cs_md5_final | ( | unsigned char | digest[16], |
cs_md5_ctx * | ctx | ||
) |
Definition at line 1221 of file mongoose614.cxx.
void cs_md5_init | ( | cs_md5_ctx * | ctx | ) |
Definition at line 1104 of file mongoose614.cxx.
Definition at line 1186 of file mongoose614.cxx.
Definition at line 1314 of file mongoose614.cxx.
Definition at line 958 of file mongoose614.cxx.
Definition at line 2142 of file mongoose614.cxx.
Definition at line 13390 of file mongoose614.cxx.
Definition at line 371 of file mongoose614.cxx.
Definition at line 13454 of file mongoose614.cxx.
Definition at line 14313 of file mongoose614.cxx.
Definition at line 14300 of file mongoose614.cxx.
Definition at line 14318 of file mongoose614.cxx.
Definition at line 1628 of file mongoose614.cxx.
Definition at line 1652 of file mongoose614.cxx.
|
static |
Definition at line 3963 of file mongoose614.cxx.
MG_INTERNAL void mg_add_conn | ( | struct mg_mgr * | mgr, |
struct mg_connection * | c | ||
) |
Definition at line 2415 of file mongoose614.cxx.
struct mg_connection * mg_add_sock | ( | struct mg_mgr * | s, |
sock_t | sock, | ||
MG_CB(mg_event_handler_t callback, void *user_data) | |||
) |
Definition at line 3555 of file mongoose614.cxx.
struct mg_connection * mg_add_sock_opt | ( | struct mg_mgr * | s, |
sock_t | sock, | ||
MG_CB(mg_event_handler_t callback, void *user_data) | , | ||
struct mg_add_sock_opts | opts | ||
) |
Definition at line 3539 of file mongoose614.cxx.
Definition at line 4146 of file mongoose614.cxx.
Definition at line 2203 of file mongoose614.cxx.
int mg_assemble_uri | ( | const struct mg_str * | scheme, |
const struct mg_str * | user_info, | ||
const struct mg_str * | host, | ||
unsigned int | port, | ||
const struct mg_str * | path, | ||
const struct mg_str * | query, | ||
const struct mg_str * | fragment, | ||
int | normalize_path, | ||
struct mg_str * | uri | ||
) |
Definition at line 5751 of file mongoose614.cxx.
Definition at line 10750 of file mongoose614.cxx.
struct mg_connection * mg_bind | ( | struct mg_mgr * | srv, |
const char * | address, | ||
MG_CB(mg_event_handler_t event_handler, void *user_data) | |||
) |
Definition at line 3346 of file mongoose614.cxx.
struct mg_connection * mg_bind_opt | ( | struct mg_mgr * | mgr, |
const char * | address, | ||
MG_CB(mg_event_handler_t callback, void *user_data) | , | ||
struct mg_bind_opts | opts | ||
) |
Definition at line 3354 of file mongoose614.cxx.
MG_INTERNAL void mg_call | ( | struct mg_connection * | nc, |
mg_event_handler_t | ev_handler, | ||
void * | user_data, | ||
int | ev, | ||
void * | ev_data | ||
) |
Definition at line 2435 of file mongoose614.cxx.
struct mg_connection * mg_connect | ( | struct mg_mgr * | mgr, |
const char * | address, | ||
MG_CB(mg_event_handler_t callback, void *user_data) | |||
) |
Definition at line 3236 of file mongoose614.cxx.
struct mg_connection * mg_connect_opt | ( | struct mg_mgr * | mgr, |
const char * | address, | ||
MG_CB(mg_event_handler_t callback, void *user_data) | , | ||
struct mg_connect_opts | opts | ||
) |
Definition at line 3244 of file mongoose614.cxx.
MG_INTERNAL struct mg_connection * mg_create_connection | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | callback, | ||
struct mg_add_sock_opts | opts | ||
) |
Definition at line 2758 of file mongoose614.cxx.
MG_INTERNAL struct mg_connection * mg_create_connection_base | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | callback, | ||
struct mg_add_sock_opts | opts | ||
) |
Definition at line 2731 of file mongoose614.cxx.
void mg_destroy_conn | ( | struct mg_connection * | conn, |
int | destroy_if | ||
) |
Definition at line 2528 of file mongoose614.cxx.
MG_INTERNAL struct mg_connection * mg_do_connect | ( | struct mg_connection * | nc, |
int | proto, | ||
union socket_address * | sa | ||
) |
Definition at line 3155 of file mongoose614.cxx.
|
static |
Definition at line 2940 of file mongoose614.cxx.
Definition at line 15962 of file mongoose614.cxx.
struct mg_iface * mg_find_iface | ( | struct mg_mgr * | mgr, |
const struct mg_iface_vtable * | vtable, | ||
struct mg_iface * | from | ||
) |
Definition at line 3643 of file mongoose614.cxx.
void mg_forward | ( | struct mg_connection * | from, |
struct mg_connection * | to | ||
) |
Definition at line 3507 of file mongoose614.cxx.
DO_NOT_WARN_UNUSED MG_INTERNAL int mg_get_errno | ( | void | ) |
Definition at line 10729 of file mongoose614.cxx.
|
static |
Definition at line 16386 of file mongoose614.cxx.
|
static |
Definition at line 16348 of file mongoose614.cxx.
void mg_if_can_recv_cb | ( | struct mg_connection * | nc | ) |
Definition at line 2968 of file mongoose614.cxx.
void mg_if_can_send_cb | ( | struct mg_connection * | nc | ) |
Definition at line 3091 of file mongoose614.cxx.
Definition at line 3634 of file mongoose614.cxx.
int mg_if_poll | ( | struct mg_connection * | nc, |
double | now | ||
) |
Definition at line 2494 of file mongoose614.cxx.
Definition at line 3846 of file mongoose614.cxx.
Definition at line 15547 of file mongoose614.cxx.
void mg_lwip_handle_accept | ( | struct mg_connection * | nc | ) |
Definition at line 15537 of file mongoose614.cxx.
void mg_lwip_if_add_conn | ( | struct mg_connection * | nc | ) |
|
static |
Definition at line 15748 of file mongoose614.cxx.
void mg_lwip_if_connect_tcp | ( | struct mg_connection * | nc, |
const union socket_address * | sa | ||
) |
Definition at line 15434 of file mongoose614.cxx.
Definition at line 15405 of file mongoose614.cxx.
void mg_lwip_if_connect_udp | ( | struct mg_connection * | nc | ) |
Definition at line 15529 of file mongoose614.cxx.
Definition at line 15514 of file mongoose614.cxx.
int mg_lwip_if_create_conn | ( | struct mg_connection * | nc | ) |
Definition at line 15808 of file mongoose614.cxx.
void mg_lwip_if_destroy_conn | ( | struct mg_connection * | nc | ) |
Definition at line 15821 of file mongoose614.cxx.
void mg_lwip_if_get_conn_addr | ( | struct mg_connection * | nc, |
int | remote, | ||
union socket_address * | sa | ||
) |
Definition at line 15852 of file mongoose614.cxx.
Definition at line 16001 of file mongoose614.cxx.
int mg_lwip_if_listen_tcp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 15614 of file mongoose614.cxx.
Definition at line 15592 of file mongoose614.cxx.
int mg_lwip_if_listen_udp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 15640 of file mongoose614.cxx.
Definition at line 15620 of file mongoose614.cxx.
Definition at line 16027 of file mongoose614.cxx.
void mg_lwip_if_remove_conn | ( | struct mg_connection * | nc | ) |
Definition at line 16016 of file mongoose614.cxx.
void mg_lwip_if_sock_set | ( | struct mg_connection * | nc, |
sock_t | sock | ||
) |
Definition at line 15876 of file mongoose614.cxx.
Definition at line 15777 of file mongoose614.cxx.
Definition at line 15703 of file mongoose614.cxx.
|
static |
Definition at line 15490 of file mongoose614.cxx.
Definition at line 15727 of file mongoose614.cxx.
void mg_lwip_post_signal | ( | enum mg_sig_type | sig, |
struct mg_connection * | nc | ||
) |
Definition at line 15946 of file mongoose614.cxx.
Definition at line 15477 of file mongoose614.cxx.
Definition at line 15299 of file mongoose614.cxx.
Definition at line 15316 of file mongoose614.cxx.
|
static |
Definition at line 15330 of file mongoose614.cxx.
Definition at line 15384 of file mongoose614.cxx.
Definition at line 15657 of file mongoose614.cxx.
|
static |
Definition at line 15448 of file mongoose614.cxx.
Definition at line 10743 of file mongoose614.cxx.
Definition at line 10738 of file mongoose614.cxx.
void mg_mgr_handle_conn | ( | struct mg_connection * | nc, |
int | fd_flags, | ||
double | now | ||
) |
Definition at line 4038 of file mongoose614.cxx.
Definition at line 2576 of file mongoose614.cxx.
Definition at line 3664 of file mongoose614.cxx.
struct mg_str mg_next_comma_list_entry_n | ( | struct mg_str | list, |
struct mg_str * | val, | ||
struct mg_str * | eq_val | ||
) |
Definition at line 2271 of file mongoose614.cxx.
|
static |
Definition at line 3775 of file mongoose614.cxx.
|
static |
|
static |
Definition at line 3702 of file mongoose614.cxx.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3784 of file mongoose614.cxx.
|
static |
|
static |
int mg_null_if_tcp_recv | ( | struct mg_connection * | c, |
void * | buf, | ||
size_t | len | ||
) |
int mg_null_if_udp_recv | ( | struct mg_connection * | c, |
void * | buf, | ||
size_t | len, | ||
union socket_address * | sa, | ||
size_t * | sa_len | ||
) |
|
static |
Definition at line 14600 of file mongoose614.cxx.
Definition at line 3988 of file mongoose614.cxx.
MG_INTERNAL int mg_parse_address | ( | const char * | str, |
union socket_address * | sa, | ||
int * | proto, | ||
char * | host, | ||
size_t | host_len | ||
) |
Definition at line 2787 of file mongoose614.cxx.
void mg_pic32_if_add_conn | ( | struct mg_connection * | nc | ) |
void mg_pic32_if_connect_tcp | ( | struct mg_connection * | nc, |
const union socket_address * | sa | ||
) |
Definition at line 16475 of file mongoose614.cxx.
void mg_pic32_if_connect_udp | ( | struct mg_connection * | nc | ) |
Definition at line 16484 of file mongoose614.cxx.
int mg_pic32_if_create_conn | ( | struct mg_connection * | nc | ) |
void mg_pic32_if_destroy_conn | ( | struct mg_connection * | nc | ) |
Definition at line 16259 of file mongoose614.cxx.
void mg_pic32_if_get_conn_addr | ( | struct mg_connection * | nc, |
int | remote, | ||
union socket_address * | sa | ||
) |
Definition at line 16470 of file mongoose614.cxx.
int mg_pic32_if_listen_tcp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 16295 of file mongoose614.cxx.
int mg_pic32_if_listen_udp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 16273 of file mongoose614.cxx.
Definition at line 16424 of file mongoose614.cxx.
void mg_pic32_if_recved | ( | struct mg_connection * | nc, |
size_t | len | ||
) |
void mg_pic32_if_remove_conn | ( | struct mg_connection * | nc | ) |
void mg_pic32_if_sock_set | ( | struct mg_connection * | nc, |
sock_t | sock | ||
) |
Definition at line 16466 of file mongoose614.cxx.
Definition at line 2972 of file mongoose614.cxx.
Definition at line 3015 of file mongoose614.cxx.
MG_INTERNAL void mg_remove_conn | ( | struct mg_connection * | c | ) |
Definition at line 2427 of file mongoose614.cxx.
Definition at line 14384 of file mongoose614.cxx.
Definition at line 3836 of file mongoose614.cxx.
void mg_sl_if_add_conn | ( | struct mg_connection * | nc | ) |
|
static |
Definition at line 14479 of file mongoose614.cxx.
|
static |
Definition at line 14501 of file mongoose614.cxx.
|
static |
void mg_sl_if_destroy_conn | ( | struct mg_connection * | nc | ) |
Definition at line 14569 of file mongoose614.cxx.
void mg_sl_if_get_conn_addr | ( | struct mg_connection * | nc, |
int | remote, | ||
union socket_address * | sa | ||
) |
Definition at line 14804 of file mongoose614.cxx.
|
static |
Definition at line 14511 of file mongoose614.cxx.
|
static |
Definition at line 14521 of file mongoose614.cxx.
Definition at line 14708 of file mongoose614.cxx.
void mg_sl_if_remove_conn | ( | struct mg_connection * | nc | ) |
void mg_sl_if_sock_set | ( | struct mg_connection * | nc, |
sock_t | sock | ||
) |
Definition at line 14685 of file mongoose614.cxx.
Definition at line 14543 of file mongoose614.cxx.
|
static |
Definition at line 14554 of file mongoose614.cxx.
Definition at line 4349 of file mongoose614.cxx.
void mg_socket_if_add_conn | ( | struct mg_connection * | nc | ) |
void mg_socket_if_connect_tcp | ( | struct mg_connection * | nc, |
const union socket_address * | sa | ||
) |
Definition at line 3858 of file mongoose614.cxx.
void mg_socket_if_connect_udp | ( | struct mg_connection * | nc | ) |
Definition at line 3875 of file mongoose614.cxx.
int mg_socket_if_create_conn | ( | struct mg_connection * | nc | ) |
void mg_socket_if_destroy_conn | ( | struct mg_connection * | nc | ) |
Definition at line 3952 of file mongoose614.cxx.
void mg_socket_if_get_conn_addr | ( | struct mg_connection * | nc, |
int | remote, | ||
union socket_address * | sa | ||
) |
Definition at line 4366 of file mongoose614.cxx.
Definition at line 4126 of file mongoose614.cxx.
int mg_socket_if_listen_tcp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 3892 of file mongoose614.cxx.
|
static |
Definition at line 3903 of file mongoose614.cxx.
Definition at line 4159 of file mongoose614.cxx.
void mg_socket_if_remove_conn | ( | struct mg_connection * | nc | ) |
void mg_socket_if_sock_set | ( | struct mg_connection * | nc, |
sock_t | sock | ||
) |
Definition at line 4119 of file mongoose614.cxx.
Definition at line 3925 of file mongoose614.cxx.
Definition at line 3911 of file mongoose614.cxx.
|
static |
bool mg_start_task | ( | int | priority, |
int | stack_size, | ||
mg_init_cb | mg_init | ||
) |
Definition at line 14356 of file mongoose614.cxx.
Definition at line 1822 of file mongoose614.cxx.
Definition at line 1761 of file mongoose614.cxx.
Definition at line 1742 of file mongoose614.cxx.
Definition at line 1726 of file mongoose614.cxx.
Definition at line 1747 of file mongoose614.cxx.
Definition at line 1797 of file mongoose614.cxx.
Definition at line 14367 of file mongoose614.cxx.
MG_INTERNAL void mg_timer | ( | struct mg_connection * | c, |
double | now | ||
) |
Definition at line 2477 of file mongoose614.cxx.
Definition at line 10795 of file mongoose614.cxx.
struct mg_str mg_url_encode_opt | ( | const struct mg_str | src, |
const struct mg_str | safe, | ||
unsigned int | flags | ||
) |
Definition at line 10769 of file mongoose614.cxx.
Definition at line 3466 of file mongoose614.cxx.
|
static |
Definition at line 5573 of file mongoose614.cxx.
MG_INTERNAL size_t recv_avail_size | ( | struct mg_connection * | conn, |
size_t | max | ||
) |
Definition at line 2485 of file mongoose614.cxx.
Definition at line 14812 of file mongoose614.cxx.
Definition at line 2182 of file mongoose614.cxx.
Definition at line 15533 of file mongoose614.cxx.
Definition at line 15653 of file mongoose614.cxx.
Definition at line 15772 of file mongoose614.cxx.
Definition at line 15817 of file mongoose614.cxx.
Definition at line 15722 of file mongoose614.cxx.
const struct mg_iface_vtable mg_default_iface_vtable = MG_NULL_IFACE_VTABLE |
Definition at line 3817 of file mongoose614.cxx.
const struct mg_iface_vtable* mg_ifaces[] |
Definition at line 3628 of file mongoose614.cxx.
const struct mg_iface_vtable mg_lwip_iface_vtable = MG_LWIP_IFACE_VTABLE |
Definition at line 15903 of file mongoose614.cxx.
const struct mg_iface_vtable mg_null_iface_vtable = MG_NULL_IFACE_VTABLE |
Definition at line 3814 of file mongoose614.cxx.
Definition at line 3632 of file mongoose614.cxx.
const struct mg_iface_vtable mg_pic32_iface_vtable = MG_PIC32_IFACE_VTABLE |
Definition at line 16511 of file mongoose614.cxx.
const struct mg_iface_vtable mg_simplelink_iface_vtable = MG_SL_IFACE_VTABLE |
Definition at line 14860 of file mongoose614.cxx.
const struct mg_iface_vtable mg_socket_iface_vtable = MG_SOCKET_IFACE_VTABLE |
Definition at line 4398 of file mongoose614.cxx.
|
static |
Definition at line 14353 of file mongoose614.cxx.
enum cs_log_level cs_log_level WEAK |
Definition at line 612 of file mongoose614.cxx.