6 ipfunc_t
nametokva(name
, iocfunc
)
13 strncpy(res
.ipfu_name
, name
, sizeof(res
.ipfu_name
));
17 if ((opts
& OPT_DONOTHING
) == 0) {
18 fd
= open(IPL_NAME
, O_RDONLY
);
22 (void) (*iocfunc
)(fd
, SIOCFUNCL
, &res
);
25 if (res
.ipfu_addr
== NULL
)
26 res
.ipfu_addr
= (ipfunc_t
)-1;