Lines Matching defs:rhtp
625 tsol_find_unlabeled_label(tsol_tpc_t *rhtp, bslabel_t *sl, uint32_t *doi)
627 *doi = rhtp->tpc_tp.tp_doi;
628 switch (rhtp->tpc_tp.host_type) {
630 *sl = rhtp->tpc_tp.tp_def_label;
633 *sl = rhtp->tpc_tp.tp_sl_range_cipso.upper_bound;
1128 tsol_tpc_t *rhtp;
1159 rhtp = find_tpc(&ipha->ipha_dst, IPV4_VERSION, B_FALSE);
1162 rhtp = find_tpc(&ip6h->ip6_dst, IPV6_VERSION, B_FALSE);
1165 if (rhtp == NULL || label2doi(plabel) != rhtp->tpc_tp.tp_doi) {
1175 switch (rhtp->tpc_tp.host_type) {
1179 &rhtp->tpc_tp.tp_def_label);
1182 &rhtp->tpc_tp.tp_def_label);
1188 &rhtp->tpc_tp.tp_sl_range_cipso) ||
1189 blinlset(pktbs, rhtp->tpc_tp.tp_sl_set_cipso);
1198 if (rhtp != NULL)
1199 TPC_RELE(rhtp);