11a1589223
Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
29 lines
613 B
C
29 lines
613 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
/***
|
|
This file is part of systemd.
|
|
|
|
Copyright 2013 Tom Gundersen <teg@jklm.no>
|
|
***/
|
|
|
|
#include "networkd-link.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);
|