Searched refs:tpentp (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgettpent.c | 53 get_tn_doi(tsol_tpent_t *tpentp, kva_t *kv) in get_tn_doi() argument 63 tpentp->tp_doi = strtol(val, &cp, 0); in get_tn_doi() 120 parse_remainder(tsol_tpent_t *tpentp, kva_t *kv) in parse_remainder() argument 131 tpentp->host_type = UNLABELED; in parse_remainder() 133 tpentp->host_type = SUN_CIPSO; in parse_remainder() 141 if (tpentp->host_type == UNLABELED) { in parse_remainder() 144 tpentp->tp_mask_unl = 0; in parse_remainder() 148 if ((err = get_tn_doi(tpentp, kv)) != 0) in parse_remainder() 150 tpentp->tp_mask_unl |= TSOL_MSK_CIPSO_DOI; in parse_remainder() 157 slp = &tpentp->tp_def_label; in parse_remainder() [all …]
|
H A D | tsol_gettpent.c | 130 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 D | tnchkdb.c | 269 tsol_tpent_t *tpentp; local 303 tpentp = tpstr_to_ent(&tpstr, &err, &errstr); 304 if (tpentp == NULL) { 317 switch (tpentp->host_type) { 323 initial_doi = tpentp->tp_cipso_doi_unl; 324 if (tpentp->tp_cipso_doi_unl != initial_doi) 326 if (tpentp->tp_cipso_doi_unl == 0) 329 cipso_representable(&tpentp->tp_def_label, linenum, 330 tpentp->name, TP_DEFLABEL); 335 l1 = &tpentp->tp_gw_sl_range.lower_bound; [all …]
|
/illumos-gate/usr/src/cmd/tsol/tnctl/ |
H A D | tnctl.c | 469 tsol_tpent_t *tpentp; in process_tpl() local 479 while (tpentp = tsol_fgettpent(fp, &error)) { in process_tpl() 489 if (tnrhtp(TNDB_LOAD, tpentp) != 0) { in process_tpl() 496 "cache failed: %2$s\n"), tpentp->name, in process_tpl() 501 tsol_freetpent(tpentp); in process_tpl() 520 tsol_tpent_t *tpentp; in process_tp() local 528 tpentp = tpstr_to_ent(&tpstr, &err, &errstr); in process_tp() 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() [all …]
|