Home
last modified time | relevance | path

Searched refs:newconn (Results 1 – 25 of 28) sorted by relevance

12

/third_party/lwip/
D0034-add-accept4-and-epoll_create1.patch30 * @param newconn the netconn for which to allocate a socket
37 -alloc_socket(struct netconn *newconn, int accepted)
38 +alloc_socket(struct netconn *newconn, int accepted, int flags)
42 @@ -570,12 +571,19 @@ alloc_socket(struct netconn *newconn, int accepted)
56 + netconn_set_nonblocking(newconn, flags & O_NONBLOCK);
70 struct netconn *newconn;
73 LWIP_ASSERT("newconn != NULL", newconn != NULL);
75 - newsock = alloc_socket(newconn, 1);
76 + newsock = alloc_socket(newconn, 1, flags);
78 netconn_delete(newconn);
D0086-log-add-errevent-log-and-tcp-exception-statistics.patch18 sys_mbox_free(&newconn->recvmbox);
19 sys_mbox_set_invalid(&newconn->recvmbox);
20 netconn_free(newconn);
D0097-Mod-the-issue-that-2w-connection-unable-to-establish.patch69 @@ -588,6 +588,7 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
77 @@ -596,6 +597,7 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
94 err = netconn_accept(sock->conn, &newconn);
103 newsock = alloc_socket(newconn, 1, flags);
106 netconn_delete(newconn);
114 netconn_delete(newconn);
119 err = netconn_peer(newconn, &naddr, &port);
D0093-modfiy-accept-null-pointer-when-new-conn-receive-RST-packet-in-listening.patch19 struct tcp_pcb *pcb = newconn->pcb.tcp;
26 netconn_delete(newconn);
D0033-alloc-socket-fail-clean-sock.patch15 @@ -598,6 +598,9 @@ alloc_socket(struct netconn *newconn, int accepted)
16 … sockets[i].sendevent = (NETCONNTYPE_GROUP(newconn->type) == NETCONN_TCP ? (accepted != 0) : 1);
D0057-same-node-gazellectl-a.patch24 @@ -605,6 +605,10 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
26 … sockets[i].sendevent = (NETCONNTYPE_GROUP(newconn->type) == NETCONN_TCP ? (accepted != 0) : 1);
52 + struct tcp_pcb *pcb = newconn->pcb.tcp;
55 + netconn_delete(newconn);
D0080-enable-ipv6.patch52 @@ -555,7 +564,8 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
58 + int domain = NETCONNTYPE_ISIPV6(newconn->type) ? AF_INET6 : AF_INET;
59 switch (NETCONNTYPE_GROUP(newconn->type)) {
D0016-lstack-support-mysql-mode.patch115 @@ -604,8 +596,6 @@ alloc_socket(struct netconn *newconn, int accepted)
117 … sockets[i].sendevent = (NETCONNTYPE_GROUP(newconn->type) == NETCONN_TCP ? (accepted != 0) : 1);
173 err = netconn_accept(sock->conn, &newconn);
183 LWIP_ASSERT("newconn != NULL", newconn != NULL);
D0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch60 @@ -613,7 +613,7 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
D0002-adapt-lstack.patch148 + SET_CONN_TYPE_LIBOS(newconn);
698 @@ -504,6 +559,62 @@ alloc_socket(struct netconn *newconn, int accepted)
704 + switch (NETCONNTYPE_GROUP(newconn->type)) {
734 + SET_CONN_TYPE_LIBOS(newconn);
736 + SET_CONN_TYPE_LIBOS_OR_HOST(newconn);
737 + sockets[i].conn = newconn;
745 + sockets[i].sendevent = (NETCONNTYPE_GROUP(newconn->type) == NETCONN_TCP ? (accepted != 0) : 1…
761 @@ -535,6 +646,8 @@ alloc_socket(struct netconn *newconn, int accepted)
813 err = netconn_accept(sock->conn, &newconn);
823 LWIP_ASSERT("newconn != NULL", newconn != NULL);
D0053-cleancode-improve-lwipopts.h-readability.patch78 SET_CONN_TYPE_LIBOS(newconn);
192 @@ -553,7 +553,7 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
199 switch (NETCONNTYPE_GROUP(newconn->type)) {
/third_party/lwip/src/api/
Dapi_msg.c564 struct netconn *newconn; local
590 newconn = netconn_alloc(conn->type, conn->callback);
591 if (newconn == NULL) {
599 newconn->pcb.tcp = newpcb;
600 setup_tcp(newconn);
605 if (sys_mbox_trypost(&conn->acceptmbox, newconn) != ERR_OK) {
609 struct tcp_pcb *pcb = newconn->pcb.tcp;
616 newconn->pcb.tcp = NULL;
618 sys_mbox_free(&newconn->recvmbox);
619 sys_mbox_set_invalid(&newconn->recvmbox);
[all …]
Dsockets.c509 alloc_socket(struct netconn *newconn, int accepted) in alloc_socket() argument
528 sockets[i].conn = newconn; in alloc_socket()
538 … sockets[i].sendevent = (NETCONNTYPE_GROUP(newconn->type) == NETCONN_TCP ? (accepted != 0) : 1); in alloc_socket()
632 struct netconn *newconn; in lwip_accept() local
647 err = netconn_accept(sock->conn, &newconn); in lwip_accept()
660 LWIP_ASSERT("newconn != NULL", newconn != NULL); in lwip_accept()
662 newsock = alloc_socket(newconn, 1); in lwip_accept()
664 netconn_delete(newconn); in lwip_accept()
678 recvevent = (s16_t)(-1 - newconn->socket); in lwip_accept()
679 newconn->socket = newsock; in lwip_accept()
[all …]
Dapi_lib.c476 struct netconn *newconn; in netconn_accept() local
543 newconn = (struct netconn *)accept_ptr; in netconn_accept()
546 API_MSG_VAR_REF(msg).conn = newconn; in netconn_accept()
552 *new_conn = newconn; in netconn_accept()
/third_party/selinux/libsepol/tests/policies/test-hooks/
Dcmp_policy.conf208 newconn
252 newconn
Dsmall-base.conf208 newconn
252 newconn
/third_party/selinux/libsepol/tests/policies/test-expander/
Duser-base.conf208 newconn
252 newconn
Drole-base.conf208 newconn
252 newconn
Dalias-base.conf208 newconn
252 newconn
Dsmall-base.conf208 newconn
252 newconn
/third_party/selinux/libsepol/tests/policies/test-deps/
Dbase-notmetreq.conf207 newconn
251 newconn
Dsmall-base.conf208 newconn
252 newconn
Dbase-metreq.conf208 newconn
252 newconn
/third_party/selinux/libsepol/tests/policies/test-linker/
Dsmall-base.conf208 newconn
252 newconn
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf194 newconn
238 newconn

12