On Sun, Jul 29, 2018 at 3:40 PM Stef Bon <stef...@gmail.com> wrote:

> Hi,
>
> I cannot find a header file where DNS_TYPE_SSHFP is defined,
> only in the source tree of systemd.
> There should be a header file in /usr/include. Where can I find it?
>

systemd doesn't seem to have a public header; however, glibc's
<arpa/nameser.h> appears to have `T_SSHFP` and `ns_t_sshfp` for the same
purpose.

You can also just add the definition directly in your code. The type number
is 44, as defined by https://tools.ietf.org/html/rfc4255 (section 5).

-- 
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to