/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip_ire.c | 228 static void ire_walk_ill_ipvers(uint_t match_flags, uint_t ire_type, 552 switch (ire->ire_type) { in ire_init_v4() 590 if (ire->ire_type != IRE_BROADCAST) in ire_init_v4() 606 (ire->ire_type & IRE_MULTICAST)) in ire_determine_nce_capable() 614 if ((ire->ire_type & IRE_ONLINK) && ire->ire_masklen == max_masklen) in ire_determine_nce_capable() 689 ire->ire_type = type; in ire_init_common() 822 ire_walk_ill(uint_t match_flags, uint_t ire_type, pfv_t func, void *arg, in ire_walk_ill() argument 827 ire_walk_ill_ipvers(match_flags, ire_type, func, arg, vers, ill); in ire_walk_ill() 834 ire_walk_ill_ipvers(uint_t match_flags, uint_t ire_type, pfv_t func, in ire_walk_ill_ipvers() argument 840 ire_walk_ill_tables(match_flags, ire_type, func, arg, in ire_walk_ill_ipvers() [all …]
|
H A D | ip6_ire.c | 62 (((ire)->ire_type & IRE_DEFAULT) || \ 63 (((ire)->ire_type & IRE_INTERFACE) && \ 135 switch (ire->ire_type) { in ire_init_v6() 396 if (ire1->ire_type != ire->ire_type) in ire_add_v6() 408 ire->ire_type, ire->ire_ill, ire->ire_zoneid, NULL, in ire_add_v6() 421 if (ire->ire_type != IRE_IF_CLONE) { in ire_add_v6() 443 if (ire->ire_type & IRE_IF_CLONE) { in ire_add_v6() 561 if (ire->ire_type == IRE_DEFAULT) { in ire_delete_v6() 578 if ((ire->ire_type & IRE_INTERFACE) && ire->ire_dep_children != 0) in ire_delete_v6() 609 if (ire->ire_type & IRE_IF_CLONE) in ire_flush_cache_v6() [all …]
|
H A D | ip_ftable.c | 76 (((ire)->ire_type & IRE_DEFAULT) || \ 77 (((ire)->ire_type & IRE_INTERFACE) && ((ire)->ire_addr == 0))) 200 if ((ire->ire_type & IRE_LOCAL) && zoneid != ALL_ZONES && in ire_ftable_lookup_v4() 850 if (ire->ire_type != orig_ire->ire_type || in ire_round_robin() 883 (ire->ire_type & IRE_OFFLINK)) { in ire_round_robin() 1066 uint_t ire_type; in ip_select_route() local 1262 ire_type = 0; in ip_select_route() 1270 ire_type = IRE_ONLINK; in ip_select_route() 1279 ire = ire_route_recursive_v4(v4nexthop, ire_type, ill, in ip_select_route() 1285 ire = ire_route_recursive_v6(&v6nexthop, ire_type, ill, in ip_select_route() [all …]
|
H A D | ip_rts.c | 201 ASSERT(!(ire->ire_type & IRE_IF_CLONE)); in ip_rts_rtmsg() 736 if (ire->ire_type & IRE_NOROUTE) { in ip_rts_request_common() 988 uint_t ire_type; in ire_lookup_v4() local 996 ire_type = (IRE_ONLINK|IRE_OFFLINK) & ~IRE_IF_CLONE; in ire_lookup_v4() 1004 ire_type, ill, zoneid, tsl, match_flags, 0, ipst, NULL); in ire_lookup_v4() 1009 if (ire->ire_type & IRE_ONLINK) in ire_lookup_v4() 1038 if ((ire->ire_type & IRE_OFFLINK) && in ire_lookup_v4() 1040 ire_type = IRE_IF_ALL; in ire_lookup_v4() 1046 ire_type = (IRE_OFFLINK|IRE_ONLINK); in ire_lookup_v4() 1047 ire_type &= ~(IRE_LOCAL|IRE_LOOPBACK|IRE_BROADCAST); in ire_lookup_v4() [all …]
|
H A D | ip_output.c | 662 (ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) || in ip_verify_lso() 682 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in ip_verify_lso() 709 (ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) || in ip_verify_zcopy() 718 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in ip_verify_zcopy() 1289 if (!(ire1->ire_type & IRE_BROADCAST)) in ire_send_broadcast_v4() 1363 ire1->ire_type); in ire_send_broadcast_v4() 1432 if (ire->ire_type & IRE_MULTICAST) { in multirt_check_v4() 1539 if (ire->ire_type & IRE_MULTICAST) in ire_send_multirt_v4() 1541 else if (ire->ire_type & IRE_BROADCAST) in ire_send_multirt_v4() 1565 if (ire->ire_type & IRE_NOROUTE) { in ire_send_noroute_v4() [all …]
|
H A D | ip6_output.c | 538 if (ire->ire_type & IRE_MULTICAST) { in multirt_check_v6() 651 if (ire->ire_type & IRE_MULTICAST) in ire_send_multirt_v6() 673 if (ire->ire_type & IRE_NOROUTE) { in ire_send_noroute_v6() 1156 uint_t ire_type; in ip_postfrag_multirt_v6() local 1236 &ire1->ire_addr_v6, ire1->ire_type, ire1->ire_ill, in ip_postfrag_multirt_v6() 1252 ire_type = IRE_MULTICAST; in ip_postfrag_multirt_v6() 1255 ire_type = ire1->ire_type; /* Doesn't matter */ in ip_postfrag_multirt_v6() 1269 nce1 = ndp_nce_init(ill1, &nexthop, ire_type); in ip_postfrag_multirt_v6()
|
H A D | ip6.c | 1109 (prev_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) || in icmp_redirect_v6() 1583 if (ire->ire_type & IRE_ONLINK) { in ip_send_potential_redirect_v6() 1897 if (src_ire != NULL && (src_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK))) { in ip_laddr_verify_v6() 2052 if (!(ire->ire_type & IRE_HOST)) in ip_set_destination_v6() 2059 if ((ire->ire_type & (IRE_BROADCAST|IRE_MULTICAST)) && in ip_set_destination_v6() 2148 if ((ire->ire_type & IRE_LOCAL) && ire->ire_zoneid != zoneid) { in ip_set_destination_v6() 2153 if (!(ire->ire_type & (IRE_LOOPBACK|IRE_LOCAL|IRE_MULTICAST))) { in ip_set_destination_v6() 2196 !(ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK|IRE_MULTICAST)) && in ip_set_destination_v6() 2254 uinfo->iulp_localnet = (ire->ire_type & IRE_ONLINK) != 0; in ip_set_destination_v6() 2255 uinfo->iulp_loopback = (ire->ire_type & IRE_LOOPBACK) != 0; in ip_set_destination_v6() [all …]
|
H A D | ip.c | 2657 (prev_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) || in icmp_redirect_v4() 2659 !(ire->ire_type & IRE_IF_ALL) || in icmp_redirect_v4() 3082 if ((ire->ire_type & IRE_ONLINK) || in ip_send_potential_redirect_v4() 3092 if (nhop_ire->ire_type & IRE_IF_CLONE) { in ip_send_potential_redirect_v4() 3107 ASSERT(!(nhop_ire->ire_type & IRE_IF_CLONE)); in ip_send_potential_redirect_v4() 3261 if (src_ire != NULL && (src_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK))) { in ip_laddr_verify_v4() 3267 } else if (src_ire != NULL && src_ire->ire_type & IRE_BROADCAST) { in ip_laddr_verify_v4() 3445 if (!(ire->ire_type & IRE_HOST)) in ip_set_destination_v4() 3452 if ((ire->ire_type & (IRE_BROADCAST|IRE_MULTICAST)) && in ip_set_destination_v4() 3529 if ((ire->ire_type & IRE_LOCAL) && ire->ire_zoneid != zoneid) { in ip_set_destination_v4() [all …]
|
H A D | tnet.c | 1247 (ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK | IRE_BROADCAST | in tsol_ire_match_gwattr() 1316 } else if (ire->ire_type & IRE_OFFLINK) { in tsol_ire_match_gwattr() 1514 off_link = (ire->ire_type & IRE_OFFLINK); in tsol_ip_forward() 1918 } else if (ire->ire_type & IRE_OFFLINK) { in tsol_ire_init_gwattr()
|
H A D | tn_ipopt.c | 508 if (ire->ire_type & (IRE_BROADCAST | IRE_LOCAL | IRE_LOOPBACK | in tsol_compute_label_v4() 1019 if (ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK | in tsol_compute_label_v6()
|
H A D | ip_if.c | 153 static ipif_t *ipif_allocate(ill_t *ill, int id, uint_t ire_type, 1271 ASSERT(ire->ire_type & IRE_IF_CLONE); in ill_downi_if_clone() 5739 if (gw_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) { in ip_rt_add() 8146 ASSERT(!(ire->ire_type & IRE_MULTICAST)); in ip_sioctl_tonlink() 8148 if ((ire->ire_type & IRE_ONLINK) && in ip_sioctl_tonlink() 8149 !(ire->ire_type & IRE_BROADCAST)) in ip_sioctl_tonlink() 11976 ipif_allocate(ill_t *ill, int id, uint_t ire_type, boolean_t initialize, in ipif_allocate() argument 11985 ASSERT(ire_type == IRE_LOOPBACK || IAM_WRITER_ILL(ill)); in ipif_allocate() 12008 if ((err = ipif_insert(ipif, ire_type != IRE_LOOPBACK)) != 0) { in ipif_allocate() 12049 ipif->ipif_ire_type = ire_type; in ipif_allocate() [all …]
|
H A D | conn_opt.c | 2692 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in conn_connect() 2707 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in conn_connect()
|
H A D | ip_input.c | 1398 if (!(ire1->ire_type & IRE_BROADCAST) || in ire_recv_broadcast_v4() 1872 if (!(ire1->ire_type & IRE_BROADCAST)) in ip_input_broadcast_v4()
|
H A D | ip_mroute.c | 2523 ASSERT(ire->ire_type & IRE_MULTICAST); in register_mforward() 2737 ASSERT(ire->ire_type & (IRE_MULTICAST|IRE_BROADCAST)); in ip_mroute_decap()
|
H A D | ipmp.c | 1796 if (IRE_HIDDEN_TYPE(ire->ire_type)) { in ipmp_ill_ire_mark_testhidden()
|
H A D | ip6_if.c | 722 if (gw_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) { in ip_rt_add_v6()
|
H A D | sadb.c | 2132 if ((ire->ire_type & IRE_BROADCAST) || in sadb_addrset() 2137 if (ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) in sadb_addrset()
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | ip_ire.h | 78 #define IRE_HIDDEN_TYPE(ire_type) ((ire_type) & \ argument 330 extern void ire_walk_ill_tables(uint_t match_flags, uint_t ire_type,
|
H A D | kstatcom.h | 177 kstat_named_t ire_type; member 204 kstat_named_t ire_type; member
|
H A D | ip.h | 2630 ushort_t ire_type; /* Type of IRE */ member
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 878 else if (ire->ire_type & IRE_OFFLINK) in get_ireflags() 882 if (ire->ire_type & IRE_IF_CLONE) in get_ireflags() 894 if (ire->ire_type == IRE_BROADCAST) in get_ireflags() 896 if (ire->ire_type == IRE_MULTICAST) in get_ireflags() 898 if (ire->ire_type == IRE_LOCAL) in get_ireflags() 900 if (ire->ire_type == IRE_NOROUTE) in get_ireflags() 925 (ire->ire_type & in netstat_irev4_cb() 1006 (ire->ire_type & in netstat_irev6_cb()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 717 int ire_type; in delRouteEntry() local 725 ire_type = rp->ipRouteInfo.re_ire_type; in delRouteEntry() 727 ire_type = rp6->ipv6RouteInfo.re_ire_type; in delRouteEntry() 728 if (ire_type != IRE_DEFAULT && in delRouteEntry() 729 ire_type != IRE_PREFIX && in delRouteEntry() 730 ire_type != IRE_HOST && in delRouteEntry() 731 ire_type != IRE_HOST_REDIRECT) in delRouteEntry()
|
/titanic_44/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 948 irep->ire_type, tmasks, in ire_format() 969 irep->ire_type, tmasks, in ire_format()
|