Lines Matching refs:tpc_tp

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()
746 if (src_rhtp->tpc_tp.host_type == UNLABELED) in tsol_get_pkt_label()
805 if (src_rhtp->tpc_tp.host_type == SUN_CIPSO) in tsol_get_pkt_label()
807 else if (src_rhtp->tpc_tp.host_type == UNLABELED) in tsol_get_pkt_label()
996 if (tp->tpc_tp.host_type == UNLABELED) { in tsol_receive_local()
1002 } else if (tp->tpc_tp.host_type != SUN_CIPSO) { in tsol_receive_local()
1008 } else if (plabel->tsl_doi != tp->tpc_tp.tp_doi) { in tsol_receive_local()
1014 } else if (!_blinrange(label, &tp->tpc_tp.tp_sl_range_cipso) && in tsol_receive_local()
1015 !blinlset(label, tp->tpc_tp.tp_sl_set_cipso)) { in tsol_receive_local()
1066 if (label2doi(plabel) != src_rhtp->tpc_tp.tp_doi) { in tsol_can_accept_raw()
1073 } else if ((src_rhtp->tpc_tp.host_type != UNLABELED && in tsol_can_accept_raw()
1075 &src_rhtp->tpc_tp.tp_sl_range_cipso) && in tsol_can_accept_raw()
1077 src_rhtp->tpc_tp.tp_sl_set_cipso)) || in tsol_can_accept_raw()
1078 (src_rhtp->tpc_tp.host_type == UNLABELED && in tsol_can_accept_raw()
1079 !blequal(&plabel->tsl_label, &src_rhtp->tpc_tp.tp_def_label))) { in tsol_can_accept_raw()
1089 } else switch (dst_rhtp->tpc_tp.host_type) { in tsol_can_accept_raw()
1096 &dst_rhtp->tpc_tp.tp_sl_range_cipso) || in tsol_can_accept_raw()
1098 dst_rhtp->tpc_tp.tp_sl_set_cipso); in tsol_can_accept_raw()
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()
1396 switch (gw_rhc->rhc_tpc->tpc_tp.host_type) { in tsol_ire_match_gwattr()
1398 if (tsl->tsl_doi != gw_rhc->rhc_tpc->tpc_tp.tp_doi || in tsol_ire_match_gwattr()
1400 &gw_rhc->rhc_tpc->tpc_tp.tp_sl_range_cipso) && in tsol_ire_match_gwattr()
1402 gw_rhc->rhc_tpc->tpc_tp.tp_sl_set_cipso))) { in tsol_ire_match_gwattr()
1414 if (tsl->tsl_doi != gw_rhc->rhc_tpc->tpc_tp.tp_doi || in tsol_ire_match_gwattr()
1416 &gw_rhc->rhc_tpc->tpc_tp.tp_gw_sl_range) && in tsol_ire_match_gwattr()
1418 gw_rhc->rhc_tpc->tpc_tp.tp_gw_sl_set))) { in tsol_ire_match_gwattr()
1588 switch (dst_rhtp->tpc_tp.host_type) { in tsol_ip_forward()
1590 if (tsl->tsl_doi != dst_rhtp->tpc_tp.tp_doi || in tsol_ip_forward()
1592 &dst_rhtp->tpc_tp.tp_sl_range_cipso) && in tsol_ip_forward()
1594 dst_rhtp->tpc_tp.tp_sl_set_cipso))) { in tsol_ip_forward()
1607 if (tsl->tsl_doi != dst_rhtp->tpc_tp.tp_doi || in tsol_ip_forward()
1608 !blequal(&dst_rhtp->tpc_tp.tp_def_label, in tsol_ip_forward()
1628 if (dst_rhtp->tpc_tp.host_type != UNLABELED || in tsol_ip_forward()
1630 gw_rhtp->tpc_tp.host_type != UNLABELED)) in tsol_ip_forward()
1678 if (dst_rhtp->tpc_tp.host_type == UNLABELED && in tsol_ip_forward()
1679 (!off_link || gw_rhtp->tpc_tp.host_type == UNLABELED)) in tsol_ip_forward()
1751 if (pkt_diff > 0 || src_rhtp->tpc_tp.host_type == UNLABELED) { in tsol_pmtu_adjust()
1763 if (pkt_diff > 0 || src_rhtp->tpc_tp.host_type == UNLABELED) in tsol_pmtu_adjust()
2098 (tp->tpc_tp.host_type == SUN_CIPSO && in tsol_check_interface_address()
2099 tp->tpc_tp.tp_doi == default_doi && in tsol_check_interface_address()
2102 (zone != NULL && plabel->tsl_doi == tp->tpc_tp.tp_doi && in tsol_check_interface_address()
2103 ((tp->tpc_tp.host_type == SUN_CIPSO && in tsol_check_interface_address()
2104 (_blinrange(label, &tp->tpc_tp.tp_sl_range_cipso) || in tsol_check_interface_address()
2105 blinlset(label, tp->tpc_tp.tp_sl_set_cipso))))))) { in tsol_check_interface_address()
2119 } else if (tp->tpc_tp.host_type == UNLABELED) { in tsol_check_interface_address()
2124 if (tp->tpc_tp.host_type != SUN_CIPSO) { in tsol_check_interface_address()
2131 tp->tpc_tp.tp_doi, default_doi); in tsol_check_interface_address()
2138 } else if (plabel->tsl_doi != tp->tpc_tp.tp_doi) { in tsol_check_interface_address()
2141 addrbuf, tp->tpc_tp.tp_doi); in tsol_check_interface_address()