Home
last modified time | relevance | path

Searched refs:tpentp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c131 tpentp->host_type = UNLABELED; in parse_remainder()
144 tpentp->tp_mask_unl = 0; in parse_remainder()
157 slp = &tpentp->tp_def_label; in parse_remainder()
179 tpentp->tp_def_label; in parse_remainder()
199 tpentp->tp_mask_cipso = 0; in parse_remainder()
243 tsol_tpent_t *tpentp = NULL; in tpstr_to_ent() local
276 if ((tpentp = calloc(1, sizeof (*tpentp))) == NULL) { in tpstr_to_ent()
280 if ((strlcpy(tpentp->name, template, sizeof (tpentp->name)) >= in tpstr_to_ent()
281 sizeof (tpentp->name)) || in tpstr_to_ent()
295 return (tpentp); in tpstr_to_ent()
[all …]
H A Dtsol_gettpent.c130 tsol_tpent_t *tpentp = NULL; in tsol_fgettpent() local
138 tpentp = tpstr_to_ent(tpstrp, &err, &errstr); in tsol_fgettpent()
139 while (tpentp == NULL) { in tsol_fgettpent()
155 tpentp = tpstr_to_ent(tpstrp, &err, &errstr); in tsol_fgettpent()
157 return (tpentp); in tsol_fgettpent()
/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c269 tsol_tpent_t *tpentp; local
304 if (tpentp == NULL) {
317 switch (tpentp->host_type) {
326 if (tpentp->tp_cipso_doi_unl == 0)
330 tpentp->name, TP_DEFLABEL);
341 linenum, tpentp->name);
367 linenum, tpentp->name);
390 if (tpentp->tp_cipso_doi_cipso == 0)
397 tpentp->host_type, linenum, tpentp->name);
410 add_template(tpentp->name, linenum);
[all …]
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c469 tsol_tpent_t *tpentp; in process_tpl() local
489 if (tnrhtp(TNDB_LOAD, tpentp) != 0) { in process_tpl()
501 tsol_freetpent(tpentp); in process_tpl()
520 tsol_tpent_t *tpentp; in process_tp() local
529 if (tpentp == NULL) { in process_tp()
535 tpentp = &tpent; in process_tp()
536 (void) strlcpy(tpentp->name, template, sizeof (tpentp->name)); in process_tp()
556 tpentp->name); in process_tp()
562 tpentp->name, strerror(errno)); in process_tp()
565 if (tpentp != &tpent) in process_tp()
[all …]