Commit 860bdc12 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Implement FOR_ALL_NETS.

parent c8a73598
......@@ -48,6 +48,8 @@ struct network {
extern struct network nets[MAXNETS];
extern int numnets;
#define FOR_ALL_NETS(_net) for(_net = nets; _net < nets + numnets; _net++)
struct network *add_network(char *ifname);
int network_idle(struct network *net);
int update_hello_interval(struct network *net);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment