Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/inet/ip/
H A Dtnet.c627 *doi = rhtp->tpc_tp.tp_doi; in tsol_find_unlabeled_label()
628 switch (rhtp->tpc_tp.host_type) { in tsol_find_unlabeled_label()
630 *sl = rhtp->tpc_tp.tp_def_label; in tsol_find_unlabeled_label()
633 *sl = rhtp->tpc_tp.tp_sl_range_cipso.upper_bound; in tsol_find_unlabeled_label()
746 if (src_rhtp->tpc_tp.host_type == UNLABELED) in tsol_get_pkt_label()
805 if (src_rhtp->tpc_tp.host_type == SUN_CIPSO) in tsol_get_pkt_label()
807 else if (src_rhtp->tpc_tp.host_type == UNLABELED) in tsol_get_pkt_label()
996 if (tp->tpc_tp.host_type == UNLABELED) { in tsol_receive_local()
1002 } else if (tp->tpc_tp.host_type != SUN_CIPSO) { in tsol_receive_local()
1008 } else if (plabel->tsl_doi != tp->tpc_tp.tp_doi) { in tsol_receive_local()
[all …]
H A Dtn_ipopt.c343 switch (dst_rhtp->tpc_tp.host_type) { in tsol_check_dest()
353 if (dst_rhtp->tpc_tp.tp_doi != tsl->tsl_doi) { in tsol_check_dest()
361 if (!blequal(&dst_rhtp->tpc_tp.tp_def_label, in tsol_check_dest()
366 &dst_rhtp->tpc_tp.tp_def_label))) { in tsol_check_dest()
380 if ((newtsl = labelalloc(&dst_rhtp->tpc_tp.tp_def_label, in tsol_check_dest()
381 dst_rhtp->tpc_tp.tp_doi, KM_NOSLEEP)) == NULL) { in tsol_check_dest()
405 if (dst_rhtp->tpc_tp.tp_cipso_doi_cipso != tsl->tsl_doi || in tsol_check_dest()
407 &dst_rhtp->tpc_tp.tp_sl_range_cipso) && in tsol_check_dest()
409 dst_rhtp->tpc_tp.tp_sl_set_cipso))) { in tsol_check_dest()
523 attrp->igsa_rhc->rhc_tpc->tpc_tp.host_type == UNLABELED) { in tsol_compute_label_v4()
[all …]
H A Dip6_if.c1950 if (dst_rhtp->tpc_tp.host_type != UNLABELED) { in ipif_select_source_v6()
2045 src_rhtp->tpc_tp.host_type != SUN_CIPSO || in ipif_select_source_v6()
2046 src_rhtp->tpc_tp.tp_doi != in ipif_select_source_v6()
2047 dst_rhtp->tpc_tp.tp_doi || in ipif_select_source_v6()
2048 (!_blinrange(&dst_rhtp->tpc_tp.tp_def_label, in ipif_select_source_v6()
2049 &src_rhtp->tpc_tp.tp_sl_range_cipso) && in ipif_select_source_v6()
2050 !blinlset(&dst_rhtp->tpc_tp.tp_def_label, in ipif_select_source_v6()
2051 src_rhtp->tpc_tp.tp_sl_set_cipso)); in ipif_select_source_v6()
H A Dip_if.c15346 if (dst_rhtp->tpc_tp.host_type != UNLABELED) { in ipif_select_source_v4()
15422 incompat = src_rhtp->tpc_tp.host_type != SUN_CIPSO || in ipif_select_source_v4()
15423 src_rhtp->tpc_tp.tp_doi != in ipif_select_source_v4()
15424 dst_rhtp->tpc_tp.tp_doi || in ipif_select_source_v4()
15425 (!_blinrange(&dst_rhtp->tpc_tp.tp_def_label, in ipif_select_source_v4()
15426 &src_rhtp->tpc_tp.tp_sl_range_cipso) && in ipif_select_source_v4()
15427 !blinlset(&dst_rhtp->tpc_tp.tp_def_label, in ipif_select_source_v4()
15428 src_rhtp->tpc_tp.tp_sl_set_cipso)); in ipif_select_source_v4()
/titanic_41/usr/src/uts/common/os/
H A Dlabelsys.c421 ASSERT(tpc->tpc_tp.host_type == UNLABELED || in tnrh_load()
422 tpc->tpc_tp.host_type == SUN_CIPSO); in tnrh_load()
473 bcopy(tpc->tpc_tp.name, rhent->rh_template, in tnrh_get()
592 bcopy(tpent, &tpc->tpc_tp, sizeof (tpc->tpc_tp)); in tnrhtp_create()
593 (void) mod_hash_insert(tpc_name_hash, (mod_hash_key_t)tpc->tpc_tp.name, in tnrhtp_create()
614 (mod_hash_key_t)tpc->tpc_tp.name); in tnrhtp_delete()
700 if (copyout(&tpc->tpc_tp, buf, sizeof (tpc->tpc_tp)) != 0) { in tnrhtp()
1137 tpc = tnrhtp_find(rh->rhc_tpc->tpc_tp.name, tpc_name_hash); in find_rhc()
1147 ASSERT(tpc->tpc_tp.host_type == UNLABELED || in find_rhc()
1148 tpc->tpc_tp.host_type == SUN_CIPSO); in find_rhc()
H A Dtlabel.c289 if (tp->tpc_tp.host_type == SUN_CIPSO) { in getflabel_nfs()
294 if (tp->tpc_tp.host_type != UNLABELED) in getflabel_nfs()
297 server_sl = &tp->tpc_tp.tp_def_label; in getflabel_nfs()
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c973 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in smbfs_mount_label_policy()
975 if ((tp->tpc_tp.host_type != UNLABELED)) in smbfs_mount_label_policy()
978 server_sl = &tp->tpc_tp.tp_def_label; in smbfs_mount_label_policy()
/titanic_41/usr/src/uts/common/sys/tsol/
H A Dtndb.h255 struct tsol_tpent tpc_tp; /* template */ member
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c5159 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in nfs_mount_label_policy()
5161 if ((tp->tpc_tp.host_type != SUN_CIPSO) && in nfs_mount_label_policy()
5162 (tp->tpc_tp.host_type != UNLABELED)) in nfs_mount_label_policy()
5165 if (tp->tpc_tp.host_type == SUN_CIPSO) { in nfs_mount_label_policy()
5172 server_sl = &tp->tpc_tp.tp_def_label; in nfs_mount_label_policy()
H A Dnfs3_srv.c464 if (tp == NULL || tp->tpc_tp.tp_doi != in rfs3_lookup()
465 l_admin_low->tsl_doi || tp->tpc_tp.host_type != in rfs3_lookup()
H A Dnfs4_srv.c2858 if (tp == NULL || tp->tpc_tp.tp_doi != in do_rfs4_op_lookup()
2859 l_admin_low->tsl_doi || tp->tpc_tp.host_type != in do_rfs4_op_lookup()