Home
last modified time | relevance | path

Searched refs:errfd (Results 1 – 9 of 9) sorted by relevance

/external/dropbear/
Dcommon-channel.c148 newchan->errfd = FD_CLOSED; /* this isn't always set to start with */ in newchannel()
212 if (ERRFD_IS_READ(channel) && channel->errfd >= 0 in channelio()
213 && FD_ISSET(channel->errfd, readfds)) { in channelio()
231 && channel->errfd >= 0 && FD_ISSET(channel->errfd, writefds)) { in channelio()
232 writechannel(channel, channel->errfd, channel->extrabuf); in channelio()
253 } else if (channel->errfd >= 0 && channel->extrabuf && in write_pending()
266 channel->errfd, channel->sent_close, channel->recv_close)) in check_close()
299 if (ERRFD_IS_READ(channel) && channel->errfd >= 0 in check_close()
309 && (ERRFD_IS_WRITE(channel) || channel->errfd == FD_CLOSED)) { in check_close()
316 && (ERRFD_IS_WRITE(channel) || channel->errfd == FD_CLOSED) in check_close()
[all …]
Dcli-channel.c56 common_recv_msg_channel_data(channel, channel->errfd, channel->extrabuf); in recv_msg_channel_extended_data()
Dchannel.h70 int errfd; /* used like writefd or readfd, depending if it's client or server. member
Dsvr-chansession.c714 channel->errfd = errfds[FDIN]; in noptycommand()
717 ses.maxfd = MAX(ses.maxfd, channel->errfd); in noptycommand()
721 setnonblocking(channel->errfd); in noptycommand()
Dcli-chansession.c350 channel->errfd = STDERR_FILENO; in cli_initchansess()
/external/ppp/pppd/
Dmain.c1510 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument
1551 if (errfd == 0 || errfd == 1) in safe_fork()
1552 errfd = dup(errfd); in safe_fork()
1559 if (errfd != 2) in safe_fork()
1560 dup2(errfd, 2); in safe_fork()
1577 if (errfd != 2) in safe_fork()
1578 close(errfd); in safe_fork()
1601 int errfd; local
1604 errfd = log_to_fd;
1606 errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
[all …]
/external/dnsmasq/src/
Dlog.c57 int log_start(struct passwd *ent_pw, int errfd) in log_start() argument
80 send_event(errfd, EVENT_LOG_ERR, errno); in log_start()
Ddnsmasq.h756 int log_start(struct passwd *ent_pw, int errfd);
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch513 - send_event(errfd, EVENT_LOG_ERR, errno);
514 + send_event(errfd, EVENT_LOG_ERR, errno, 0);