Searched defs:newconn (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dapi_msg.c217 struct netconn *newconn; local
227 newconn = memp_malloc(MEMP_NETCONN);
228 if (newconn == NULL) {
231 newconn->recvmbox = sys_mbox_new();
232 if (newconn->recvmbox == SYS_MBOX_NULL) {
233 memp_free(MEMP_NETCONN, newconn);
236 newconn->mbox = sys_mbox_new();
237 if (newconn->mbox == SYS_MBOX_NULL) {
238 sys_mbox_free(newconn->recvmbox);
239 memp_free(MEMP_NETCONN, newconn);
[all...]
H A Dapi_lib.c486 struct netconn *newconn; local
492 sys_mbox_fetch(conn->acceptmbox, (void *)&newconn);
497 return newconn;
H A Dsockets.c137 alloc_socket(struct netconn *newconn) argument
150 sockets[i].conn = newconn;
169 struct netconn *newconn; local
182 newconn = netconn_accept(sock->conn);
185 netconn_peer(newconn, &naddr, &port);
198 newsock = alloc_socket(newconn);
200 netconn_delete(newconn);
204 newconn->callback = event_callback;
208 sock->rcvevent += -1 - newconn->socket;
209 newconn
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dapi_lib.c294 struct netconn *newconn; local
313 if (sys_arch_mbox_fetch(&conn->acceptmbox, (void **)&newconn, conn->recv_timeout) == SYS_ARCH_TIMEOUT) {
318 sys_arch_mbox_fetch(&conn->acceptmbox, (void **)&newconn, 0);
323 if (newconn == NULL) {
335 *new_conn = newconn;
H A Dapi_msg.c435 struct netconn *newconn; local
447 newconn = netconn_alloc(conn->type, conn->callback);
448 if (newconn == NULL) {
451 newconn->pcb.tcp = newpcb;
452 setup_tcp(newconn);
455 newconn->last_err = err;
457 if (sys_mbox_trypost(&conn->acceptmbox, newconn) != ERR_OK) {
461 struct tcp_pcb* pcb = newconn->pcb.tcp;
468 newconn->pcb.tcp = NULL;
470 sys_mbox_free(&newconn
719 struct netconn *newconn = (struct netconn *)mem; local
[all...]
H A Dsockets.c309 * @param newconn the netconn for which to allocate a socket
315 alloc_socket(struct netconn *newconn, int accepted) argument
325 sockets[i].conn = newconn;
334 sockets[i].sendevent = (NETCONNTYPE_GROUP(newconn->type) == NETCONN_TCP ? (accepted != 0) : 1);
387 struct netconn *newconn; local
407 err = netconn_accept(sock->conn, &newconn);
417 LWIP_ASSERT("newconn != NULL", newconn != NULL);
419 netconn_set_noautorecved(newconn, 1);
427 err = netconn_peer(newconn, ipX_2_i
[all...]

Completed in 148 milliseconds