netconn::acceptmbox is only used within LwIP.
 
Symbols
loading...
Files
loading...

netconn::acceptmbox field

mbox where new connections are stored until processed by the application thread

Syntax

sys_mbox_t acceptmbox;

References

LocationReferrerText
api.h:242
sys_mbox_t acceptmbox;
api_lib.c:166netconn_new_with_proto_and_callback()
LWIP_ASSERT("conn->acceptmbox shouldn't exist", !sys_mbox_valid(&conn->acceptmbox));
api_lib.c:493netconn_accept()
api_lib.c:503netconn_accept()
if (sys_arch_mbox_tryfetch(&conn->acceptmbox, &accept_ptr) == SYS_ARCH_TIMEOUT) {
api_lib.c:516netconn_accept()
sys_arch_mbox_fetch(&conn->acceptmbox, &accept_ptr, 0);
api_msg.c:471err_tcp()
if (NETCONN_MBOX_VALID(conn, &conn->acceptmbox)) {
api_msg.c:473err_tcp()
sys_mbox_trypost(&conn->acceptmbox, mbox_msg);
api_msg.c:541accept_function()
if (!NETCONN_MBOX_VALID(conn, &conn->acceptmbox)) {
api_msg.c:548accept_function()
api_msg.c:564accept_function()
api_msg.c:576accept_function()
if (sys_mbox_trypost(&conn->acceptmbox, newconn) != ERR_OK) {
api_msg.c:756netconn_alloc()
sys_mbox_set_invalid(&conn->acceptmbox);
api_msg.c:807netconn_free()
!sys_mbox_valid(&conn->acceptmbox));
api_msg.c:863netconn_drain()
if (sys_mbox_valid(&conn->acceptmbox)) {
api_msg.c:864netconn_drain()
while (sys_mbox_tryfetch(&conn->acceptmbox, &mem) != SYS_MBOX_EMPTY) {
api_msg.c:884netconn_drain()
sys_mbox_free(&conn->acceptmbox);
api_msg.c:885netconn_drain()
sys_mbox_set_invalid(&conn->acceptmbox);
api_msg.c:1492lwip_netconn_do_listen()
if (!sys_mbox_valid(&msg->conn->acceptmbox)) {
api_msg.c:1493lwip_netconn_do_listen()
err = sys_mbox_new(&msg->conn->acceptmbox, DEFAULT_ACCEPTMBOX_SIZE);

Type Use

Type of netconn::acceptmbox
netconn::acceptmbox
all items filtered out