Searched refs:devf (Results 1 – 4 of 4) sorted by relevance
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_iface.c | 114 _this->devf = -1; in npppd_iface_init() 318 if (_this->devf >= 0) { in npppd_iface_start() 320 close(_this->devf); in npppd_iface_start() 322 _this->devf = -1; in npppd_iface_start() 339 if (_this->devf >= 0) { in npppd_iface_stop() 341 close(_this->devf); in npppd_iface_stop() 344 _this->devf = -1; in npppd_iface_stop() 372 NPPPD_IFACE_ASSERT(_this->devf >= 0); in npppd_iface_io_event_handler() 374 sz = read(_this->devf, buffer, sizeof(buffer)); in npppd_iface_io_event_handler() 549 NPPPD_IFACE_ASSERT(_this->devf >= 0); in npppd_iface_write() [all …]
|
H A D | npppd_iface.h | 37 int devf; member
|
H A D | npppd.c | 1155 if ((error = ioctl(_this->iface[ppp->ifidx].devf, PIPEXASESSION, &req)) in npppd_ppp_pipex_enable() 1170 error = ioctl(_this->iface[ppp->ifidx].devf, PIPEXSIFDESCR, &descr_req); in npppd_ppp_pipex_enable() 1238 error = ioctl(_this->iface[ppp->ifidx].devf, PIPEXDSESSION, &req); in npppd_ppp_pipex_disable() 1257 int i, devf, error; in pipex_periodic() local 1264 devf = -1; in pipex_periodic() 1267 devf = _this->iface[i].devf; in pipex_periodic() 1271 if (devf >= 0) { in pipex_periodic() 1273 error = ioctl(devf, PIPEXGCLOSED, &req); in pipex_periodic()
|
H A D | npppd_ctl.c | 367 if (ioctl(iface->devf, PIPEXGSTAT, &req) != 0) in npppd_ppp_get_pipex_stat()
|