Home | History | Annotate | Download | only in qemu

Lines Matching full:ppa

1169     int tap_fd, if_fd, ppa = -1;
1185 ppa = atoi(ptr);
1204 /* Assign a new PPA and get its unit number. */
1207 strioc_ppa.ic_len = sizeof(ppa);
1208 strioc_ppa.ic_dp = (char *)&ppa;
1209 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0)
1225 snprintf (actual_name, 32, "tap%d", ppa);
1228 ifr.lifr_ppa = ppa;
1229 /* Assign ppa according to the unit number returned by tun device */
1232 syslog (LOG_ERR, "Can't set PPA %d", ppa);
1280 snprintf(dev, dev_size, "tap%d", ppa);