if (p->aspath->flags.nexthop_reject)
if (p->aspath->flags & F_NEXTHOP_REJECT)
rde_send_kroute(struct prefix *new, struct prefix *old){	struct kroute		kr;	struct bgpd_addr	addr;	struct prefix	*p;	enum imsg_type	 type;	/*	 * If old is != NULL we know it was active and should be removed.	 * On the other hand new may be UNREACH and then we should not	 * generate an update.	 */	if ((old == NULL || old->aspath->nexthop->flags & NEXTHOP_ANNOUNCE) &&	    (new == NULL || new->aspath->nexthop->state != NEXTHOP_REACH ||	    new->aspath->nexthop->flags & NEXTHOP_ANNOUNCE))		return;	bzero(&kr, sizeof(kr));	if (new == NULL || new->aspath->nexthop == NULL ||	    new->aspath->nexthop->state != NEXTHOP_REACH ||	    new->aspath->nexthop->flags & NEXTHOP_ANNOUNCE) {		type = IMSG_KROUTE_DELETE;		p = old;	} else {		type = IMSG_KROUTE_CHANGE;		p = new;		kr.nexthop.s_addr = p->aspath->nexthop->true_nexthop.v4.s_addr;	}	pt_getaddr(p->prefix, &addr);	kr.prefix.s_addr = addr.v4.s_addr;	kr.prefixlen = p->prefix->prefixlen;	if (p->aspath->flags.nexthop_reject)		kr.flags |= F_REJECT;	if (p->aspath->flags.nexthop_blackhole)		kr.flags |= F_BLACKHOLE;	if (imsg_compose(&ibuf_main, type, 0, &kr, sizeof(kr)) == -1)		fatal("imsg_compose error");}