Home
last modified time | relevance | path

Searched refs:thread_context (Results 1 – 5 of 5) sorted by relevance

/mOS-networking-stack/samples/epserver/
H A Depserver-mp.c67 struct thread_context struct
113 CloseConnection(struct thread_context *ctx, int sockid, struct server_vars *sv) in CloseConnection()
120 SendUntilAvailable(struct thread_context *ctx, int sockid, struct server_vars *sv) in SendUntilAvailable()
173 HandleReadEvent(struct thread_context *ctx, int sockid, struct server_vars *sv) in HandleReadEvent()
270 AcceptConnection(struct thread_context *ctx, int listener) in AcceptConnection()
305 CreateListeningSocket(struct thread_context *ctx) in CreateListeningSocket()
434 struct thread_context *ctx; in InitServer()
436 ctx = (struct thread_context *)calloc(1, sizeof(struct thread_context)); in InitServer()
473 struct thread_context *ctx = (*app_ctx); in RunServer()
H A Depserver.c68 struct thread_context struct
114 CloseConnection(struct thread_context *ctx, int sockid, struct server_vars *sv) in CloseConnection()
121 SendUntilAvailable(struct thread_context *ctx, int sockid, struct server_vars *sv) in SendUntilAvailable()
174 HandleReadEvent(struct thread_context *ctx, int sockid, struct server_vars *sv) in HandleReadEvent()
271 AcceptConnection(struct thread_context *ctx, int listener) in AcceptConnection()
306 CreateListeningSocket(struct thread_context *ctx) in CreateListeningSocket()
435 struct thread_context *ctx; in InitServer()
437 ctx = (struct thread_context *)calloc(1, sizeof(struct thread_context)); in InitServer()
474 struct thread_context *ctx = (*app_ctx); in RunServer()
/mOS-networking-stack/samples/simple_firewall/
H A Dsimple_firewall.c71 struct thread_context struct
375 CreateAndInitThreadContext(struct thread_context* ctx, in CreateAndInitThreadContext()
407 WaitAndCleanupThreadContext(struct thread_context* ctx) in WaitAndCleanupThreadContext()
426 struct thread_context ctx[MAX_CPUS] = {{0}}; /* init all fields to 0 */ in main()
/mOS-networking-stack/samples/epwget/
H A Depwget.c92 struct thread_context struct
112 typedef struct thread_context* thread_context_t; argument
132 static struct thread_context *g_ctx[MAX_CPUS] = {0};
140 ctx = (thread_context_t)calloc(1, sizeof(struct thread_context)); in CreateContext()
H A Depwget-mp.c91 struct thread_context struct
111 typedef struct thread_context* thread_context_t; argument
131 static struct thread_context *g_ctx[MAX_CPUS] = {0};
139 ctx = (thread_context_t)calloc(1, sizeof(struct thread_context)); in CreateContext()