]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipv6cp.h
Header file reorganization and cleaning up the public API for pppd version 2.5.0...
[ppp.git] / pppd / ipv6cp.h
index 172b6eb85794d6ba99475bb2012e787148c721aa..d6e626e716a829da73ca2335578f4eb9d961fb23 100644 (file)
@@ -174,4 +174,16 @@ extern ipv6cp_options ipv6cp_hisoptions[];
 
 extern struct protent ipv6cp_protent;
 
+/*
+ * Hook for a plugin to know when IPv6 protocol has come up
+ */
+typedef void (ipv6_up_hook_fn)(void);
+extern ipv6_up_hook_fn *ipv6_up_hook;
+
+/*
+ * Hook for a plugin to know when IPv6 protocol has come down
+ */
+typedef void (ipv6_down_hook_fn)(void);
+extern ipv6_down_hook_fn *ipv6_down_hook;
+
 #endif