]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
1e7a0e21 LP |
2 | #pragma once |
3 | ||
1e7a0e21 LP |
4 | #include "networkd-link.h" |
5 | ||
6 | typedef struct NDiscRDNSS { | |
7 | usec_t valid_until; | |
8 | struct in6_addr address; | |
9 | } NDiscRDNSS; | |
10 | ||
11 | typedef struct NDiscDNSSL { | |
12 | usec_t valid_until; | |
13 | /* The domain name follows immediately. */ | |
14 | } NDiscDNSSL; | |
15 | ||
16 | static inline char* NDISC_DNSSL_DOMAIN(const NDiscDNSSL *n) { | |
17 | return ((char*) n) + ALIGN(sizeof(NDiscDNSSL)); | |
18 | } | |
19 | ||
20 | int ndisc_configure(Link *link); | |
21 | void ndisc_vacuum(Link *link); | |
c69305ff | 22 | void ndisc_flush(Link *link); |