summaryrefslogtreecommitdiff
path: root/zebra/if_netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/if_netlink.h')
-rw-r--r--zebra/if_netlink.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/if_netlink.h b/zebra/if_netlink.h
index 65a266a519..710fd52558 100644
--- a/zebra/if_netlink.h
+++ b/zebra/if_netlink.h
@@ -23,11 +23,19 @@
#ifdef HAVE_NETLINK
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int netlink_interface_addr(struct nlmsghdr *h, ns_id_t ns_id,
int startup);
extern int netlink_link_change(struct nlmsghdr *h, ns_id_t ns_id, int startup);
extern int interface_lookup_netlink(struct zebra_ns *zns);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* HAVE_NETLINK */
#endif /* _ZEBRA_IF_NETLINK_H */