Searched refs:newtun (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 2080 int newtun; in launch_service() local 2096 newtun = open(tunnam, O_RDWR); in launch_service() 2097 if (newtun == -1) in launch_service() 2104 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < in launch_service() 2108 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < in launch_service() 2118 if (strioctl(newtun, PPPTUN_SDATA, &ptn, sizeof (ptn), 0) < 0) in launch_service() 2122 if (strioctl(newtun, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0) in launch_service() 2172 if (newtun != 0 && dup2(newtun, 0) < 0) in launch_service() 2174 if (newtun != 1 && dup2(newtun, 1) < 0) in launch_service() 2176 if (newtun > 1) in launch_service() [all …]
|