Searched refs:nmctx (Results 1 - 6 of 6) sorted by relevance
/freebsd-12-stable/lib/libnetmap/ |
H A D | nmctx.c | 48 nmctx_default_error(struct nmctx *ctx, const char *errmsg) 54 nmctx_default_malloc(struct nmctx *ctx, size_t sz) 61 nmctx_default_free(struct nmctx *ctx, void *p) 67 static struct nmctx nmctx_global = { 75 static struct nmctx *nmctx_default = &nmctx_global; 77 struct nmctx * 83 struct nmctx * 84 nmctx_set_default(struct nmctx *ctx) 86 struct nmctx *old = nmctx_default; 93 nmctx_ferror(struct nmctx *ct [all...] |
H A D | libnetmap.h | 43 struct nmctx; 173 /* the nmctx used when this nmport_d was created */ 174 struct nmctx *ctx; 345 * new nmport_d uses the same nmctx as @d. 351 * and sends an error message to the nmctx error() method. 437 * @ctx: pointer to the nmctx to use (for errors) 448 struct nmctx *ctx); 453 * @ctx: pointer to the nmctx to use (for errors) 470 struct nmctx *ctx); 476 * @ctx: pointer to the nmctx t 587 struct nmctx { struct [all...] |
H A D | Makefile | 9 SRCS= nmctx.c nmport.c \ 10 nmctx-pthreads.c nmreq.c
|
H A D | nmctx-pthreads.c | 48 struct nmctx up; 55 nmctx_pthread_lock(struct nmctx *ctx, int lock) 69 struct nmctx *old;
|
H A D | nmport.c | 79 nmport_new_with_ctx(struct nmctx *ctx) 103 struct nmctx *ctx = nmctx_get(); 131 struct nmctx *ctx = d->ctx; 190 struct nmctx *ctx = d->ctx; 335 struct nmctx *ctx = p->ctx; 529 struct nmctx *ctx = d->ctx; 586 struct nmctx *ctx = d->ctx; 673 struct nmctx *ctx = d->ctx; 762 struct nmctx *ctx;
|
H A D | nmreq.c | 106 nmreq_header_decode(const char **pifname, struct nmreq_header *h, struct nmctx *ctx) 208 nmreq_get_mem_id(const char **pifname, struct nmctx *ctx) 250 nmreq_register_decode(const char **pifname, struct nmreq_register *r, struct nmctx *ctx) 487 void *token, struct nmctx *ctx) 557 void *token, struct nmctx *ctx)
|
Completed in 67 milliseconds