get_next_netgroup
while ((ng = get_next_netgroup(&tab)) != NULL) {
if ((ng = get_next_netgroup(&p->tab)) != NULL) {