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

/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetrhent.c114 if (rh->rh_prefix == -1)
115 rh->rh_prefix = get_classful_prefix(rh->
121 if (rh->rh_prefix == -1)
122 rh->rh_prefix = len;
134 if (rh->rh_prefix == -1)
135 rh->rh_prefix = IPV6_ABITS;
140 if (rh->rh_prefix < 0 || rh->rh_prefix > upper_lim)
147 len = rh->rh_prefix;
221 rhentp->rh_prefix
[all...]
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c139 (void) snprintf(tmpbuf, sizeof (tmpbuf), "/%d", rhentp->rh_prefix);
145 if (rhentp->rh_prefix != 128) {
156 if (rhentp->rh_prefix != 32) {
267 rhent.rh_prefix = strtol(cp1, &cp2, 0);
268 if (*cp2 != '\0' || errno != 0 || rhent.rh_prefix < 0) {
274 rhent.rh_prefix = -1;
310 if (rhent.rh_prefix == -1)
311 rhent.rh_prefix = 32;
315 if (rhent.rh_prefix == -1)
316 rhent.rh_prefix
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c235 if (rhent->rh_prefix < 0 || rhent->rh_prefix > IP_ABITS)
237 if (tnrhc_table[rhent->rh_prefix] == NULL)
239 tmpmask = tsol_plen_to_mask(rhent->rh_prefix);
240 tnrhc_hash = &tnrhc_table[rhent->rh_prefix][
244 if (rhent->rh_prefix < 0 || rhent->rh_prefix > IPV6_ABITS)
246 if (tnrhc_table_v6[rhent->rh_prefix] == NULL)
248 tsol_plen_to_mask_v6(rhent->rh_prefix, &tmpmask_v6);
249 tnrhc_hash = &tnrhc_table_v6[rhent->rh_prefix][
[all...]
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c942 i = ent->rh_prefix;
1041 i = ent->rh_prefix;
1330 rflag += walk_cache_table(addr, ent->rh_template, ent->rh_prefix, src);
1381 ent->rh_prefix, src);
1537 rhentp.rh_prefix = tlbt->masklen_used;
1599 rhentp.rh_prefix = tlbt->masklen_used;
1846 (void) fprintf(logf, gettext("\tprefix_len: %d\n"), ent->rh_prefix);
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtndb.h85 short rh_prefix; /* length of subnet mask */ member in struct:tsol_rhent
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c2157 rhent.rh_prefix = 32;
2160 rhent.rh_prefix = 128;
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c2864 au_uwrite(au_to_arg32(2, "prefix len", rhent->rh_prefix));

Completed in 293 milliseconds