Lines Matching refs:DR
48 /* elect DR and BDR. Refer to RFC2319 section 9.4 */
90 /* neighbor declared to be DR. */
105 /* Set DR to interface. */
108 DR (oi) = dr->address.u.prefix4;
112 DR (oi).s_addr = 0;
134 /* neighbor declared to be DR. */
169 if (IPV4_ADDR_SAME (&DR (oi), &oi->address->u.prefix4))
221 old_dr = DR (oi);
230 /* First election of DR and BDR. */
236 zlog_info ("DR-Election[1st]: Backup %s", inet_ntoa (BDR (oi)));
237 zlog_info ("DR-Election[1st]: DR %s", inet_ntoa (DR (oi)));
247 zlog_info ("DR-Election[2nd]: Backup %s", inet_ntoa (BDR (oi)));
248 zlog_info ("DR-Election[2nd]: DR %s", inet_ntoa (DR (oi)));
253 /* if DR or BDR changes, cause AdjOK? neighbor event. */
254 if (!IPV4_ADDR_SAME (&old_dr, &DR (oi)) ||
400 /* Else if the router is not eligible to DR, the state transitions to
546 /* DR: */