sd-icmp6-nd: rename files to sd-ndisc

The actual code rename will follow. The reason for the change of name is to make it
simpler and more uniform with how we name other libraries (we don't include the
underlying protocol). The new name also matches the naming in the kernel (which
is particularly relevent here as we expect to let the kernel do some parts of
the protocol and we do others).
This commit is contained in:
Tom Gundersen 2015-10-15 19:25:31 +02:00
parent ac691d4abe
commit 3ad0c5d8a4
8 changed files with 15 additions and 15 deletions

2
.gitignore vendored
View file

@ -195,7 +195,7 @@
/test-hashmap
/test-hostname
/test-hostname-util
/test-icmp6-rs
/test-ndisc-rs
/test-id128
/test-inhibit
/test-install

View file

@ -3214,7 +3214,7 @@ libsystemd_network_la_SOURCES = \
src/systemd/sd-dhcp-lease.h \
src/systemd/sd-ipv4ll.h \
src/systemd/sd-ipv4acd.h \
src/systemd/sd-icmp6-nd.h \
src/systemd/sd-ndisc.h \
src/systemd/sd-dhcp6-client.h \
src/systemd/sd-dhcp6-lease.h \
src/systemd/sd-pppoe.h \
@ -3236,7 +3236,7 @@ libsystemd_network_la_SOURCES = \
src/libsystemd-network/sd-pppoe.c \
src/libsystemd-network/network-internal.c \
src/libsystemd-network/network-internal.h \
src/libsystemd-network/sd-icmp6-nd.c \
src/libsystemd-network/sd-ndisc.c \
src/libsystemd-network/sd-dhcp6-client.c \
src/libsystemd-network/dhcp6-internal.h \
src/libsystemd-network/dhcp6-protocol.h \
@ -3320,15 +3320,15 @@ test_pppoe_LDADD = \
libsystemd-network.la \
libshared.la
test_icmp6_rs_SOURCES = \
test_ndisc_rs_SOURCES = \
src/systemd/sd-dhcp6-client.h \
src/systemd/sd-icmp6-nd.h \
src/systemd/sd-ndisc.h \
src/libsystemd-network/dhcp6-internal.h \
src/libsystemd-network/test-icmp6-rs.c \
src/libsystemd-network/test-ndisc-rs.c \
src/libsystemd-network/dhcp-identifier.h \
src/libsystemd-network/dhcp-identifier.c
test_icmp6_rs_LDADD = \
test_ndisc_rs_LDADD = \
libsystemd-network.la \
libudev.la \
libshared.la
@ -3360,7 +3360,7 @@ tests += \
test-dhcp-client \
test-dhcp-server \
test-ipv4ll \
test-icmp6-rs \
test-ndisc-rs \
test-dhcp6-client \
test-lldp

View file

@ -32,7 +32,7 @@
#include "conf-parser.h"
#include "condition.h"
#include "network-internal.h"
#include "sd-icmp6-nd.h"
#include "sd-ndisc.h"
const char *net_get_name(struct udev_device *device) {
const char *name, *field;

View file

@ -28,7 +28,7 @@
#include "async.h"
#include "dhcp6-internal.h"
#include "sd-icmp6-nd.h"
#include "sd-ndisc.h"
#define ICMP6_ROUTER_SOLICITATION_INTERVAL 4 * USEC_PER_SEC
#define ICMP6_MAX_ROUTER_SOLICITATIONS 3

View file

@ -24,7 +24,7 @@
#include "socket-util.h"
#include "dhcp6-internal.h"
#include "sd-icmp6-nd.h"
#include "sd-ndisc.h"
static struct ether_addr mac_addr = {
.ether_addr_octet = {'A', 'B', 'C', '1', '2', '3'}

View file

@ -25,7 +25,7 @@
#include "networkd-link.h"
#include "network-internal.h"
#include "sd-icmp6-nd.h"
#include "sd-ndisc.h"
#include "sd-dhcp6-client.h"
static int dhcp6_lease_address_acquired(sd_dhcp6_client *client, Link *link);

View file

@ -26,7 +26,7 @@
#include "sd-dhcp-client.h"
#include "sd-dhcp-server.h"
#include "sd-ipv4ll.h"
#include "sd-icmp6-nd.h"
#include "sd-ndisc.h"
#include "sd-dhcp6-client.h"
#include "sd-lldp.h"

View file

@ -1,7 +1,7 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#ifndef foosdicmp6ndfoo
#define foosdicmp6ndfoo
#ifndef foosdndiscfoo
#define foosdndiscfoo
/***
This file is part of systemd.