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

/freebsd-13-stable/sbin/hastd/
H A Dproto_socketpair.c51 int sp_fd[2]; member in struct:sp_ctx
75 if (socketpair(PF_UNIX, SOCK_STREAM, 0, spctx->sp_fd) == -1) {
106 close(spctx->sp_fd[1]);
107 spctx->sp_fd[1] = -1;
109 PJDLOG_ASSERT(spctx->sp_fd[0] >= 0);
110 sock = spctx->sp_fd[0];
113 PJDLOG_ASSERT(spctx->sp_fd[1] >= 0);
114 sock = spctx->sp_fd[1];
145 close(spctx->sp_fd[0]);
146 spctx->sp_fd[
[all...]
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_socketpair.c46 int sp_fd[2]; member in struct:sp_ctx
73 if (socketpair(PF_UNIX, SOCK_STREAM, 0, spctx->sp_fd) == -1) {
99 spctx->sp_fd[0] = fd;
100 spctx->sp_fd[1] = -1;
103 spctx->sp_fd[0] = -1;
104 spctx->sp_fd[1] = fd;
130 close(spctx->sp_fd[1]);
131 spctx->sp_fd[1] = -1;
133 PJDLOG_ASSERT(spctx->sp_fd[0] >= 0);
134 sock = spctx->sp_fd[
[all...]

Completed in 81 milliseconds