Lines Matching refs:ag_mask
146 ag_cors->ag_mask == (ag->ag_mask << 1) && in ag_out()
147 ag_cors->ag_dst_h == (ag->ag_dst_h & ag_cors->ag_mask)) { in ag_out()
162 bit = (-ag->ag_mask) >> 1; in ag_out()
164 ag->ag_mask |= bit; in ag_out()
168 bit = (-ag->ag_mask) >> 1; in ag_out()
169 ag->ag_mask |= bit; in ag_out()
207 if ((dst_h & ag_cors->ag_mask) == ag_cors->ag_dst_h) { in ag_find_suppressor()
247 for (ag = ag_finest; ag != NULL && ag->ag_mask >= lim_mask; in ag_flush()
281 rtname(htonl(ag->ag_dst_h), ag->ag_mask, in ag_flush()
285 ag_supr->ag_mask, ag_supr->ag_nhop)); in ag_flush()
292 ag_supr->ag_mask == (ag->ag_mask<<1)) { in ag_flush()
344 nc_ag.ag_mask = mask; in ag_check()
361 if (ag->ag_mask >= mask) in ag_check()
377 (ag->ag_dst_h & ag_cors->ag_mask) == ag_cors->ag_dst_h && in ag_check()
387 ag_cors->ag_mask == (ag->ag_mask << 1)) { in ag_check()
415 while (ag != NULL && ag->ag_mask == mask && in ag_check()
620 if (ag != NULL && ag->ag_mask < mask) { in ag_check()
626 if (ag != NULL && ag->ag_mask == mask) { in ag_check()
627 ag_flush(ag->ag_dst_h, ag->ag_mask, out); in ag_check()
648 nag->ag_mask = mask; in ag_check()
1892 k = kern_find(htonl(ag->ag_dst_h), ag->ag_mask, in kern_out()
1897 k = kern_add(htonl(ag->ag_dst_h), ag->ag_mask, ag->ag_nhop, in kern_out()