sys/net: add more interface groups related functions