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