Lines Matching refs:ifname
379 const char *ifname = arg;
400 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
418 const char *ifname = arg;
432 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
449 const char *ifname = arg;
466 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
587 const char *ifname = arg;
635 status = i_ipadm_set_flags(iph, ifname, af, on_flags,
698 const char *ifname = arg;
705 if (ifname != NULL) {
706 status = i_ipadm_set_ifprop_flags(iph, ifname, pdp, pval,
727 status = i_ipadm_set_prop(iph, ifname, pdp, pval, proto, flags);
821 const char *ifname = arg;
828 if (ifname != NULL) {
829 status = i_ipadm_get_ifprop_flags(iph, ifname, pdp,
832 status = i_ipadm_get_prop(iph, ifname, pdp, buf,
860 const char *ifname = arg;
874 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
899 const char *ifname = arg;
912 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
939 const char *ifname = arg;
953 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name));
987 const char *ifname = arg;
1009 status = i_ipadm_get_flags(iph, ifname, af, &intf_flags);
1058 const char *ifname = arg;
1071 if (ifname != NULL) {
1072 (void) strlcpy(mip->mpr_ifname, ifname,
1125 /* check if object is protostr or an ifname */
1150 * Common function to retrieve property value for a given interface `ifname' or
1161 i_ipadm_getprop_common(ipadm_handle_t iph, const char *ifname,
1168 boolean_t is_if = (ifname != NULL);
1201 status = pdp->ipd_get(iph, ifname, pdp, buf, bufsize, proto,
1207 status = pdp->ipd_get(iph, ifname, pdp, buf, bufsize, proto,
1211 status = pdp->ipd_get(iph, ifname, pdp, buf, bufsize, proto,
1216 status = pdp->ipd_get_range(iph, ifname, pdp, buf,
1226 bufsize, ifname);
1266 ipadm_get_ifprop(ipadm_handle_t iph, const char *ifname, const char *pname,
1283 if (!i_ipadm_validate_ifname(iph, ifname))
1286 return (i_ipadm_getprop_common(iph, ifname, pname, buf, bufsize,
1301 const char *ifname = arg;
1331 if (ifname != NULL) {
1332 (void) strlcpy(mip->mpr_ifname, ifname,
1361 i_ipadm_setprop_common(ipadm_handle_t iph, const char *ifname,
1368 boolean_t is_if = (ifname != NULL);
1407 status = pdp->ipd_set(iph, ifname, pdp, buf, proto, pflags);
1413 status = i_ipadm_persist_propval(iph, pdp, buf, ifname,
1426 ipadm_set_ifprop(ipadm_handle_t iph, const char *ifname, const char *pname,
1454 status = i_ipadm_validate_if(iph, ifname, proto, pflags);
1458 return (i_ipadm_setprop_common(iph, ifname, pname, buf, proto,
1706 i_ipadm_validate_if(ipadm_handle_t iph, const char *ifname,
1715 if (!i_ipadm_validate_ifname(iph, ifname))
1723 if (i_ipadm_is_ipmp(iph, ifname) || i_ipadm_is_under_ipmp(iph, ifname))
1727 status = i_ipadm_if_pexists(iph, ifname, af, &p_exists);
1732 af_exists = ipadm_if_enabled(iph, ifname, af);
1734 other_af_exists = ipadm_if_enabled(iph, ifname, other_af);