summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-02-28 16:40:31 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 13:32:16 +0100
commitcb37cb336a2cca77bfbaf6b0cfab12e847e45623 (patch)
treedef5299d18d1d91fa9e28108c139ca6146e866ed /nhrpd
parentMerge pull request #13065 from rgirada/ospf_abr_summary (diff)
downloadfrr-cb37cb336a2cca77bfbaf6b0cfab12e847e45623.tar.xz
frr-cb37cb336a2cca77bfbaf6b0cfab12e847e45623.zip
*: Rename thread.[ch] to event.[ch]
This is a first in a series of commits, whose goal is to rename the thread system in FRR to an event system. There is a continual problem where people are confusing `struct thread` with a true pthread. In reality, our entire thread.c is an event system. In this commit rename the thread.[ch] files to event.[ch]. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'nhrpd')
-rw-r--r--nhrpd/netlink_arp.c2
-rw-r--r--nhrpd/nhrp_cache.c2
-rw-r--r--nhrpd/nhrp_event.c2
-rw-r--r--nhrpd/nhrp_interface.c2
-rw-r--r--nhrpd/nhrp_main.c2
-rw-r--r--nhrpd/nhrp_multicast.c2
-rw-r--r--nhrpd/nhrp_nhs.c2
-rw-r--r--nhrpd/nhrp_packet.c2
-rw-r--r--nhrpd/nhrp_peer.c2
-rw-r--r--nhrpd/nhrp_shortcut.c2
-rw-r--r--nhrpd/nhrp_vc.c2
-rw-r--r--nhrpd/vici.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/nhrpd/netlink_arp.c b/nhrpd/netlink_arp.c
index 877659b4c..552730d12 100644
--- a/nhrpd/netlink_arp.c
+++ b/nhrpd/netlink_arp.c
@@ -14,7 +14,7 @@
#include <linux/neighbour.h>
#include <linux/netfilter/nfnetlink_log.h>
-#include "thread.h"
+#include "event.h"
#include "stream.h"
#include "prefix.h"
#include "nhrpd.h"
diff --git a/nhrpd/nhrp_cache.c b/nhrpd/nhrp_cache.c
index 42c6c2fbb..ac1c8f9eb 100644
--- a/nhrpd/nhrp_cache.c
+++ b/nhrpd/nhrp_cache.c
@@ -5,7 +5,7 @@
#include "zebra.h"
#include "memory.h"
-#include "thread.h"
+#include "event.h"
#include "hash.h"
#include "nhrpd.h"
diff --git a/nhrpd/nhrp_event.c b/nhrpd/nhrp_event.c
index 9c1189083..25f5a701b 100644
--- a/nhrpd/nhrp_event.c
+++ b/nhrpd/nhrp_event.c
@@ -11,7 +11,7 @@
#include <sys/socket.h>
#include <sys/un.h>
-#include "thread.h"
+#include "event.h"
#include "zbuf.h"
#include "log.h"
#include "nhrpd.h"
diff --git a/nhrpd/nhrp_interface.c b/nhrpd/nhrp_interface.c
index d396f510e..7a0c3ba49 100644
--- a/nhrpd/nhrp_interface.c
+++ b/nhrpd/nhrp_interface.c
@@ -11,7 +11,7 @@
#include "zebra.h"
#include "linklist.h"
#include "memory.h"
-#include "thread.h"
+#include "event.h"
#include "nhrpd.h"
#include "os.h"
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 10d3c8f82..88bb1f871 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -12,7 +12,7 @@
#include "zebra.h"
#include "privs.h"
#include "getopt.h"
-#include "thread.h"
+#include "event.h"
#include "sigevent.h"
#include "lib/version.h"
#include "log.h"
diff --git a/nhrpd/nhrp_multicast.c b/nhrpd/nhrp_multicast.c
index cdd79e25f..e37dfb5d8 100644
--- a/nhrpd/nhrp_multicast.c
+++ b/nhrpd/nhrp_multicast.c
@@ -18,7 +18,7 @@
#include <sys/types.h>
#include <sys/socket.h>
-#include "thread.h"
+#include "event.h"
#include "nhrpd.h"
#include "netlink.h"
#include "znl.h"
diff --git a/nhrpd/nhrp_nhs.c b/nhrpd/nhrp_nhs.c
index 49f881df1..358d1b94c 100644
--- a/nhrpd/nhrp_nhs.c
+++ b/nhrpd/nhrp_nhs.c
@@ -6,7 +6,7 @@
#include "zebra.h"
#include "zbuf.h"
#include "memory.h"
-#include "thread.h"
+#include "event.h"
#include "nhrpd.h"
#include "nhrp_protocol.h"
diff --git a/nhrpd/nhrp_packet.c b/nhrpd/nhrp_packet.c
index ecf8aa0b1..d201eb6cc 100644
--- a/nhrpd/nhrp_packet.c
+++ b/nhrpd/nhrp_packet.c
@@ -10,7 +10,7 @@
#include <netinet/if_ether.h>
#include "nhrpd.h"
#include "zbuf.h"
-#include "thread.h"
+#include "event.h"
#include "hash.h"
#include "nhrp_protocol.h"
diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c
index 9b92cdffc..25ce59a40 100644
--- a/nhrpd/nhrp_peer.c
+++ b/nhrpd/nhrp_peer.c
@@ -11,7 +11,7 @@
#include "zebra.h"
#include "memory.h"
-#include "thread.h"
+#include "event.h"
#include "hash.h"
#include "network.h"
diff --git a/nhrpd/nhrp_shortcut.c b/nhrpd/nhrp_shortcut.c
index 90fb1d67c..e5516ba72 100644
--- a/nhrpd/nhrp_shortcut.c
+++ b/nhrpd/nhrp_shortcut.c
@@ -10,7 +10,7 @@
#include "nhrpd.h"
#include "table.h"
#include "memory.h"
-#include "thread.h"
+#include "event.h"
#include "log.h"
#include "nhrp_protocol.h"
diff --git a/nhrpd/nhrp_vc.c b/nhrpd/nhrp_vc.c
index bffb2f6e9..65e9af854 100644
--- a/nhrpd/nhrp_vc.c
+++ b/nhrpd/nhrp_vc.c
@@ -7,7 +7,7 @@
#include "memory.h"
#include "stream.h"
#include "hash.h"
-#include "thread.h"
+#include "event.h"
#include "jhash.h"
#include "nhrpd.h"
diff --git a/nhrpd/vici.c b/nhrpd/vici.c
index 1dbb4e4f5..880e0c253 100644
--- a/nhrpd/vici.c
+++ b/nhrpd/vici.c
@@ -11,7 +11,7 @@
#include <sys/socket.h>
#include <sys/un.h>
-#include "thread.h"
+#include "event.h"
#include "zbuf.h"
#include "log.h"
#include "lib_errors.h"