Home
last modified time | relevance | path

Searched refs:hostmodel (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_tunables.c456 ip_hostmodel_t hostmodel; in ip_get_hostmodel() local
458 if (psize < sizeof (hostmodel)) in ip_get_hostmodel()
464 hostmodel = IP_WEAK_ES; in ip_get_hostmodel()
467 hostmodel = IP_SRC_PRI_ES; in ip_get_hostmodel()
470 hostmodel = IP_STRONG_ES; in ip_get_hostmodel()
472 hostmodel = IP_MAXVAL_ES; in ip_get_hostmodel()
476 hostmodel = IP_WEAK_ES; in ip_get_hostmodel()
479 hostmodel = IP_SRC_PRI_ES; in ip_get_hostmodel()
482 hostmodel = IP_STRONG_ES; in ip_get_hostmodel()
484 hostmodel = IP_MAXVAL_ES; in ip_get_hostmodel()
[all …]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_prop.c536 ip_hostmodel_t hostmodel; in i_ipadm_set_hostmodel() local
540 hostmodel = i_ipadm_hostmodel_str2val(pval); in i_ipadm_set_hostmodel()
541 if (hostmodel == IP_MAXVAL_ES) in i_ipadm_set_hostmodel()
543 (void) snprintf(val, sizeof (val), "%d", hostmodel); in i_ipadm_set_hostmodel()
555 ip_hostmodel_t hostmodel; in i_ipadm_get_hostmodel() local
572 bcopy(buf, &hostmodel, sizeof (hostmodel)); in i_ipadm_get_hostmodel()
573 cp = i_ipadm_hostmodel_val2str(hostmodel); in i_ipadm_get_hostmodel()