Searched defs:newtun (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c2080 int newtun; local
2096 newtun = open(tunnam, O_RDWR);
2097 if (newtun == -1)
2104 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) <
2108 if (strioctl(newtun, PPPTUN_SPEER, &ptp, sizeof (ptp), sizeof (ptp)) <
2118 if (strioctl(newtun, PPPTUN_SDATA, &ptn, sizeof (ptn), 0) < 0)
2122 if (strioctl(newtun, PPPTUN_SCTL, &ptn, sizeof (ptn), 0) < 0)
2172 if (newtun != 0 && dup2(newtun, 0) < 0)
2174 if (newtun !
[all...]

Completed in 64 milliseconds