Searched defs:rhent (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_getrhent.c | 225 tsol_rhent_t rhent; local 233 (void) memset(&rhent, 0, sizeof (rhent)); 237 rhent.rh_address.ta_family = AF_INET; 238 IN6_V4MAPPED_TO_INADDR(&in6, &rhent.rh_address.ta_addr_v4); 239 (void) inet_ntop(AF_INET, &rhent.rh_address.ta_addr_v4, abuf, 242 rhent.rh_address.ta_family = AF_INET6; 243 rhent.rh_address.ta_addr_v6 = in6; 247 if (tnrh(TNDB_GET, &rhent) != 0) 250 if (rhent [all...] |
/illumos-gate/usr/src/cmd/tsol/tninfo/ |
H A D | tninfo.c | 229 tsol_rhent_t rhent; local 241 (void) memset(&rhent, 0, sizeof (rhent)); 245 rhent.rh_address.ta_family = AF_INET; 246 IN6_V4MAPPED_TO_INADDR(&in6, &rhent.rh_address.ta_addr_v4); 247 (void) inet_ntop(AF_INET, &rhent.rh_address.ta_addr_v4, abuf, 250 rhent.rh_address.ta_family = AF_INET6; 251 rhent.rh_address.ta_addr_v6 = in6; 257 if (tnrh(TNDB_GET, &rhent) != 0) { 267 if (rhent [all...] |
/illumos-gate/usr/src/cmd/tsol/tnctl/ |
H A D | tnctl.c | 135 tsol_rhent_t rhent; local 233 tsol_rhent_t rhent; local 267 rhent.rh_prefix = strtol(cp1, &cp2, 0); 268 if (*cp2 != '\0' || errno != 0 || rhent.rh_prefix < 0) { 274 rhent.rh_prefix = -1; 307 rhent.rh_address.ta_family = AF_INET; 309 &rhent.rh_address.ta_addr_v4); 310 if (rhent.rh_prefix == -1) 311 rhent.rh_prefix = 32; 313 rhent [all...] |
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 786 tnd_tnrhdb_t *rhent, *prev; local 814 prev = rhent = tnrh_entire_table[i][j]; 816 while (rhent != NULL) { 817 if (rhent->visited == 0) { 821 if (rhent == tnrh_entire_table[i][j]) { 823 rhent->rh_next; 826 prev->rh_next = rhent->rh_next; 830 free(rhent); 835 rhent = prev; 839 rhent 861 tnd_tnrhdb_t *rhent, *prev; local 934 tnd_tnrhdb_t *rhent; local 1033 tnd_tnrhdb_t *rhent; local 1109 tnd_tnrhdb_t *rhent; local 1150 tnd_tnrhdb_t *rhent; local 1880 tnd_tnrhdb_t *rhent; local 1905 tnd_tnrhdb_t *rhent; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tnet.c | 2055 tsol_rhent_t rhent; local 2154 * come up as cipso. Need to insert an rhent. 2156 if ((rhent.rh_address.ta_family = af) == AF_INET) { 2157 rhent.rh_prefix = 32; 2158 rhent.rh_address.ta_addr_v4 = *(struct in_addr *)addr; 2160 rhent.rh_prefix = 128; 2161 rhent.rh_address.ta_addr_v6 = *(in6_addr_t *)addr; 2163 (void) strcpy(rhent.rh_template, "cipso"); 2164 if (tnrh_load(&rhent) != 0) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | labelsys.c | 226 tnrh_delete(const tsol_rhent_t *rhent) argument 234 if (rhent->rh_address.ta_family == AF_INET) { 235 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][ 241 TSOL_ADDR_HASH(rhent->rh_address.ta_addr_v4.s_addr & 243 } else if (rhent->rh_address.ta_family == AF_INET6) { 244 if (rhent 411 tnrh_load(const tsol_rhent_t *rhent) argument 450 tnrh_get(tsol_rhent_t *rhent) argument 496 tsol_rhent_t rhent; local [all...] |
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 2837 tsol_rhent_t *rhent; local 2846 rhent = kmem_alloc(sizeof (tsol_rhent_t), KM_SLEEP); 2847 if (copyin((caddr_t)a2, rhent, sizeof (tsol_rhent_t))) { 2848 kmem_free(rhent, sizeof (tsol_rhent_t)); 2852 rh_addr = &rhent->rh_address; 2864 au_uwrite(au_to_arg32(2, "prefix len", rhent->rh_prefix)); 2866 kmem_free(rhent, sizeof (tsol_rhent_t));
|
Completed in 100 milliseconds