Lines Matching refs:ifname

389 	const char	*ifname = arg;  in i_ipadm_set_mtu()  local
410 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_set_mtu()
428 const char *ifname = arg; in i_ipadm_set_metric() local
442 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_set_metric()
459 const char *ifname = arg; in i_ipadm_set_usesrc() local
476 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_set_usesrc()
597 const char *ifname = arg; in i_ipadm_set_ifprop_flags() local
651 status = i_ipadm_set_flags(iph, ifname, af, on_flags, in i_ipadm_set_ifprop_flags()
713 const char *ifname = arg; in i_ipadm_set_forwarding() local
720 if (ifname != NULL) { in i_ipadm_set_forwarding()
721 status = i_ipadm_set_ifprop_flags(iph, ifname, pdp, pval, in i_ipadm_set_forwarding()
742 status = i_ipadm_set_prop(iph, ifname, pdp, pval, proto, flags); in i_ipadm_set_forwarding()
836 const char *ifname = arg; in i_ipadm_get_forwarding() local
843 if (ifname != NULL) { in i_ipadm_get_forwarding()
844 status = i_ipadm_get_ifprop_flags(iph, ifname, pdp, in i_ipadm_get_forwarding()
847 status = i_ipadm_get_prop(iph, ifname, pdp, buf, in i_ipadm_get_forwarding()
875 const char *ifname = arg; in i_ipadm_get_mtu() local
889 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_get_mtu()
914 const char *ifname = arg; in i_ipadm_get_metric() local
927 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_get_metric()
954 const char *ifname = arg; in i_ipadm_get_usesrc() local
968 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_get_usesrc()
1002 const char *ifname = arg; in i_ipadm_get_ifprop_flags() local
1025 status = i_ipadm_get_flags(iph, ifname, af, &intf_flags); in i_ipadm_get_ifprop_flags()
1077 const char *ifname = arg; in i_ipadm_get_prop() local
1090 if (ifname != NULL) { in i_ipadm_get_prop()
1091 (void) strlcpy(mip->mpr_ifname, ifname, in i_ipadm_get_prop()
1180 i_ipadm_getprop_common(ipadm_handle_t iph, const char *ifname, in i_ipadm_getprop_common() argument
1188 boolean_t is_if = (ifname != NULL); in i_ipadm_getprop_common()
1221 status = pdp->ipd_get(iph, ifname, pdp, buf, bufsize, proto, in i_ipadm_getprop_common()
1227 status = pdp->ipd_get(iph, ifname, pdp, buf, bufsize, proto, in i_ipadm_getprop_common()
1231 status = pdp->ipd_get(iph, ifname, pdp, buf, bufsize, proto, in i_ipadm_getprop_common()
1236 status = pdp->ipd_get_range(iph, ifname, pdp, buf, in i_ipadm_getprop_common()
1246 bufsize, ifname); in i_ipadm_getprop_common()
1286 ipadm_get_ifprop(ipadm_handle_t iph, const char *ifname, const char *pname, in ipadm_get_ifprop() argument
1303 if (!i_ipadm_validate_ifname(iph, ifname)) in ipadm_get_ifprop()
1306 return (i_ipadm_getprop_common(iph, ifname, pname, buf, bufsize, in ipadm_get_ifprop()
1321 const char *ifname = arg; in i_ipadm_set_prop() local
1351 if (ifname != NULL) { in i_ipadm_set_prop()
1352 (void) strlcpy(mip->mpr_ifname, ifname, in i_ipadm_set_prop()
1381 i_ipadm_setprop_common(ipadm_handle_t iph, const char *ifname, in i_ipadm_setprop_common() argument
1388 boolean_t is_if = (ifname != NULL); in i_ipadm_setprop_common()
1428 status = pdp->ipd_set(iph, ifname, pdp, buf, proto, pflags); in i_ipadm_setprop_common()
1434 status = i_ipadm_persist_propval(iph, pdp, buf, ifname, in i_ipadm_setprop_common()
1447 ipadm_set_ifprop(ipadm_handle_t iph, const char *ifname, const char *pname, in ipadm_set_ifprop() argument
1475 status = i_ipadm_validate_if(iph, ifname, proto, pflags); in ipadm_set_ifprop()
1479 return (i_ipadm_setprop_common(iph, ifname, pname, buf, proto, in ipadm_set_ifprop()
1726 i_ipadm_validate_if(ipadm_handle_t iph, const char *ifname, in i_ipadm_validate_if() argument
1735 if (!i_ipadm_validate_ifname(iph, ifname)) in i_ipadm_validate_if()
1741 status = i_ipadm_if_pexists(iph, ifname, af, &p_exists); in i_ipadm_validate_if()
1746 af_exists = ipadm_if_enabled(iph, ifname, af); in i_ipadm_validate_if()
1748 other_af_exists = ipadm_if_enabled(iph, ifname, other_af); in i_ipadm_validate_if()