Home
last modified time | relevance | path

Searched refs:psp_fd (Results 1 – 6 of 6) sorted by relevance

/dragonfly/contrib/dhcpcd/src/
H A Dprivsep.c382 psp->psp_fd = fd[1]; in ps_startprocess()
387 psp->psp_fd = fd[0]; in ps_startprocess()
395 __func__, psp->psp_fd); in ps_startprocess()
487 if (psp->psp_fd != -1) { in ps_startprocess()
488 close(psp->psp_fd); in ps_startprocess()
489 psp->psp_fd = -1; in ps_startprocess()
519 if (psp->psp_fd != -1) { in ps_stopprocess()
528 shutdown(psp->psp_fd, SHUT_WR); in ps_stopprocess()
777 if (psp->psp_fd != -1) { in ps_freeprocess()
779 close(psp->psp_fd); in ps_freeprocess()
[all …]
H A Dprivsep-inet.c59 PS_BOOTP, ctx->ps_inet->psp_fd) == -1) in ps_inet_recvbootp()
74 PS_ND, ctx->ps_inet->psp_fd) == -1) in ps_inet_recvra()
80 PS_ND, ctx->ps_inet->psp_fd) == -1) in ps_inet_recvra()
93 PS_DHCP6, ctx->ps_inet->psp_fd) == -1) in ps_inet_recvdhcp6()
313 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, NULL, NULL) == -1) in ps_inet_recvmsg()
350 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, in ps_inet_dodispatch()
518 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, NULL, NULL) == -1) in ps_inet_recvmsgpsp()
H A Dprivsep-control.c74 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, NULL, NULL) == -1) in ps_ctl_recvmsg()
153 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, in ps_ctl_dodispatch()
288 return ps_sendcmd(ctx, ctx->ps_ctl->psp_fd, PS_CTL, in ps_ctl_sendargs()
298 return ps_sendcmd(ctx, ctx->ps_ctl->psp_fd, PS_CTL_EOF, 0, NULL, 0); in ps_ctl_sendeof()
H A Dprivsep.h117 #define PS_ROOT_FD(ctx) ((ctx)->ps_root ? (ctx)->ps_root->psp_fd : -1)
173 int psp_fd; member
H A Dprivsep-bpf.c143 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, in ps_bpf_recvmsg()
H A Dprivsep-root.c508 err = ps_sendpsmmsg(ctx, psp->psp_fd, psm, msg); in ps_root_recvmsgcb()
644 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, in ps_root_recvmsg()