projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #54 from dedeckeh/bugfixes
[project/odhcpd.git]
/
src
/
odhcpd.h
diff --git
a/src/odhcpd.h
b/src/odhcpd.h
index
729b629
..
759fb04
100644
(file)
--- a/
src/odhcpd.h
+++ b/
src/odhcpd.h
@@
-143,8
+143,11
@@
struct interface {
int default_router;
int managed;
int route_preference;
int default_router;
int managed;
int route_preference;
+ int ra_maxinterval;
// DHCPv4
// DHCPv4
+ struct in_addr dhcpv4_addr;
+ struct in_addr dhcpv4_mask;
struct in_addr dhcpv4_start;
struct in_addr dhcpv4_end;
struct in_addr *dhcpv4_router;
struct in_addr dhcpv4_start;
struct in_addr dhcpv4_end;
struct in_addr *dhcpv4_router;
@@
-203,10
+206,6
@@
void odhcpd_hexlify(char *dst, const uint8_t *src, size_t len);
int odhcpd_bmemcmp(const void *av, const void *bv, size_t bits);
void odhcpd_bmemcpy(void *av, const void *bv, size_t bits);
int odhcpd_bmemcmp(const void *av, const void *bv, size_t bits);
void odhcpd_bmemcpy(void *av, const void *bv, size_t bits);
-int odhcpd_iterate_interface_neighbors(const struct interface *iface,
- void(*cb_neigh)(const struct in6_addr *addr,
- const struct interface *iface, void *data), void *data);
-
int config_parse_interface(void *data, size_t len, const char *iname, bool overwrite);
#ifdef WITH_UBUS
int config_parse_interface(void *data, size_t len, const char *iname, bool overwrite);
#ifdef WITH_UBUS
@@
-214,6
+213,8
@@
int init_ubus(void);
const char* ubus_get_ifname(const char *name);
void ubus_apply_network(void);
bool ubus_has_prefix(const char *name, const char *ifname);
const char* ubus_get_ifname(const char *name);
void ubus_apply_network(void);
bool ubus_has_prefix(const char *name, const char *ifname);
+const char* ubus_get_address4(const char *name);
+int ubus_get_mask4(const char *name);
#endif
#endif