/illumos-gate/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 | 77 (((ire)->ire_type & IRE_DEFAULT) || \ 78 (((ire)->ire_type & IRE_INTERFACE) && ((ire)->ire_addr == 0))) 201 if ((ire->ire_type & IRE_LOCAL) && zoneid != ALL_ZONES && in ire_ftable_lookup_v4() 851 if (ire->ire_type != orig_ire->ire_type || in ire_round_robin() 884 (ire->ire_type & IRE_OFFLINK)) { in ire_round_robin() 1067 uint_t ire_type; in ip_select_route() local 1263 ire_type = 0; in ip_select_route() 1271 ire_type = IRE_ONLINK; in ip_select_route() 1280 ire = ire_route_recursive_v4(v4nexthop, ire_type, ill, in ip_select_route() 1286 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() 741 if (ire->ire_type & IRE_NOROUTE) { in ip_rts_request_common() 993 uint_t ire_type; in ire_lookup_v4() local 1001 ire_type = (IRE_ONLINK|IRE_OFFLINK) & ~IRE_IF_CLONE; in ire_lookup_v4() 1009 ire_type, ill, zoneid, tsl, match_flags, 0, ipst, NULL); in ire_lookup_v4() 1014 if (ire->ire_type & IRE_ONLINK) in ire_lookup_v4() 1043 if ((ire->ire_type & IRE_OFFLINK) && in ire_lookup_v4() 1045 ire_type = IRE_IF_ALL; in ire_lookup_v4() 1051 ire_type = (IRE_OFFLINK|IRE_ONLINK); in ire_lookup_v4() 1052 ire_type &= ~(IRE_LOCAL|IRE_LOOPBACK|IRE_BROADCAST); in ire_lookup_v4() [all …]
|
H A D | ip_output.c | 664 (ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) || in ip_verify_lso() 685 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in ip_verify_lso() 712 (ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) || in ip_verify_zcopy() 721 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in ip_verify_zcopy() 1293 if (!(ire1->ire_type & IRE_BROADCAST)) in ire_send_broadcast_v4() 1367 ire1->ire_type); in ire_send_broadcast_v4() 1436 if (ire->ire_type & IRE_MULTICAST) { in multirt_check_v4() 1543 if (ire->ire_type & IRE_MULTICAST) in ire_send_multirt_v4() 1545 else if (ire->ire_type & IRE_BROADCAST) in ire_send_multirt_v4() 1569 if (ire->ire_type & IRE_NOROUTE) { in ire_send_noroute_v4() [all …]
|
H A D | ip6_output.c | 542 if (ire->ire_type & IRE_MULTICAST) { in multirt_check_v6() 655 if (ire->ire_type & IRE_MULTICAST) in ire_send_multirt_v6() 677 if (ire->ire_type & IRE_NOROUTE) { in ire_send_noroute_v6() 1169 uint_t ire_type; in ip_postfrag_multirt_v6() local 1249 &ire1->ire_addr_v6, ire1->ire_type, ire1->ire_ill, in ip_postfrag_multirt_v6() 1265 ire_type = IRE_MULTICAST; in ip_postfrag_multirt_v6() 1268 ire_type = ire1->ire_type; /* Doesn't matter */ in ip_postfrag_multirt_v6() 1282 nce1 = ndp_nce_init(ill1, &nexthop, ire_type); in ip_postfrag_multirt_v6()
|
H A D | ip6.c | 1099 (prev_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) || in icmp_redirect_v6() 1573 if (ire->ire_type & IRE_ONLINK) { in ip_send_potential_redirect_v6() 1887 if (src_ire != NULL && (src_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK))) { in ip_laddr_verify_v6() 2042 if (!(ire->ire_type & IRE_HOST)) in ip_set_destination_v6() 2049 if ((ire->ire_type & (IRE_BROADCAST|IRE_MULTICAST)) && in ip_set_destination_v6() 2138 if ((ire->ire_type & IRE_LOCAL) && ire->ire_zoneid != zoneid) { in ip_set_destination_v6() 2143 if (!(ire->ire_type & (IRE_LOOPBACK|IRE_LOCAL|IRE_MULTICAST))) { in ip_set_destination_v6() 2186 !(ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK|IRE_MULTICAST)) && in ip_set_destination_v6() 2244 uinfo->iulp_localnet = (ire->ire_type & IRE_ONLINK) != 0; in ip_set_destination_v6() 2245 uinfo->iulp_loopback = (ire->ire_type & IRE_LOOPBACK) != 0; in ip_set_destination_v6() [all …]
|
H A D | ip.c | 2661 (prev_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) || in icmp_redirect_v4() 2663 !(ire->ire_type & IRE_IF_ALL) || in icmp_redirect_v4() 3107 if ((ire->ire_type & IRE_ONLINK) || in ip_send_potential_redirect_v4() 3117 if (nhop_ire->ire_type & IRE_IF_CLONE) { in ip_send_potential_redirect_v4() 3132 ASSERT(!(nhop_ire->ire_type & IRE_IF_CLONE)); in ip_send_potential_redirect_v4() 3286 if (src_ire != NULL && (src_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK))) { in ip_laddr_verify_v4() 3292 } else if (src_ire != NULL && src_ire->ire_type & IRE_BROADCAST) { in ip_laddr_verify_v4() 3470 if (!(ire->ire_type & IRE_HOST)) in ip_set_destination_v4() 3477 if ((ire->ire_type & (IRE_BROADCAST|IRE_MULTICAST)) && in ip_set_destination_v4() 3554 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() 1517 off_link = (ire->ire_type & IRE_OFFLINK); in tsol_ip_forward() 1921 } 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 | 154 static ipif_t *ipif_allocate(ill_t *ill, int id, uint_t ire_type, 1272 ASSERT(ire->ire_type & IRE_IF_CLONE); in ill_downi_if_clone() 5743 if (gw_ire->ire_type & (IRE_LOCAL|IRE_LOOPBACK)) { in ip_rt_add() 8154 ASSERT(!(ire->ire_type & IRE_MULTICAST)); in ip_sioctl_tonlink() 8156 if ((ire->ire_type & IRE_ONLINK) && in ip_sioctl_tonlink() 8157 !(ire->ire_type & IRE_BROADCAST)) in ip_sioctl_tonlink() 11988 ipif_allocate(ill_t *ill, int id, uint_t ire_type, boolean_t initialize, in ipif_allocate() argument 11997 ASSERT(ire_type == IRE_LOOPBACK || IAM_WRITER_ILL(ill)); in ipif_allocate() 12020 if ((err = ipif_insert(ipif, ire_type != IRE_LOOPBACK)) != 0) { in ipif_allocate() 12061 ipif->ipif_ire_type = ire_type; in ipif_allocate() [all …]
|
H A D | conn_opt.c | 2751 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in conn_connect() 2766 !(ixa->ixa_ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) && in conn_connect()
|
H A D | ip_input.c | 1405 if (!(ire1->ire_type & IRE_BROADCAST) || in ire_recv_broadcast_v4() 1879 if (!(ire1->ire_type & IRE_BROADCAST)) in ip_input_broadcast_v4()
|
H A D | ip_mroute.c | 2530 ASSERT(ire->ire_type & IRE_MULTICAST); in register_mforward() 2744 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 | 2138 if ((ire->ire_type & IRE_BROADCAST) || in sadb_addrset() 2143 if (ire->ire_type & (IRE_LOCAL | IRE_LOOPBACK)) in sadb_addrset()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 881 else if (ire->ire_type & IRE_OFFLINK) in get_ireflags() 885 if (ire->ire_type & IRE_IF_CLONE) in get_ireflags() 897 if (ire->ire_type == IRE_BROADCAST) in get_ireflags() 899 if (ire->ire_type == IRE_MULTICAST) in get_ireflags() 901 if (ire->ire_type == IRE_LOCAL) in get_ireflags() 903 if (ire->ire_type == IRE_NOROUTE) in get_ireflags() 928 (ire->ire_type & in netstat_irev4_cb() 1009 (ire->ire_type & in netstat_irev6_cb()
|
/illumos-gate/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 | 175 kstat_named_t ire_type; member 202 kstat_named_t ire_type; member
|
H A D | ip.h | 2636 ushort_t ire_type; /* Type of IRE */ member
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 950 irep->ire_type, tmasks, in ire_format() 971 irep->ire_type, tmasks, in ire_format()
|