Searched defs:tpentp (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_gettpent.c132 tsol_tpent_t *tpentp = NULL; local
140 tpentp = tpstr_to_ent(tpstrp, &err, &errstr);
141 while (tpentp == NULL) {
157 tpentp = tpstr_to_ent(tpstrp, &err, &errstr);
159 return (tpentp);
H A Dtsol_sgettpent.c53 get_tn_doi(tsol_tpent_t *tpentp, kva_t *kv) argument
63 tpentp->tp_doi = strtol(val, &cp, 0);
120 parse_remainder(tsol_tpent_t *tpentp, kva_t *kv) argument
131 tpentp->host_type = UNLABELED;
133 tpentp->host_type = SUN_CIPSO;
141 if (tpentp->host_type == UNLABELED) {
144 tpentp->tp_mask_unl = 0;
148 if ((err = get_tn_doi(tpentp, kv)) != 0)
150 tpentp->tp_mask_unl |= TSOL_MSK_CIPSO_DOI;
157 slp = &tpentp
243 tsol_tpent_t *tpentp = NULL; local
[all...]
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c468 tsol_tpent_t *tpentp; local
478 while (tpentp = tsol_fgettpent(fp, &error)) {
488 if (tnrhtp(TNDB_LOAD, tpentp) != 0) {
495 "cache failed: %2$s\n"), tpentp->name,
500 tsol_freetpent(tpentp);
519 tsol_tpent_t *tpentp; local
527 tpentp = tpstr_to_ent(&tpstr, &err, &errstr);
528 if (tpentp == NULL) {
534 tpentp = &tpent;
535 (void) strlcpy(tpentp
[all...]
/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c269 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
[all...]

Completed in 254 milliseconds