Home
last modified time | relevance | path

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; 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()
1098 dst_rhtp->tpc_tp.tp_sl_set_cipso); in tsol_can_accept_raw()
1175 switch (rhtp->tpc_tp.host_type) { in tsol_can_reply_error()
1179 &rhtp->tpc_tp.tp_def_label); in tsol_can_reply_error()
1182 &rhtp->tpc_tp.tp_def_label); in tsol_can_reply_error()
1588 switch (dst_rhtp->tpc_tp.host_type) { in tsol_ip_forward()
2099 tp->tpc_tp.tp_doi == default_doi && in tsol_check_interface_address()
2131 tp->tpc_tp.tp_doi, default_doi); in tsol_check_interface_address()
[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.c15358 if (dst_rhtp->tpc_tp.host_type != UNLABELED) { in ipif_select_source_v4()
15434 incompat = src_rhtp->tpc_tp.host_type != SUN_CIPSO || in ipif_select_source_v4()
15435 src_rhtp->tpc_tp.tp_doi != in ipif_select_source_v4()
15436 dst_rhtp->tpc_tp.tp_doi || in ipif_select_source_v4()
15437 (!_blinrange(&dst_rhtp->tpc_tp.tp_def_label, in ipif_select_source_v4()
15438 &src_rhtp->tpc_tp.tp_sl_range_cipso) && in ipif_select_source_v4()
15439 !blinlset(&dst_rhtp->tpc_tp.tp_def_label, in ipif_select_source_v4()
15440 src_rhtp->tpc_tp.tp_sl_set_cipso)); in ipif_select_source_v4()
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c419 ASSERT(tpc->tpc_tp.host_type == UNLABELED || in tnrh_load()
420 tpc->tpc_tp.host_type == SUN_CIPSO); in tnrh_load()
471 bcopy(tpc->tpc_tp.name, rhent->rh_template, in tnrh_get()
590 bcopy(tpent, &tpc->tpc_tp, sizeof (tpc->tpc_tp)); in tnrhtp_create()
591 (void) mod_hash_insert(tpc_name_hash, (mod_hash_key_t)tpc->tpc_tp.name, in tnrhtp_create()
612 (mod_hash_key_t)tpc->tpc_tp.name); in tnrhtp_delete()
698 if (copyout(&tpc->tpc_tp, buf, sizeof (tpc->tpc_tp)) != 0) { in tnrhtp()
1135 tpc = tnrhtp_find(rh->rhc_tpc->tpc_tp.name, tpc_name_hash); in find_rhc()
1145 ASSERT(tpc->tpc_tp.host_type == UNLABELED || in find_rhc()
1146 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()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c1106 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in smbfs_mount_label_policy()
1108 if ((tp->tpc_tp.host_type != UNLABELED)) in smbfs_mount_label_policy()
1111 server_sl = &tp->tpc_tp.tp_def_label; in smbfs_mount_label_policy()
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtndb.h256 struct tsol_tpent tpc_tp; /* template */ member
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c5160 if (tp->tpc_tp.tp_doi != zlabel->tsl_doi) in nfs_mount_label_policy()
5162 if ((tp->tpc_tp.host_type != SUN_CIPSO) && in nfs_mount_label_policy()
5163 (tp->tpc_tp.host_type != UNLABELED)) in nfs_mount_label_policy()
5166 if (tp->tpc_tp.host_type == SUN_CIPSO) { in nfs_mount_label_policy()
5173 server_sl = &tp->tpc_tp.tp_def_label; in nfs_mount_label_policy()
H A Dnfs3_srv.c506 if (tp == NULL || tp->tpc_tp.tp_doi != in rfs3_lookup()
507 l_admin_low->tsl_doi || tp->tpc_tp.host_type != in rfs3_lookup()
H A Dnfs4_srv.c3099 if (tp == NULL || tp->tpc_tp.tp_doi != in do_rfs4_op_lookup()
3100 l_admin_low->tsl_doi || tp->tpc_tp.host_type != in do_rfs4_op_lookup()