Lines Matching defs:muxfd
186 int opt, devfd, muxfd, muxid;
240 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) {
297 if ((muxid = ioctl(muxfd, I_PLINK, devfd)) == -1) {
312 if (strioctl(muxfd, PPPTUN_SINFO, &pti, sizeof (pti), 0,
332 int muxfd;
347 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) {
356 if (strioctl(muxfd, PPPTUN_GINFO, &pti, sizeof (pti),
366 if (ioctl(muxfd, I_PUNLINK, pti.pti_muxid) < 0) {
384 int muxfd, i;
394 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) {
402 if (strioctl(muxfd, PPPTUN_GNNAME, &ptn, sizeof (ptn),