8 ipfunc_t nametokva(name, iocfunc)
15 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name));
19 if ((opts & OPT_DONOTHING) == 0) {
20 fd = open(IPL_NAME, O_RDONLY);
24 (void) (*iocfunc)(fd, SIOCFUNCL, &res);
27 if (res.ipfu_addr == NULL)
28 res.ipfu_addr = (ipfunc_t)-1;