Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c2081 int newtun; in launch_service() local
2097 newtun = open(tunnam, O_RDWR); in launch_service()
2098 if (newtun == -1) in launch_service()
2105 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < in launch_service()
2109 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) < in launch_service()
2119 if (strioctl(newtun, PPPTUN_SDATA, &ptn, sizeof (ptn), 0) < 0) in launch_service()
2123 if (strioctl(newtun, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0) in launch_service()
2173 if (newtun != 0 && dup2(newtun, 0) < 0) in launch_service()
2175 if (newtun != 1 && dup2(newtun, 1) < 0) in launch_service()
2177 if (newtun > 1) in launch_service()
[all …]