Home
last modified time | relevance | path

Searched refs:ire1 (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_output.c1238 ire_t *ire1; in ire_send_broadcast_v4() local
1279 for (ire1 = irb->irb_ire; ire1 != NULL; ire1 = ire1->ire_next) { in ire_send_broadcast_v4()
1281 if (ire1 == ire) in ire_send_broadcast_v4()
1292 ASSERT(ire1->ire_addr == ire->ire_addr); in ire_send_broadcast_v4()
1293 if (!(ire1->ire_type & IRE_BROADCAST)) in ire_send_broadcast_v4()
1296 if (IRE_IS_CONDEMNED(ire1)) in ire_send_broadcast_v4()
1300 ire->ire_zoneid != ire1->ire_zoneid) in ire_send_broadcast_v4()
1303 ASSERT(ire->ire_ill != ire1->ire_ill && ire1->ire_ill != NULL); in ire_send_broadcast_v4()
1305 if (ire1->ire_flags & RTF_MULTIRT) in ire_send_broadcast_v4()
1312 if (IS_UNDER_IPMP(ire1->ire_ill)) in ire_send_broadcast_v4()
[all …]
H A Dip6_ire.c310 ire_t *ire1; in ire_add_v6() local
386 for (ire1 = irb_ptr->irb_ire; ire1 != NULL; ire1 = ire1->ire_next) { in ire_add_v6()
387 if (IRE_IS_CONDEMNED(ire1)) in ire_add_v6()
393 if (ire1->ire_zoneid != ire->ire_zoneid) in ire_add_v6()
396 if (ire1->ire_type != ire->ire_type) in ire_add_v6()
406 if (ire_match_args_v6(ire1, &ire->ire_addr_v6, in ire_add_v6()
422 atomic_add_32(&ire1->ire_identical_ref, 1); in ire_add_v6()
423 DTRACE_PROBE2(ire__add__exist, ire_t *, ire1, in ire_add_v6()
427 (void *)ire1, (void *)ire)); in ire_add_v6()
428 ire_refhold(ire1); in ire_add_v6()
[all …]
H A Dip6_output.c1160 ire_t *ire1; in ip_postfrag_multirt_v6() local
1221 for (ire1 = irb->irb_ire; ire1 != NULL; ire1 = ire1->ire_next) { in ip_postfrag_multirt_v6()
1222 if (IRE_IS_CONDEMNED(ire1) || in ip_postfrag_multirt_v6()
1223 !(ire1->ire_flags & RTF_MULTIRT)) in ip_postfrag_multirt_v6()
1227 if (!IN6_ARE_ADDR_EQUAL(&ire->ire_addr_v6, &ire1->ire_addr_v6)) in ip_postfrag_multirt_v6()
1231 if (ire1 == ire) in ip_postfrag_multirt_v6()
1234 ill1 = ire_nexthop_ill(ire1); in ip_postfrag_multirt_v6()
1246 if (ire1->ire_ill != NULL) in ip_postfrag_multirt_v6()
1248 ire2 = ire_route_recursive_impl_v6(ire1, in ip_postfrag_multirt_v6()
1249 &ire1->ire_addr_v6, ire1->ire_type, ire1->ire_ill, in ip_postfrag_multirt_v6()
[all …]
H A Dip_ire.c1191 ire_t *ire1; in ire_add_v4() local
1240 for (ire1 = irb_ptr->irb_ire; ire1 != NULL; ire1 = ire1->ire_next) { in ire_add_v4()
1241 if (IRE_IS_CONDEMNED(ire1)) in ire_add_v4()
1247 if (ire1->ire_zoneid != ire->ire_zoneid) in ire_add_v4()
1250 if (ire1->ire_type != ire->ire_type) in ire_add_v4()
1260 if (ire_match_args(ire1, ire->ire_addr, ire->ire_mask, in ire_add_v4()
1275 atomic_inc_32(&ire1->ire_identical_ref); in ire_add_v4()
1276 DTRACE_PROBE2(ire__add__exist, ire_t *, ire1, in ire_add_v4()
1279 ire_refhold(ire1); in ire_add_v4()
1283 return (ire1); in ire_add_v4()
[all …]
H A Dip_input.c1397 ire_t *ire1; in ire_recv_broadcast_v4() local
1401 for (ire1 = irb->irb_ire; ire1 != NULL; in ire_recv_broadcast_v4()
1402 ire1 = ire1->ire_next) { in ire_recv_broadcast_v4()
1403 if (IRE_IS_CONDEMNED(ire1)) in ire_recv_broadcast_v4()
1405 if (!(ire1->ire_type & IRE_BROADCAST) || in ire_recv_broadcast_v4()
1406 (ire1->ire_flags & RTF_MULTIRT)) in ire_recv_broadcast_v4()
1408 ill = ire1->ire_ill; in ire_recv_broadcast_v4()
1413 if (ire1 != NULL) { in ire_recv_broadcast_v4()
1848 ire_t *ire1; in ip_input_broadcast_v4() local
1868 for (ire1 = irb->irb_ire; ire1 != NULL; ire1 = ire1->ire_next) { in ip_input_broadcast_v4()
[all …]
H A Dip_ftable.c1723 ire_t *ire1; in ire_route_recursive_dstonly_v4() local
1758 ire1 = ire_route_recursive_impl_v4(ire, nexthop, 0, NULL, ALL_ZONES, in ire_route_recursive_dstonly_v4()
1762 return (ire1); in ire_route_recursive_dstonly_v4()