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

/freebsd-9.3-release/sbin/hastd/
H A Dproto_socketpair.c49 int sp_fd[2]; member in struct:sp_ctx
73 if (socketpair(PF_UNIX, SOCK_STREAM, 0, spctx->sp_fd) == -1) {
104 close(spctx->sp_fd[1]);
105 spctx->sp_fd[1] = -1;
107 PJDLOG_ASSERT(spctx->sp_fd[0] >= 0);
108 sock = spctx->sp_fd[0];
111 PJDLOG_ASSERT(spctx->sp_fd[1] >= 0);
112 sock = spctx->sp_fd[1];
143 close(spctx->sp_fd[0]);
144 spctx->sp_fd[
[all...]
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto_socketpair.c48 int sp_fd[2]; member in struct:sp_ctx
75 if (socketpair(PF_UNIX, SOCK_STREAM, 0, spctx->sp_fd) == -1) {
101 spctx->sp_fd[0] = fd;
102 spctx->sp_fd[1] = -1;
105 spctx->sp_fd[0] = -1;
106 spctx->sp_fd[1] = fd;
132 close(spctx->sp_fd[1]);
133 spctx->sp_fd[1] = -1;
135 PJDLOG_ASSERT(spctx->sp_fd[0] >= 0);
136 sock = spctx->sp_fd[
[all...]

Completed in 66 milliseconds