Lines Matching defs:rhtpent
648 tsol_tpent_t rhtpent;
661 if (copyin(buf, &rhtpent, sizeof (rhtpent)) != 0) {
670 if (!template_name_ok(rhtpent.name))
677 rhtpent.name);
678 type = rhtpent.host_type;
684 if (tnrhtp_create(&rhtpent, KM_NOSLEEP) == NULL)
692 rhtpent.name);
693 tpc = tnrhtp_find(rhtpent.name, tpc_name_hash);
711 rhtpent.name);
712 retv = tnrhtp_delete(rhtpent.name);
1209 tsol_tpent_t rhtpent;
1211 bzero(&rhtpent, sizeof (rhtpent));
1214 (void) strcpy(rhtpent.name, "_unlab");
1216 rhtpent.host_type = UNLABELED;
1217 rhtpent.tp_mask_unl = TSOL_MSK_DEF_LABEL | TSOL_MSK_DEF_CL |
1220 rhtpent.tp_gw_sl_range.lower_bound = *label2bslabel(l_admin_low);
1221 rhtpent.tp_def_label = rhtpent.tp_gw_sl_range.lower_bound;
1222 rhtpent.tp_gw_sl_range.upper_bound = *label2bslabel(l_admin_high);
1223 rhtpent.tp_cipso_doi_unl = default_doi;
1224 tpc_unlab = tnrhtp_create(&rhtpent, KM_SLEEP);