Lines Matching full:ppa
1297 int tap_fd, if_fd, ppa = -1;
1313 ppa = atoi(ptr);
1332 /* Assign a new PPA and get its unit number. */
1335 strioc_ppa.ic_len = sizeof(ppa);
1336 strioc_ppa.ic_dp = (char *)&ppa;
1337 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0)
1353 snprintf (actual_name, 32, "tap%d", ppa);
1356 ifr.lifr_ppa = ppa;
1357 /* Assign ppa according to the unit number returned by tun device */
1360 syslog (LOG_ERR, "Can't set PPA %d", ppa);
1408 snprintf(dev, dev_size, "tap%d", ppa);