Lines Matching refs:mask4
76 uint32_t mask4; member
201 struct in_addr addr4, mask4; in bsearch4_add_route_cb() local
208 rt_get_inet_prefix_pmask(rt, &addr4, &mask4, &scopeid); in bsearch4_add_route_cb()
210 rr->mask4 = ntohl(mask4.s_addr); in bsearch4_add_route_cb()
237 if (rec1->mask4 < rec2->mask4) in rr_cmp()
239 else if (rec1->mask4 > rec2->mask4) in rr_cmp()
287 last_array_addr = (br_prev->addr4 | ~br_prev->mask4); in pop_stack_entry()
289 last_stack_addr = (pstack->addr4 | ~pstack->mask4); in pop_stack_entry()
300 .mask4 = pstack->mask4, in pop_stack_entry()
330 if (pst->addr4 == (rib_entry->addr4 & pst->mask4)) in bsearch4_process_record()
350 uint32_t last_declared_addr = br_tmp->addr4 | ~br_tmp->mask4; in bsearch4_process_record()
356 .mask4 = pst->mask4, in bsearch4_process_record()
434 if (prefixes_array.arr[i].mask4 == 0) { in bsearch4_build()
606 struct in_addr addr4, mask4; in lradix4_add_route_cb() local
617 rt_get_inet_prefix_pmask(rt, &addr4, &mask4, &scopeid); in lradix4_add_route_cb()
621 if (mask4.s_addr != INADDR_BROADCAST) { in lradix4_add_route_cb()
624 mask.sin_addr = mask4; in lradix4_add_route_cb()