Searched refs:opt_dnssl (Results 1 – 1 of 1) sorted by relevance
800 _cleanup_free_ struct sd_radv_opt_dns *opt_dnssl = NULL; in sd_radv_set_dnssl() local816 opt_dnssl = malloc0(len); in sd_radv_set_dnssl()817 if (!opt_dnssl) in sd_radv_set_dnssl()820 opt_dnssl->type = RADV_OPT_DNSSL; in sd_radv_set_dnssl()821 opt_dnssl->length = len / 8; in sd_radv_set_dnssl()822 opt_dnssl->lifetime = htobe32(lifetime); in sd_radv_set_dnssl()824 p = (uint8_t *)(opt_dnssl + 1); in sd_radv_set_dnssl()841 free_and_replace(ra->dnssl, opt_dnssl); in sd_radv_set_dnssl()