diff options
author | Tom Gundersen <teg@jklm.no> | 2015-10-15 19:25:31 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-22 17:19:54 +0200 |
commit | 3ad0c5d8a4e2e2fa7ffcccd7f3457f577908494e (patch) | |
tree | 037b47783bb77459c692caeee7e3106505956f3b /src | |
parent | ac691d4abe0970e9255525d1cc6187e553639fea (diff) |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-network/network-internal.c | 2 | ||||
-rw-r--r-- | src/libsystemd-network/sd-ndisc.c (renamed from src/libsystemd-network/sd-icmp6-nd.c) | 2 | ||||
-rw-r--r-- | src/libsystemd-network/test-ndisc-rs.c (renamed from src/libsystemd-network/test-icmp6-rs.c) | 2 | ||||
-rw-r--r-- | src/network/networkd-dhcp6.c | 2 | ||||
-rw-r--r-- | src/network/networkd-link.h | 2 | ||||
-rw-r--r-- | src/systemd/sd-ndisc.h (renamed from src/systemd/sd-icmp6-nd.h) | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/libsystemd-network/network-internal.c b/src/libsystemd-network/network-internal.c index 2a62af2fd4..a33affb773 100644 --- a/src/libsystemd-network/network-internal.c +++ b/src/libsystemd-network/network-internal.c @@ -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; diff --git a/src/libsystemd-network/sd-icmp6-nd.c b/src/libsystemd-network/sd-ndisc.c index f014cac628..8545344fd7 100644 --- a/src/libsystemd-network/sd-icmp6-nd.c +++ b/src/libsystemd-network/sd-ndisc.c @@ -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 diff --git a/src/libsystemd-network/test-icmp6-rs.c b/src/libsystemd-network/test-ndisc-rs.c index 27b0ef4572..49305e297b 100644 --- a/src/libsystemd-network/test-icmp6-rs.c +++ b/src/libsystemd-network/test-ndisc-rs.c @@ -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'} diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c index fb93e6606e..e572ad4595 100644 --- a/src/network/networkd-dhcp6.c +++ b/src/network/networkd-dhcp6.c @@ -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); diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h index af2ba11701..5bba313049 100644 --- a/src/network/networkd-link.h +++ b/src/network/networkd-link.h @@ -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" diff --git a/src/systemd/sd-icmp6-nd.h b/src/systemd/sd-ndisc.h index cb6c24a0cb..240feb7bbe 100644 --- a/src/systemd/sd-icmp6-nd.h +++ b/src/systemd/sd-ndisc.h @@ -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. |