X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv6.h;h=9b382830df65b57632a678f183e816a63263e050;hp=693bc576bf19b5d0a016f6040520b39aa9171db8;hb=2e486ef14235777e5c71a6e15044637025d0770c;hpb=d02dc222e61e2464bf850a629030c8a8b9b57ee8 diff --git a/src/dhcpv6.h b/src/dhcpv6.h index 693bc57..9b38283 100644 --- a/src/dhcpv6.h +++ b/src/dhcpv6.h @@ -44,6 +44,7 @@ #define DHCPV6_OPT_STATUS 13 #define DHCPV6_OPT_RELAY_MSG 9 #define DHCPV6_OPT_AUTH 11 +#define DHCPV6_OPT_USER_CLASS 15 #define DHCPV6_OPT_INTERFACE_ID 18 #define DHCPV6_OPT_RECONF_MSG 19 #define DHCPV6_OPT_RECONF_ACCEPT 20 @@ -166,6 +167,6 @@ struct dhcpv6_assignment { int dhcpv6_init_ia(struct interface *iface, int socket); size_t dhcpv6_handle_ia(uint8_t *buf, size_t buflen, struct interface *iface, const struct sockaddr_in6 *addr, const void *data, const uint8_t *end); -int dhcpv6_ia_init(int dhcpv6_socket); +int dhcpv6_ia_init(void); int setup_dhcpv6_ia_interface(struct interface *iface, bool enable); void dhcpv6_write_statefile(void);