]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-lldp: rename sd-lldp.[ch] -> sd-lldp-rx.[ch]
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 26 Sep 2021 02:51:17 +0000 (11:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 27 Sep 2021 14:55:11 +0000 (23:55 +0900)
12 files changed:
src/libsystemd-network/fuzz-lldp.c
src/libsystemd-network/lldp-neighbor.c
src/libsystemd-network/lldp-neighbor.h
src/libsystemd-network/lldp-rx-internal.h [moved from src/libsystemd-network/lldp-internal.h with 98% similarity]
src/libsystemd-network/meson.build
src/libsystemd-network/sd-lldp-rx.c [moved from src/libsystemd-network/sd-lldp.c with 99% similarity]
src/libsystemd-network/test-lldp.c
src/network/networkctl.c
src/network/networkd-link.h
src/network/test-network-tables.c
src/systemd/meson.build
src/systemd/sd-lldp-rx.h [moved from src/systemd/sd-lldp.h with 99% similarity]

index 5747135b32f7a7ec077b9392d58323f13b261e22..6c4d3e2e566e85c2d9bcd2ff8f76fb32d09b721e 100644 (file)
@@ -4,7 +4,7 @@
 #include <unistd.h>
 
 #include "sd-event.h"
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 
 #include "fd-util.h"
 #include "fuzz.h"
index 3bd775158efdbb6c3ea8858f5f9241f415ea0b9c..ba5f288aa5c3bf10602ca2f3a1261e4c5d89d231 100644 (file)
@@ -5,7 +5,6 @@
 #include "ether-addr-util.h"
 #include "hexdecoct.h"
 #include "in-addr-util.h"
-#include "lldp-internal.h"
 #include "lldp-neighbor.h"
 #include "memory-util.h"
 #include "missing_network.h"
index a5718c8c31e48516dc98505b4e27665ad94db860..82735ee0c3e2d26eb157b6dc4c078e42b2951489 100644 (file)
@@ -5,10 +5,10 @@
 #include <stdbool.h>
 #include <sys/types.h>
 
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 
 #include "hash-funcs.h"
-#include "lldp-internal.h"
+#include "lldp-rx-internal.h"
 #include "time-util.h"
 
 typedef struct LLDPNeighborID {
similarity index 98%
rename from src/libsystemd-network/lldp-internal.h
rename to src/libsystemd-network/lldp-rx-internal.h
index cf0578c5c2958a5b45a0450554c6c8562c2c3254..ad6ee5a7e220f9face5684bcd845c6c34cd97350 100644 (file)
@@ -2,7 +2,7 @@
 #pragma once
 
 #include "sd-event.h"
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 
 #include "hashmap.h"
 #include "log-link.h"
index 83f902ebbf6a500dc0573c08b7af69f7f17421f2..df0bc4d8c2a925e7aca7c09e6529a8713df3fa22 100644 (file)
@@ -20,11 +20,11 @@ sources = files('''
         dhcp6-protocol.h
         icmp6-util.c
         icmp6-util.h
-        lldp-internal.h
         lldp-neighbor.c
         lldp-neighbor.h
         lldp-network.c
         lldp-network.h
+        lldp-rx-internal.h
         ndisc-internal.h
         ndisc-router.c
         ndisc-router.h
@@ -40,7 +40,7 @@ sources = files('''
         sd-dhcp6-lease.c
         sd-ipv4acd.c
         sd-ipv4ll.c
-        sd-lldp.c
+        sd-lldp-rx.c
         sd-ndisc.c
         sd-radv.c
 '''.split())
similarity index 99%
rename from src/libsystemd-network/sd-lldp.c
rename to src/libsystemd-network/sd-lldp-rx.c
index b38d6dbd1e3713a51b31d93d4eb2f7644c7792a5..06861c0d41f42c69a09819764f150bf4aeb9457e 100644 (file)
@@ -4,15 +4,15 @@
 #include <linux/sockios.h>
 #include <sys/ioctl.h>
 
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 
 #include "alloc-util.h"
 #include "ether-addr-util.h"
 #include "event-util.h"
 #include "fd-util.h"
-#include "lldp-internal.h"
 #include "lldp-neighbor.h"
 #include "lldp-network.h"
+#include "lldp-rx-internal.h"
 #include "memory-util.h"
 #include "network-common.h"
 #include "socket-util.h"
index 0331e387f0334131dd0987d8589acb507ecebcd0..09aacfd9fba86aeae2bd4ac74cc0c00d6d79ec7c 100644 (file)
@@ -7,7 +7,7 @@
 #include <unistd.h>
 
 #include "sd-event.h"
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 
 #include "alloc-util.h"
 #include "fd-util.h"
index 09a19192bcf698c3519a1de222b01130fd3bba6d..d4a7da9f71febbb847400e6e4d2bda7dfeeb5cbf 100644 (file)
@@ -15,7 +15,7 @@
 #include "sd-device.h"
 #include "sd-dhcp-client.h"
 #include "sd-hwdb.h"
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 #include "sd-netlink.h"
 #include "sd-network.h"
 
index 7190310a13210c14d268dd8f22be921367c93122..4946452e281ff1226120224dc17ea085deeb1bb3 100644 (file)
@@ -11,7 +11,7 @@
 #include "sd-dhcp6-client.h"
 #include "sd-ipv4acd.h"
 #include "sd-ipv4ll.h"
-#include "sd-lldp.h"
+#include "sd-lldp-rx.h"
 #include "sd-ndisc.h"
 #include "sd-radv.h"
 #include "sd-netlink.h"
index b7b536f3b542530abf311bfdbd5b1c72f305a474..a13c8d7a7b9b3cd87b044449db90aea4159ad1cd 100644 (file)
@@ -5,7 +5,7 @@
 #include "dhcp6-protocol.h"
 #include "ethtool-util.h"
 #include "ipvlan.h"
-#include "lldp-internal.h"
+#include "lldp-rx-internal.h"
 #include "macvlan.h"
 #include "ndisc-internal.h"
 #include "networkd-link.h"
index 6cae6a5767c3ee794ceb70d3f0226a30b3522abf..a854887ecc7cca530bac2d70b9d30e580c82e404 100644 (file)
@@ -28,7 +28,7 @@ _not_installed_headers = '''
         sd-dhcp-server.h
         sd-ipv4acd.h
         sd-ipv4ll.h
-        sd-lldp.h
+        sd-lldp-rx.h
         sd-ndisc.h
         sd-netlink.h
         sd-network.h
similarity index 99%
rename from src/systemd/sd-lldp.h
rename to src/systemd/sd-lldp-rx.h
index 64047ee81716ce1cb96a90e2967b96fa6bf462d4..ac4bb6018ca3e8c8b199d6c40ffa92f8b39cd224 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
-#ifndef foosdlldphfoo
-#define foosdlldphfoo
+#ifndef foosdlldprxhfoo
+#define foosdlldprxhfoo
 
 /***
   systemd is free software; you can redistribute it and/or modify it