sllao: backport sllao code from radvd-2

This code is much clearer and easier to understand what it's
doing.