Searched refs:npi (Results 1 – 2 of 2) sorted by relevance
1816 int npi[2]; local1818 npi[0] = proto;1819 npi[1] = (int) mode;1820 if (strioctl(pppfd, PPPIO_NPMODE, &npi, 2 * sizeof(int), 0) < 0) {
2678 struct npioctl npi; local2680 npi.protocol = proto;2681 npi.mode = mode;2682 if (ioctl(ppp_dev_fd, PPPIOCSNPMODE, (caddr_t) &npi) < 0) {