projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ipv6 support
[project/mdnsd.git]
/
interface.h
diff --git
a/interface.h
b/interface.h
index
8fffc7e
..
fcbc3e6
100644
(file)
--- a/
interface.h
+++ b/
interface.h
@@
-29,14
+29,19
@@
struct interface {
struct vlist_node node;
const char *name;
struct vlist_node node;
const char *name;
+ char *id;
struct uloop_fd fd;
struct uloop_timeout reconnect;
struct uloop_fd fd;
struct uloop_timeout reconnect;
+ int v6;
int ifindex;
struct in_addr v4_addr;
int ifindex;
struct in_addr v4_addr;
+ struct in6_addr v6_addr;
struct uloop_timeout announce_timer;
int announce_state;
struct uloop_timeout announce_timer;
int announce_state;
+
+ char *mcast_addr;
};
int interface_add(const char *name);
};
int interface_add(const char *name);