Lines Matching defs:newtctx
444 struct tcp_ctx *newtctx;
454 newtctx = malloc(sizeof(*newtctx));
455 if (newtctx == NULL)
459 newtctx->tc_fd = accept(tctx->tc_fd, (struct sockaddr *)&tctx->tc_sa,
461 if (newtctx->tc_fd == -1) {
463 free(newtctx);
467 newtctx->tc_side = TCP_SIDE_SERVER_WORK;
468 newtctx->tc_magic = TCP_CTX_MAGIC;
469 *newctxp = newtctx;