Lines Matching refs:optval
178 int dhcp6_lease_set_dns(sd_dhcp6_lease *lease, uint8_t *optval, size_t optlen) {
182 assert_return(optval, -EINVAL);
187 r = dhcp6_option_parse_ip6addrs(optval, optlen, &lease->dns,
214 int dhcp6_lease_set_domains(sd_dhcp6_lease *lease, uint8_t *optval,
220 assert_return(optval, -EINVAL);
225 r = dhcp6_option_parse_domainname(optval, optlen, &domains);
248 int dhcp6_lease_set_ntp(sd_dhcp6_lease *lease, uint8_t *optval, size_t optlen) {
255 assert_return(optval, -EINVAL);
261 while ((r = dhcp6_option_parse(&optval, &optlen, &subopt, &sublen,
303 int dhcp6_lease_set_sntp(sd_dhcp6_lease *lease, uint8_t *optval, size_t optlen) {
307 assert_return(optval, -EINVAL);
320 r = dhcp6_option_parse_ip6addrs(optval, optlen, &lease->ntp,