X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=interface.h;h=8fffc7e1ebae38a7b2ccc23ce085df4757f810fc;hp=b9ecd8aec82ebdd40fa6ca4a533ec53f067d0633;hb=28de4beed5a3ffb8ce5ad6a2543e60c5efb46430;hpb=e4cd9b52ef1e73c81143e5c3d09e08e86a5a49ae diff --git a/interface.h b/interface.h index b9ecd8a..8fffc7e 100644 --- a/interface.h +++ b/interface.h @@ -18,6 +18,8 @@ #include #include +#include + #include #include @@ -31,7 +33,7 @@ struct interface { struct uloop_timeout reconnect; int ifindex; - const char *ip; + struct in_addr v4_addr; struct uloop_timeout announce_timer; int announce_state; @@ -39,6 +41,5 @@ struct interface { int interface_add(const char *name); int interface_send_packet(struct interface *iface, struct iovec *iov, int iov_len); -int interface_socket_setup(struct interface *iface); #endif