/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ip_ire.c | 863 ill_t *dst_ill = ire->ire_ill; in ire_walk_ill_match() local 886 ifindex = dst_ill->ill_usesrc_ifindex; in ire_walk_ill_match() 895 if (!ipif_zone_avail(ifindex, dst_ill->ill_isv6, in ire_walk_ill_match() 900 if (dst_ill != NULL && (ire->ire_type & IRE_OFFLINK)) { in ire_walk_ill_match() 903 mutex_enter(&dst_ill->ill_lock); in ire_walk_ill_match() 904 for (tipif = dst_ill->ill_ipif; in ire_walk_ill_match() 912 mutex_exit(&dst_ill->ill_lock); in ire_walk_ill_match() 931 zoneid, dst_ill, NULL, ipst, B_FALSE); in ire_walk_ill_match() 939 dst_ill, NULL, ipst, B_FALSE); in ire_walk_ill_match() 952 dst_ill, NULL, ipst, B_FALSE); in ire_walk_ill_match() [all …]
|
H A D | ip_input.c | 842 ill_t *dst_ill; in ire_recv_forward_v4() local 908 dst_ill = nce->nce_ill; in ire_recv_forward_v4() 915 if (!(dst_ill->ill_flags & ILLF_ROUTER) && in ire_recv_forward_v4() 916 !(ip_source_routed(ipha, ipst) && dst_ill == ill)) { in ire_recv_forward_v4() 978 ill_t *, ill, ill_t *, dst_ill, ipha_t *, ipha, mblk_t *, mp); in ire_recv_forward_v4() 985 ill, dst_ill, ipha, mp, mp, 0, ipst, error); in ire_recv_forward_v4() 1054 if (IS_ON_SAME_LAN(dst_ill, ill) && ipst->ips_ip_g_send_redirects) { in ire_recv_forward_v4() 1103 mtu = dst_ill->ill_mtu; in ire_recv_forward_v4() 1118 ill_t *dst_ill = nce->nce_ill; in ip_forward_xmit_v4() local 1149 if (!ip_forward_options(mp, ipha, dst_ill, ira)) { in ip_forward_xmit_v4() [all …]
|
H A D | ip6_ire.c | 692 ill_t *ire_ill = NULL, *dst_ill; in ire_match_args_v6() local 756 dst_ill = ire->ire_ill; in ire_match_args_v6() 764 ifindex = dst_ill->ill_usesrc_ifindex; in ire_match_args_v6() 772 if (!ipif_zone_avail(ifindex, dst_ill->ill_isv6, in ire_match_args_v6() 775 " dst_ill %p\n", (void *)dst_ill)); in ire_match_args_v6() 789 if (dst_ill != NULL && (ire->ire_type & IRE_OFFLINK)) { in ire_match_args_v6() 792 mutex_enter(&dst_ill->ill_lock); in ire_match_args_v6() 793 for (tipif = dst_ill->ill_ipif; in ire_match_args_v6() 801 mutex_exit(&dst_ill->ill_lock); in ire_match_args_v6()
|
H A D | ip6_input.c | 834 ill_t *dst_ill; in ire_recv_forward_v6() local 899 dst_ill = nce->nce_ill; in ire_recv_forward_v6() 908 if (!(dst_ill->ill_flags & ILLF_ROUTER)) { in ire_recv_forward_v6() 955 ill_t *, ill, ill_t *, dst_ill, ip6_t *, ip6h, mblk_t *, mp); in ire_recv_forward_v6() 962 ill, dst_ill, ip6h, mp, mp, 0, ipst, error); in ire_recv_forward_v6() 1017 if (!IS_ON_SAME_LAN(dst_ill, ill)) { in ire_recv_forward_v6() 1059 mtu = dst_ill->ill_mtu; in ire_recv_forward_v6() 1076 ill_t *dst_ill = nce->nce_ill; in ip_forward_xmit_v6() local 1079 ip_stack_t *ipst = dst_ill->ill_ipst; in ip_forward_xmit_v6() 1092 mp = ip_process(IPP_FWD_OUT, mp, dst_ill, dst_ill); in ip_forward_xmit_v6() [all …]
|
H A D | ip6_if.c | 1477 ill_t *dst_ill; member 1624 ill_t *dstill = dstinfo->dst_ill; in rule_interface() 1918 dstinfo.dst_ill = usesrc_ill; in ipif_select_source_v6() 1929 dstinfo.dst_ill = ipmp_ill; in ipif_select_source_v6() 1933 dstinfo.dst_ill = dstill; in ipif_select_source_v6() 1983 ill = dstinfo.dst_ill; in ipif_select_source_v6() 2135 dstinfo.dst_ill->ill_name, in ipif_select_source_v6()
|
H A D | ip.c | 8984 ip_forward_options(mblk_t *mp, ipha_t *ipha, ill_t *dst_ill, in ip_forward_options() argument 9013 BUMP_MIB(dst_ill->ill_ip_mib, in ip_forward_options() 9016 mp, dst_ill); in ip_forward_options() 9039 ASSERT(dst_ill != NULL); in ip_forward_options() 9040 if (ip_select_source_v4(dst_ill, INADDR_ANY, dst, in ip_forward_options() 9074 ASSERT(dst_ill != NULL); in ip_forward_options() 9075 if (ip_select_source_v4(dst_ill, INADDR_ANY, dst, in ip_forward_options() 9126 ASSERT(dst_ill != NULL); in ip_forward_options() 9127 if (ip_select_source_v4(dst_ill, INADDR_ANY, in ip_forward_options()
|
H A D | ip_if.c | 7878 ill_t *dst_ill; in ip_sioctl_dstinfo() local 7948 dst_ill = ire_nexthop_ill(ire); in ip_sioctl_dstinfo() 7949 if (dst_ill == NULL) { in ip_sioctl_dstinfo() 7955 dir->dir_dmactype = dst_ill->ill_mactype; in ip_sioctl_dstinfo() 7960 if (ip_select_source_v4(dst_ill, v4setsrc, v4daddr, in ip_sioctl_dstinfo() 7968 if (ip_select_source_v6(dst_ill, &v6setsrc, daddr, in ip_sioctl_dstinfo() 7981 ill_refrele(dst_ill); in ip_sioctl_dstinfo()
|