Searched refs:newtctx (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c443 struct tcp_ctx *newtctx; local
453 newtctx = malloc(sizeof(*newtctx));
454 if (newtctx == NULL)
458 newtctx->tc_fd = accept(tctx->tc_fd, (struct sockaddr *)&tctx->tc_sa,
460 if (newtctx->tc_fd < 0) {
462 free(newtctx);
466 newtctx->tc_wait_called = true;
467 newtctx->tc_side = TCP_SIDE_SERVER_WORK;
468 newtctx
[all...]
/freebsd-11-stable/sbin/hastd/
H A Dproto_tcp.c446 struct tcp_ctx *newtctx; local
456 newtctx = malloc(sizeof(*newtctx));
457 if (newtctx == NULL)
461 newtctx->tc_fd = accept(tctx->tc_fd, (struct sockaddr *)&tctx->tc_sa,
463 if (newtctx->tc_fd == -1) {
465 free(newtctx);
469 newtctx->tc_side = TCP_SIDE_SERVER_WORK;
470 newtctx->tc_magic = TCP_CTX_MAGIC;
471 *newctxp = newtctx;
[all...]

Completed in 100 milliseconds