Home
last modified time | relevance | path

Searched refs:rh_prefix (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/lib/libtsnet/common/
H A Dtsol_sgetrhent.c114 if (rh->rh_prefix == -1) in parse_address()
115 rh->rh_prefix = get_classful_prefix(rh-> in parse_address()
121 if (rh->rh_prefix == -1) in parse_address()
122 rh->rh_prefix = len; in parse_address()
134 if (rh->rh_prefix == -1) in parse_address()
135 rh->rh_prefix = IPV6_ABITS; in parse_address()
140 if (rh->rh_prefix < 0 || rh->rh_prefix > upper_lim) in parse_address()
147 len = rh->rh_prefix; in parse_address()
221 rhentp->rh_prefix = strtol(cp, &cp2, 0); in rhstr_to_ent()
233 rhentp->rh_prefix = -1; in rhstr_to_ent()
/titanic_50/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c139 (void) snprintf(tmpbuf, sizeof (tmpbuf), "/%d", rhentp->rh_prefix); in translate_inet_addr()
145 if (rhentp->rh_prefix != 128) { in translate_inet_addr()
156 if (rhentp->rh_prefix != 32) { in translate_inet_addr()
267 rhent.rh_prefix = strtol(cp1, &cp2, 0); in process_rh()
268 if (*cp2 != '\0' || errno != 0 || rhent.rh_prefix < 0) { in process_rh()
274 rhent.rh_prefix = -1; in process_rh()
310 if (rhent.rh_prefix == -1) in process_rh()
311 rhent.rh_prefix = 32; in process_rh()
315 if (rhent.rh_prefix == -1) in process_rh()
316 rhent.rh_prefix = 128; in process_rh()
/titanic_50/usr/src/uts/common/os/
H A Dlabelsys.c235 if (rhent->rh_prefix < 0 || rhent->rh_prefix > IP_ABITS) in tnrh_delete()
237 if (tnrhc_table[rhent->rh_prefix] == NULL) in tnrh_delete()
239 tmpmask = tsol_plen_to_mask(rhent->rh_prefix); in tnrh_delete()
240 tnrhc_hash = &tnrhc_table[rhent->rh_prefix][ in tnrh_delete()
244 if (rhent->rh_prefix < 0 || rhent->rh_prefix > IPV6_ABITS) in tnrh_delete()
246 if (tnrhc_table_v6[rhent->rh_prefix] == NULL) in tnrh_delete()
248 tsol_plen_to_mask_v6(rhent->rh_prefix, &tmpmask_v6); in tnrh_delete()
249 tnrhc_hash = &tnrhc_table_v6[rhent->rh_prefix][ in tnrh_delete()
443 status = tnrh_hash_add(new, rhent->rh_prefix); in tnrh_load()
/titanic_50/usr/src/cmd/tsol/tnd/
H A Dtnd.c942 i = ent->rh_prefix; in rhtable_search_and_update()
1041 i = ent->rh_prefix; in rhtable_search_and_update_v6()
1330 rflag += walk_cache_table(addr, ent->rh_template, ent->rh_prefix, src); in update_cache_table()
1381 ent->rh_prefix, src); in update_cache_table_v6()
1537 rhentp.rh_prefix = tlbt->masklen_used; in load_rh_marked()
1599 rhentp.rh_prefix = tlbt->masklen_used; in load_rh_marked_v6()
1846 (void) fprintf(logf, gettext("\tprefix_len: %d\n"), ent->rh_prefix); in print_entry()
/titanic_50/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c479 if ((tal = find_host(rhentp->rh_prefix, addr)) != NULL) {
485 add_host(rhentp->rh_prefix, addr, linenum);
/titanic_50/usr/src/uts/common/sys/tsol/
H A Dtndb.h85 short rh_prefix; /* length of subnet mask */ member
/titanic_50/usr/src/uts/common/inet/ip/
H A Dtnet.c2157 rhent.rh_prefix = 32; in tsol_check_interface_address()
2160 rhent.rh_prefix = 128; in tsol_check_interface_address()
/titanic_50/usr/src/uts/common/c2/
H A Daudit_event.c2861 au_uwrite(au_to_arg32(2, "prefix len", rhent->rh_prefix)); in aus_labelsys()