projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move rdata_buffer to cache_answer()
[project/mdnsd.git]
/
interface.h
diff --git
a/interface.h
b/interface.h
index
fe709aa
..
b9ecd8a
100644
(file)
--- a/
interface.h
+++ b/
interface.h
@@
-22,16
+22,19
@@
#include <libubox/vlist.h>
extern struct vlist_tree interfaces;
#include <libubox/vlist.h>
extern struct vlist_tree interfaces;
-extern struct interface *cur_iface;
struct interface {
struct vlist_node node;
const char *name;
struct uloop_fd fd;
struct interface {
struct vlist_node node;
const char *name;
struct uloop_fd fd;
+ struct uloop_timeout reconnect;
int ifindex;
const char *ip;
int ifindex;
const char *ip;
+
+ struct uloop_timeout announce_timer;
+ int announce_state;
};
int interface_add(const char *name);
};
int interface_add(const char *name);