Systemd/src/network/networkd-ndisc.h
Zbigniew Jędrzejewski-Szmek ca78ad1de9 headers: remove unneeded includes from util.h
This means we need to include many more headers in various files that simply
included util.h before, but it seems cleaner to do it this way.
2019-03-27 11:53:12 +01:00

24 lines
547 B
C

/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include "networkd-link.h"
#include "time-util.h"
typedef struct NDiscRDNSS {
usec_t valid_until;
struct in6_addr address;
} NDiscRDNSS;
typedef struct NDiscDNSSL {
usec_t valid_until;
/* The domain name follows immediately. */
} NDiscDNSSL;
static inline char* NDISC_DNSSL_DOMAIN(const NDiscDNSSL *n) {
return ((char*) n) + ALIGN(sizeof(NDiscDNSSL));
}
int ndisc_configure(Link *link);
void ndisc_vacuum(Link *link);
void ndisc_flush(Link *link);