chiark / gitweb /
sd-dhcp6-client: Add functions to bind to DHCPv6 UDP socket
[elogind.git] / src / libsystemd-network / dhcp6-internal.h
index 30b624d54ccfd8fee94ec889e029aab0956822a7..7a491fb2e6fdd8c7dfa55800611d5fb7214f0dd0 100644 (file)
@@ -65,3 +65,7 @@ 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_network_bind_udp_socket(int index, struct in6_addr *address);
+int dhcp6_network_send_udp_socket(int s, struct in6_addr *address,
+                                  const void *packet, size_t len);