X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fodhcpd.h;h=4ddadbee635ae1c7d21c6dfed424b5f5690f05a7;hp=538a7e5213a899e8b44cb9dab46403e738ad4cdc;hb=9268ca65d6e000b6cd4ed72d4a8fa427dada6f06;hpb=3495f179bd901d6d232e0dbf35444ebe483fdfd9 diff --git a/src/odhcpd.h b/src/odhcpd.h index 538a7e5..4ddadbe 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -203,7 +203,8 @@ ssize_t odhcpd_send(int socket, struct sockaddr_in6 *dest, const struct interface *iface); ssize_t odhcpd_get_interface_addresses(int ifindex, struct odhcpd_ipaddr *addrs, size_t cnt); -int odhcpd_get_linklocal_interface_address(int ifindex, struct in6_addr *lladdr); +int odhcpd_get_interface_dns_addr(const struct interface *iface, + struct in6_addr *addr); struct interface* odhcpd_get_interface_by_name(const char *name); int odhcpd_get_interface_config(const char *ifname, const char *what); int odhcpd_get_mac(const struct interface *iface, uint8_t mac[6]); @@ -226,6 +227,9 @@ void odhcpd_bmemcpy(void *av, const void *bv, size_t bits); int config_parse_interface(void *data, size_t len, const char *iname, bool overwrite); +void ndp_handle_addr6_dump(void); +void ndp_rqs_addr6_dump(void); + #ifdef WITH_UBUS int init_ubus(void); const char* ubus_get_ifname(const char *name);