Home
last modified time | relevance | path

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

/titanic_44/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 …]
/titanic_44/usr/src/lib/libipadm/common/
H A Dipadm_prop.c526 ip_hostmodel_t hostmodel; in i_ipadm_set_hostmodel() local
530 hostmodel = i_ipadm_hostmodel_str2val(pval); in i_ipadm_set_hostmodel()
531 if (hostmodel == IP_MAXVAL_ES) in i_ipadm_set_hostmodel()
533 (void) snprintf(val, sizeof (val), "%d", hostmodel); in i_ipadm_set_hostmodel()
545 ip_hostmodel_t hostmodel; in i_ipadm_get_hostmodel() local
562 bcopy(buf, &hostmodel, sizeof (hostmodel)); in i_ipadm_get_hostmodel()
563 cp = i_ipadm_hostmodel_val2str(hostmodel); in i_ipadm_get_hostmodel()