Home
last modified time | relevance | path

Searched refs:mtcp_epoll_ctl (Results 1 – 8 of 8) sorted by relevance

/mOS-networking-stack/samples/epserver/
H A Depserver-mp.c115 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_DEL, sockid, NULL); in CloseConnection()
160 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in SendUntilAvailable()
262 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in HandleReadEvent()
291 mtcp_epoll_ctl(mctx, ctx->ep, MOS_EPOLL_CTL_ADD, c, &ev); in AcceptConnection()
345 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_ADD, listener, &ev); in CreateListeningSocket()
H A Depserver.c116 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_DEL, sockid, NULL); in CloseConnection()
161 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in SendUntilAvailable()
263 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in HandleReadEvent()
292 mtcp_epoll_ctl(mctx, ctx->ep, MOS_EPOLL_CTL_ADD, c, &ev); in AcceptConnection()
346 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_ADD, listener, &ev); in CreateListeningSocket()
/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dfdevent_libmtcp.c38 if (0 != mtcp_epoll_ctl(ev->srv->mctx, ev->epoll_fd, MOS_EPOLL_CTL_DEL, fd, NULL/*&ep*/)) { in fdevent_libmtcp_epoll_event_del()
77 …if (0 != mtcp_epoll_ctl(ev->srv->mctx, ev->epoll_fd, add ? MOS_EPOLL_CTL_ADD : MOS_EPOLL_CTL_MOD, … in fdevent_libmtcp_epoll_event_set()
/mOS-networking-stack/core/include/
H A Dmtcp_epoll.h94 mtcp_epoll_ctl(mctx_t mctx, int epid,
/mOS-networking-stack/core/src/include/
H A Dmtcp_epoll.h94 mtcp_epoll_ctl(mctx_t mctx, int epid,
/mOS-networking-stack/samples/epwget/
H A Depwget.c207 mtcp_epoll_ctl(mctx, ctx->ep, MOS_EPOLL_CTL_ADD, sockid, &ev); in CreateConnection()
215 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_DEL, sockid, NULL); in CloseConnection()
271 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in SendHTTPRequest()
328 mtcp_epoll_ctl(mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in DownloadNext()
H A Depwget-mp.c206 mtcp_epoll_ctl(mctx, ctx->ep, MOS_EPOLL_CTL_ADD, sockid, &ev); in CreateConnection()
214 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_DEL, sockid, NULL); in CloseConnection()
270 mtcp_epoll_ctl(ctx->mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in SendHTTPRequest()
327 mtcp_epoll_ctl(mctx, ctx->ep, MOS_EPOLL_CTL_MOD, sockid, &ev); in DownloadNext()
/mOS-networking-stack/core/src/
H A Deventpoll.c241 mtcp_epoll_ctl(mctx_t mctx, int epid, in mtcp_epoll_ctl() function