for_all_interfaces(int (*doit)(struct interface *, void *), void *cookie) { struct interface *ife;
int for_all_interfaces(int (*doit) (struct interface *, void *), void *cookie) { struct interface *ife;
for_all_interfaces(int (*doit)(struct interface *, void *), void *cookie){   	struct interface *ife;	if (!int_list && (if_readlist() < 0))		return -1;	for (ife = int_list; ife; ife = ife->next) { 		int err = doit(ife, cookie); 		if (err) 			return err;	}	return 0;}