Home
last modified time | relevance | path

Searched refs:MTCP_NONBLOCK (Results 1 – 4 of 4) sorted by relevance

/mOS-networking-stack/core/src/
H A Dpipe.c121 if (pair_socket->opts & MTCP_NONBLOCK) { in RaiseEventToPair()
166 if (socket->opts & MTCP_NONBLOCK) { in PipeRead()
175 if (!(socket->opts & MTCP_NONBLOCK)) { in PipeRead()
270 if (socket->opts & MTCP_NONBLOCK) { in PipeWrite()
279 if (!(socket->opts & MTCP_NONBLOCK)) { in PipeWrite()
H A Dapi.c486 mtcp->smap[sockid].opts |= MTCP_NONBLOCK; in mtcp_setsock_nonblock()
543 mtcp->smap[sockid].opts |= MTCP_NONBLOCK; in mtcp_ioctl()
545 mtcp->smap[sockid].opts &= ~MTCP_NONBLOCK; in mtcp_ioctl()
849 if (listener->socket->opts & MTCP_NONBLOCK) { in mtcp_accept()
1168 if (socket->opts & MTCP_NONBLOCK) { in mtcp_connect()
1560 if (socket->opts & MTCP_NONBLOCK) { in mtcp_recv()
1672 if (socket->opts & MTCP_NONBLOCK) { in mtcp_readv()
1816 if (socket->opts & MTCP_NONBLOCK) { in mtcp_write()
1839 if (ret == 0 && (socket->opts & MTCP_NONBLOCK)) { in mtcp_write()
1926 if (to_write == 0 && (socket->opts & MTCP_NONBLOCK)) { in mtcp_writev()
H A Dcore.c835 if (!(mtcp->listener->socket->opts & MTCP_NONBLOCK)) { in InterruptApplication()
/mOS-networking-stack/core/src/include/
H A Dsocket.h22 MTCP_NONBLOCK = 0x01, enumerator