K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-06-04T16:42:51.370291Z K 7 svn:log V 512 Fix various inconsistencies in symbol naming and data handling which made the logic behind them unnecessarily complicated. This change is a preparation to add support of dynamically-added/removed interfaces and the link status changes in a more reliable way. Changes include: - Use queue(3) for linked-list manipulation. - Use consistent variable names. - Use (AF_INET6, s, d, sizeof(d)) instead of (AF_INET6, s, a, INET6_ADDRSTRLEN) for inet_ntop(). - style(9) fixes. No functional change in this commit. END