Lines Matching refs:sd_dhcp6_lease
16 static void dhcp6_lease_set_timestamp(sd_dhcp6_lease *lease, const triple_timestamp *timestamp) { in dhcp6_lease_set_timestamp()
25 int sd_dhcp6_lease_get_timestamp(sd_dhcp6_lease *lease, clockid_t clock, uint64_t *ret) { in sd_dhcp6_lease_get_timestamp()
42 static void dhcp6_lease_set_lifetime(sd_dhcp6_lease *lease) { in dhcp6_lease_set_lifetime()
76 int dhcp6_lease_get_lifetime(sd_dhcp6_lease *lease, usec_t *ret_t1, usec_t *ret_t2, usec_t *ret_val… in dhcp6_lease_get_lifetime()
91 static void dhcp6_lease_set_server_address(sd_dhcp6_lease *lease, const struct in6_addr *server_add… in dhcp6_lease_set_server_address()
100 int sd_dhcp6_lease_get_server_address(sd_dhcp6_lease *lease, struct in6_addr *ret) { in sd_dhcp6_lease_get_server_address()
126 int dhcp6_lease_set_clientid(sd_dhcp6_lease *lease, const uint8_t *id, size_t len) { in dhcp6_lease_set_clientid()
144 int dhcp6_lease_get_clientid(sd_dhcp6_lease *lease, uint8_t **ret_id, size_t *ret_len) { in dhcp6_lease_get_clientid()
158 int dhcp6_lease_set_serverid(sd_dhcp6_lease *lease, const uint8_t *id, size_t len) { in dhcp6_lease_set_serverid()
176 int dhcp6_lease_get_serverid(sd_dhcp6_lease *lease, uint8_t **ret_id, size_t *ret_len) { in dhcp6_lease_get_serverid()
189 int dhcp6_lease_set_preference(sd_dhcp6_lease *lease, uint8_t preference) { in dhcp6_lease_set_preference()
196 int dhcp6_lease_get_preference(sd_dhcp6_lease *lease, uint8_t *ret) { in dhcp6_lease_get_preference()
204 int dhcp6_lease_set_rapid_commit(sd_dhcp6_lease *lease) { in dhcp6_lease_set_rapid_commit()
211 int dhcp6_lease_get_rapid_commit(sd_dhcp6_lease *lease, bool *ret) { in dhcp6_lease_get_rapid_commit()
220 sd_dhcp6_lease *lease, in sd_dhcp6_lease_get_address()
241 void sd_dhcp6_lease_reset_address_iter(sd_dhcp6_lease *lease) { in sd_dhcp6_lease_reset_address_iter()
247 sd_dhcp6_lease *lease, in sd_dhcp6_lease_get_pd()
271 void sd_dhcp6_lease_reset_pd_prefix_iter(sd_dhcp6_lease *lease) { in sd_dhcp6_lease_reset_pd_prefix_iter()
276 int dhcp6_lease_add_dns(sd_dhcp6_lease *lease, const uint8_t *optval, size_t optlen) { in dhcp6_lease_add_dns()
286 int sd_dhcp6_lease_get_dns(sd_dhcp6_lease *lease, const struct in6_addr **ret) { in sd_dhcp6_lease_get_dns()
298 int dhcp6_lease_add_domains(sd_dhcp6_lease *lease, const uint8_t *optval, size_t optlen) { in dhcp6_lease_add_domains()
315 int sd_dhcp6_lease_get_domains(sd_dhcp6_lease *lease, char ***ret) { in sd_dhcp6_lease_get_domains()
326 int dhcp6_lease_add_ntp(sd_dhcp6_lease *lease, const uint8_t *optval, size_t optlen) { in dhcp6_lease_add_ntp()
374 int dhcp6_lease_add_sntp(sd_dhcp6_lease *lease, const uint8_t *optval, size_t optlen) { in dhcp6_lease_add_sntp()
385 int sd_dhcp6_lease_get_ntp_addrs(sd_dhcp6_lease *lease, const struct in6_addr **ret) { in sd_dhcp6_lease_get_ntp_addrs()
404 int sd_dhcp6_lease_get_ntp_fqdn(sd_dhcp6_lease *lease, char ***ret) { in sd_dhcp6_lease_get_ntp_fqdn()
415 int dhcp6_lease_set_fqdn(sd_dhcp6_lease *lease, const uint8_t *optval, size_t optlen) { in dhcp6_lease_set_fqdn()
437 int sd_dhcp6_lease_get_fqdn(sd_dhcp6_lease *lease, const char **ret) { in sd_dhcp6_lease_get_fqdn()
450 sd_dhcp6_lease *lease, in dhcp6_lease_parse_message()
650 static sd_dhcp6_lease *dhcp6_lease_free(sd_dhcp6_lease *lease) { in dhcp6_lease_free()
668 DEFINE_TRIVIAL_REF_UNREF_FUNC(sd_dhcp6_lease, sd_dhcp6_lease, dhcp6_lease_free);
670 int dhcp6_lease_new(sd_dhcp6_lease **ret) { in dhcp6_lease_new()
671 sd_dhcp6_lease *lease; in dhcp6_lease_new()
675 lease = new(sd_dhcp6_lease, 1); in dhcp6_lease_new()
679 *lease = (sd_dhcp6_lease) { in dhcp6_lease_new()
693 sd_dhcp6_lease **ret) { in dhcp6_lease_new_from_message()
695 _cleanup_(sd_dhcp6_lease_unrefp) sd_dhcp6_lease *lease = NULL; in dhcp6_lease_new_from_message()