chiark / gitweb /
sd-dhcp6-client: Add IA Address option parsing
[elogind.git] / src / libsystemd-network / dhcp6-internal.h
index 31f5bd2b9b8fc828f6da87e9027cb1702cd39b18..ec1d82abeed938b06f300bf777586c60f97d1cc4 100644 (file)
@@ -66,6 +66,8 @@ int dhcp6_option_append(uint8_t **buf, size_t *buflen, uint16_t code,
 int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, DHCP6IA *ia);
 int dhcp6_option_parse(uint8_t **buf, size_t *buflen, uint16_t *optcode,
                        size_t *optlen, uint8_t **optvalue);
+int dhcp6_option_parse_ia(uint8_t **buf, size_t *buflen, uint16_t iatype,
+                          DHCP6IA *ia);
 
 int dhcp6_network_bind_udp_socket(int index, struct in6_addr *address);
 int dhcp6_network_send_udp_socket(int s, struct in6_addr *address,