]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-ndisc.h
resolved: do not keep dns_server to dns_stream ref if tls connection failed (#9855)
[thirdparty/systemd.git] / src / network / networkd-ndisc.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
1e7a0e21
LP
2#pragma once
3
1e7a0e21
LP
4#include "networkd-link.h"
5
6typedef struct NDiscRDNSS {
7 usec_t valid_until;
8 struct in6_addr address;
9} NDiscRDNSS;
10
11typedef struct NDiscDNSSL {
12 usec_t valid_until;
13 /* The domain name follows immediately. */
14} NDiscDNSSL;
15
16static inline char* NDISC_DNSSL_DOMAIN(const NDiscDNSSL *n) {
17 return ((char*) n) + ALIGN(sizeof(NDiscDNSSL));
18}
19
20int ndisc_configure(Link *link);
21void ndisc_vacuum(Link *link);
c69305ff 22void ndisc_flush(Link *link);