Support IPv6 for API

Support IPv6 for API
better to reformulate, something like:
for each of the following IPv6 address modes:
 SLAAC ....