aboutsummaryrefslogtreecommitdiff
path: root/lib/rtnetlink-link.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-08-24 15:17:32 -0700
committerEthan Jackson <ethan@nicira.com>2011-09-01 17:18:52 -0700
commit0a811051ffd7f836f66ef770d7a3dcc92ec7d51a (patch)
tree0117d3fd3b6aacf893e476d561e2f0495c929ca6 /lib/rtnetlink-link.h
parent45c8d3a189843f0f45398caa420b952d5acd1f19 (diff)
netlink-notifier: Rename rtnetlink code.
This patch renames the rtnetlink module's code to "nln" for "netlink notifier". Callers are now required to pass in the netlink protocol to he newly renamed nln_create() function.
Diffstat (limited to 'lib/rtnetlink-link.h')
-rw-r--r--lib/rtnetlink-link.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rtnetlink-link.h b/lib/rtnetlink-link.h
index c41612d1..1e52a7dc 100644
--- a/lib/rtnetlink-link.h
+++ b/lib/rtnetlink-link.h
@@ -20,7 +20,7 @@
#include <stdbool.h>
struct ofpbuf;
-struct rtnetlink_notifier;
+struct nln_notifier;
/* These functions are Linux specific, so they should be used directly only by
* Linux-specific code. */
@@ -50,9 +50,9 @@ void rtnetlink_link_notify_func(const struct rtnetlink_link_change *change,
bool rtnetlink_link_parse(struct ofpbuf *buf,
struct rtnetlink_link_change *change);
-int rtnetlink_link_notifier_register(struct rtnetlink_notifier *,
+int rtnetlink_link_notifier_register(struct nln_notifier*,
rtnetlink_link_notify_func *, void *aux);
-void rtnetlink_link_notifier_unregister(struct rtnetlink_notifier *);
+void rtnetlink_link_notifier_unregister(struct nln_notifier *);
void rtnetlink_link_notifier_run(void);
void rtnetlink_link_notifier_wait(void);
#endif /* rtnetlink-link.h */