Lines Matching defs:unit
73 static int owns_unit (TDB_DATA pid, int unit);
124 int unit, pppd_pid;
209 unit = -1;
221 parse_num(rec.dptr, "IFNAME=ppp", &unit);
225 || !owns_unit(pid, unit))
226 unit = -1;
232 if (unit >= 0) {
233 /* attach to existing unit */
234 if (bundle_attach(unit)) {
428 * Check whether the pppd identified by `key' still owns ppp unit `unit'.
431 owns_unit(key, unit)
433 int unit;
439 slprintf(ifkey, sizeof(ifkey), "IFNAME=ppp%d", unit);