X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fodhcp6c.h;h=104213681c8b18001bf5a131ceb98c9a12c61c26;hb=e1540ec55e014e538a92a588675e4156a1bddabe;hp=3e2713ea25bd19e31f272820851939b9d1c8035e;hpb=ec864c44e9959a5d65cc564182f4e960e47c6e9e;p=odhcp6c.git diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 3e2713e..1042136 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -65,10 +65,6 @@ enum dhcvp6_opt { DHCPV6_OPT_PD_EXCLUDE = 67, DHCPV6_OPT_SOL_MAX_RT = 82, DHCPV6_OPT_INF_MAX_RT = 83, -#ifdef EXT_PREFIX_CLASS - /* draft-bhandari-dhc-class-based-prefix, not yet standardized */ - DHCPV6_OPT_PREFIX_CLASS = EXT_PREFIX_CLASS, -#endif #ifdef EXT_CER_ID /* draft-donley-dhc-cer-id-option-03 */ DHCPV6_OPT_CER_ID = EXT_CER_ID, @@ -300,7 +296,6 @@ struct odhcp6c_entry { uint32_t preferred; uint32_t t1; uint32_t t2; - uint16_t class; uint32_t iaid; }; @@ -319,6 +314,11 @@ int init_rtnetlink(void); int set_rtnetlink_addr(int ifindex, const struct in6_addr *addr, uint32_t pref, uint32_t valid); +int ra_conf_hoplimit(int newvalue); +int ra_conf_mtu(int newvalue); +int ra_conf_reachable(int newvalue); +int ra_conf_retransmit(int newvalue); + int script_init(const char *path, const char *ifname); ssize_t script_unhexlify(uint8_t *dst, size_t len, const char *src); void script_call(const char *status); @@ -338,7 +338,6 @@ void* odhcp6c_move_state(enum odhcp6c_state state, size_t *len); void* odhcp6c_get_state(enum odhcp6c_state state, size_t *len); // Entry manipulation -struct odhcp6c_entry* odhcp6c_find_entry(enum odhcp6c_state state, const struct odhcp6c_entry *new); bool odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe, bool filterexcess); void odhcp6c_expire(void);