Searched refs:tpc_tp (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c627 *doi = rhtp->tpc_tp.tp_doi;
628 switch (rhtp->tpc_tp.host_type) {
630 *sl = rhtp->tpc_tp.tp_def_label;
633 *sl = rhtp->tpc_tp.tp_sl_range_cipso.upper_bound;
746 if (src_rhtp->tpc_tp.host_type == UNLABELED)
805 if (src_rhtp->tpc_tp.host_type == SUN_CIPSO)
807 else if (src_rhtp->tpc_tp.host_type == UNLABELED)
996 if (tp->tpc_tp.host_type == UNLABELED) {
1002 } else if (tp->tpc_tp.host_type != SUN_CIPSO) {
1008 } else if (plabel->tsl_doi != tp->tpc_tp
[all...]
H A Dtn_ipopt.c343 switch (dst_rhtp->tpc_tp.host_type) {
353 if (dst_rhtp->tpc_tp.tp_doi != tsl->tsl_doi) {
361 if (!blequal(&dst_rhtp->tpc_tp.tp_def_label,
366 &dst_rhtp->tpc_tp.tp_def_label))) {
380 if ((newtsl = labelalloc(&dst_rhtp->tpc_tp.tp_def_label,
381 dst_rhtp->tpc_tp.tp_doi, KM_NOSLEEP)) == NULL) {
405 if (dst_rhtp->tpc_tp.tp_cipso_doi_cipso != tsl->tsl_doi ||
407 &dst_rhtp->tpc_tp.tp_sl_range_cipso) &&
409 dst_rhtp->tpc_tp.tp_sl_set_cipso))) {
523 attrp->igsa_rhc->rhc_tpc->tpc_tp
[all...]
H A Dip6_if.c1950 if (dst_rhtp->tpc_tp.host_type != UNLABELED) {
2045 src_rhtp->tpc_tp.host_type != SUN_CIPSO ||
2046 src_rhtp->tpc_tp.tp_doi !=
2047 dst_rhtp->tpc_tp.tp_doi ||
2048 (!_blinrange(&dst_rhtp->tpc_tp.tp_def_label,
2049 &src_rhtp->tpc_tp.tp_sl_range_cipso) &&
2050 !blinlset(&dst_rhtp->tpc_tp.tp_def_label,
2051 src_rhtp->tpc_tp.tp_sl_set_cipso));
H A Dip_if.c15353 if (dst_rhtp->tpc_tp.host_type != UNLABELED) {
15429 incompat = src_rhtp->tpc_tp.host_type != SUN_CIPSO ||
15430 src_rhtp->tpc_tp.tp_doi !=
15431 dst_rhtp->tpc_tp.tp_doi ||
15432 (!_blinrange(&dst_rhtp->tpc_tp.tp_def_label,
15433 &src_rhtp->tpc_tp.tp_sl_range_cipso) &&
15434 !blinlset(&dst_rhtp->tpc_tp.tp_def_label,
15435 src_rhtp->tpc_tp.tp_sl_set_cipso));
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c421 ASSERT(tpc->tpc_tp.host_type == UNLABELED ||
422 tpc->tpc_tp.host_type == SUN_CIPSO);
473 bcopy(tpc->tpc_tp.name, rhent->rh_template,
592 bcopy(tpent, &tpc->tpc_tp, sizeof (tpc->tpc_tp));
593 (void) mod_hash_insert(tpc_name_hash, (mod_hash_key_t)tpc->tpc_tp.name,
614 (mod_hash_key_t)tpc->tpc_tp.name);
700 if (copyout(&tpc->tpc_tp, buf, sizeof (tpc->tpc_tp)) != 0) {
1137 tpc = tnrhtp_find(rh->rhc_tpc->tpc_tp
[all...]
H A Dtlabel.c289 if (tp->tpc_tp.host_type == SUN_CIPSO) {
294 if (tp->tpc_tp.host_type != UNLABELED)
297 server_sl = &tp->tpc_tp.tp_def_label;
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c977 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi)
979 if ((tp->tpc_tp.host_type != UNLABELED))
982 server_sl = &tp->tpc_tp.tp_def_label;
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtndb.h255 struct tsol_tpent tpc_tp; /* template */ member in struct:tsol_tpc
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c5080 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi)
5082 if ((tp->tpc_tp.host_type != SUN_CIPSO) &&
5083 (tp->tpc_tp.host_type != UNLABELED))
5086 if (tp->tpc_tp.host_type == SUN_CIPSO) {
5093 server_sl = &tp->tpc_tp.tp_def_label;
H A Dnfs3_srv.c464 if (tp == NULL || tp->tpc_tp.tp_doi !=
465 l_admin_low->tsl_doi || tp->tpc_tp.host_type !=
H A Dnfs4_srv.c2840 if (tp == NULL || tp->tpc_tp.tp_doi !=
2841 l_admin_low->tsl_doi || tp->tpc_tp.host_type !=

Completed in 128 milliseconds